If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Storing emails on database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-21-07, 22:37
rstrobel rstrobel is offline
Registered User
 
Join Date: Feb 2007
Posts: 2
Storing emails on database

As a DBA I'm helping a development team to design a new application. One of the requisites is that the emails sended by the application must be saved for 3 months and I'm doubt if is a good idea to store this emails on the database instead of on a file system but I'd like to know your opinion and experiences about that.

Tks.
Regards,
Ronald.
Reply With Quote
  #2 (permalink)  
Old 02-21-07, 23:47
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
store the emails in the database. when the database is properly tuned and the tables indexed correctly, mysql can seemlessly handle in the tens of millions of rows and more.
Reply With Quote
  #3 (permalink)  
Old 02-23-07, 21:57
rstrobel rstrobel is offline
Registered User
 
Join Date: Feb 2007
Posts: 2
Thank you for your help. How did you do that? Using varbinary or blob, myisam or innodb?

Regards,
Ronald
Reply With Quote
  #4 (permalink)  
Old 02-23-07, 22:51
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
if you need transactions then use innodb otherwise myisam is fine.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On