The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Reducing huge mysql database size?
My forum's database (mysql) is almost 6 gigs - huge in my opinion. Is anyone else's this big? Any ideas on what the optimal database size is? We have 400,000+ posts. Any ideas on how to trim this down considerablely would be greatly appreciated!
maoz |
#2
|
||||
|
||||
1. well, adjusting the badwords.php can help
2. don't allow attachments. 3. increase the minimun letter count of words to search for... after 1 and 3 you have to reindex the searchindex |
#3
|
|||
|
|||
Thanks for the speedy response Xenon! How hard would it be to go into phpmyadmin and delete all attachments over 60 days old in certain forums? I am still learning phpmyadmin and am a little leary of it still.
maoz |
#4
|
||||
|
||||
[sql]DELETE FROM attachment WHERE dateline<xxxx[/sql]
just replace the datline with the unixtimestamp of a day 60 days ago this would delete all attachments older than that date, but if you want it just in a specific forum, it would be harder, you'd have to write a script which gets the postids of those forums and so on and so on, just with phpmyadmin i think it isn't possible |
#5
|
||||
|
||||
Another small help for you: prune inactive users and delete old posts.
|
#6
|
||||
|
||||
damn, old posts and i forgot to mention my archiv hack which compresses old threads in the db
|
#7
|
||||
|
||||
Cutting down on spammers can help too. And removing any unnecessary profile fields. Disabling the calendar in the ACP. The list goes on. Disabling Private Messages is the best way IMO
Xenon - how can adjusting badwords.php help ?? - miSt |
#8
|
||||
|
||||
Mist, just edit the file, and you will see
there should be words in it, which are often on your forum, that's why it should be translated if you have a nonenglish board |
#9
|
||||
|
||||
Ahh i see now
- miSt |
#10
|
|||
|
|||
Quote:
Thanks! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|