Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Image storage - database ot file system? Rate Topic   - - - - -

 
  • ianchov
  • Member
  • Members
  • Join Date: 04-May 06
  • 36 posts

Posted 26 May 2006 - 06:15 PM #1

Which is best for performance?
Also what are the advantage of one over another?

 
  • snorocket
  • Forum Janitor
  • Members
  • Join Date: 15-Mar 06
  • 2519 posts

Posted 26 May 2006 - 06:46 PM #2

The file system is much better, the database storage has to query the database for every image for every page load. If your using the file system it makes it much easier to backup your images.
SNOROCKET.COM, Now Accepting PRE-ORDERS:
Customer Service (Helpdesk) Addon for CS-Cart v4.3.1
Quote and Invoicing Addon for CS-Cart v4.3.1

 
  • smoked1
  • Senior Member
  • Members
  • Join Date: 19-May 06
  • 178 posts

Posted 26 May 2006 - 06:53 PM #3

Also, storing images in the db causes the database to get real big real fast.

 
  • ianchov
  • Member
  • Members
  • Join Date: 04-May 06
  • 36 posts

Posted 26 May 2006 - 07:44 PM #4

Thanks guys.

I thought the same...but i wanted to be sure.

 
  • scavern
  • Junior Member
  • Members
  • Join Date: 25-May 06
  • 7 posts

Posted 27 May 2006 - 01:34 PM #5

I just moved mine to file now. I think the database will become bigger much quicker with images.