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 large files in Mysql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-17-04, 07:55
digital_storm digital_storm is offline
Registered User
 
Join Date: Dec 2003
Posts: 28
storing large files in Mysql

Hello,

Im a newbie of using databases+Mysql and got a question.
On my webbpage I want to have stats on how many times my songs has been downloaded and wht they thin about it. My songs is of the format mp3.
My question is do you recommend me to store the hole file+stats or just my path to my songs+stats.
If I should store the hole mp3 file in my database how do I do that? (blob? etc)

Thanks in advance // D_S
Reply With Quote
  #2 (permalink)  
Old 05-17-04, 10:41
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
It would be best to store the mp3s on your server, and in your database just store the path to them. Much better for db performance that way.
Reply With Quote
  #3 (permalink)  
Old 05-17-04, 12:11
digital_storm digital_storm is offline
Registered User
 
Join Date: Dec 2003
Posts: 28
Ok thank you!
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