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 > Saving pdf, jpeg etc. in my database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-10, 16:05
vladimirr vladimirr is offline
Registered User
 
Join Date: Oct 2010
Location: Netherlands
Posts: 1
Question Saving pdf, jpeg etc. in my database

Hello there!

I have a question about saving some file types in my MySQL database instead of in a certain folder. I'm building a webshop, and the images that are going to be displayed are only about 20KB each. When I save them into a database table (base 64), the database record is only about 2KB.

The question(s) is (are):
  • Is it a good idea to save such small files as (for example) base 64 in my database, or is it better (performance-wise) to save them in a certain folder and load them from there?
  • At which file size will my database performance start dropping if I save images and pdf's (and more) in my database instead of a specific folder?

Thanks for the help/advice!
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