View Full Version : storing attachments in the db-pros and cons
PhilipAlv
06-28-2009, 09:34 PM
hello guys...what is the good and bad about storing attachments in the db ?
PhilipAlv
07-20-2009, 06:21 PM
anyone....?
James Birkett
07-20-2009, 06:37 PM
I can't remember entirely but storing it in the database reduces server load doesn't it?
Lynne
07-20-2009, 06:41 PM
There is a post over on vb.com about the pros and cons. In fact, it may even be in the manual (linked in my sig).
James Birkett
07-20-2009, 06:44 PM
Storing in Database:
Pro
Backing up your database, also backs up your attachments
Does not consume any of your file system storage limits (unless mysql storage counts)
Con
Can increase server load on large forums
Storing in File system:
Pro
Better performance for large forums
Easier to backup your database
Con
Does not work if SAFE MODE is enabled on your server.
Need to backup attachments separately from database
Consumes space on your file system
Looks like I got them mixed up.
Basically:
If you want speed, back up on file system.
If you want space, back up on database.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.