The Arcive of vBulletin Modifications Site. |
|
Attachments Details »»
|
|||||||||||||||||||||||||
How do large boards handle attachments? Right now I have about 7GB of attachments in my file system. I was just curious how others deal with this issue. Especially if you have more than one web server...
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
We have about 1.5 GB in the DB, but i do get the feeling, that we should change that.....
during the normal process that's not a problem but during upgrades that table is most of the time responsible for the timeouts |
|
#3
|
||||
|
||||
|
I have attachments on a separate server with some minor hacks to the attachment php files and templates.
|
|
#4
|
||||
|
||||
|
Anyone with more than a few hundred MB of attachements should move them out of the DB and into the file system. Personally I would always use the file system anyway, I don't think attachments belong in the database (the only time it's useful to have them in the DB is when moving server)
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
<a href="http://mysqldump.azundris.com/archives/36-Serving-Images-From-A-Database.html" target="_blank">http://mysqldump.azundris.com/archiv...-Database.html</a>
This is a very good read for anyone that would like more "exact" information on why Files stored in Database for a busy site is not a good idea; as well as a compromise. Keep the master storage in the Database, while providing a local cache in the file system. |
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
well if the forum powered it all (on the backend) it wouldnt be a violation it still would be 1 copy (just not in the directory structure they supplied)
|
![]() |
|
|