The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
freddie's Repair & Optimize Database (vB integration) Details »» | ||||||||||||||||||||||||||||
freddie's Repair & Optimize Database (vB integration)
Developer Last Online: Nov 2023
As we all know, there is a great tool included in the /extras folder, called [high]repair.php[/high].
I think not alot of people use it, because probably they don't know the gold mine hidden on it, related to tables optimisation. freddie's script will repair your database, but ALSO will optimize the tables. So what is that means? It will remove all the empty spaces that clutter the database. The result? A smaller database size. I ran the script on my localhost. At the beggining my database was 1.63MB. After I completed the repair&optimize process, my database was shrinked to 0.82MB!! That's almost half of the original size!! So I decided to integrate this tool directly into my admin CP. NOTE: The script is made by freddie, I only adapt it to the VB security and made it look like part of your CP. Also, my goal was to be able to optimize easy my database (with one click), not to repair it. You can use this script in combination with another hack, also made freddie: Admin Quick Stats [high]INSTALL PROCEDURE[/high] In /admin/index.php, find: Code:
makenavoption("vBulletin Options","options.php?t=0","<br>"); Code:
makenavoption("Repair & Optimize Data","repair.php?action=start","<br>"); [high]UPDATE[/high] Quoted from freddie's post: Quote:
Show Your Support
|
Comments |
#12
|
||||
|
||||
hey, I might be stupid (cuz somethings I run stuff without backing up files) but when it something that "so'pose to fix" something, I aways make a back up
|
#13
|
||||
|
||||
hey, it works great, no problems found
|
#14
|
||||
|
||||
im sorry, but I ran this script when I had an error given to me from phpmyadmin calling my post table corrupt. after running this script it fixed my post table, but left 8 other tables corrupt. I had to then manually fix them. my experience.
|
#15
|
||||
|
||||
@Kaelon: Try this:
Login PhpMyAdmin and use this command: REPAIR TABLE post; Before using it, login Admin CP (if you still can) and disable your board. You can also try to run repair.php again, but this time after you disabled your board. Hope it fixes your problem. And if does BACKUP immediately.. @Nakkid: It's not a good idea to repair your database, when someone has access to it. It can cause corruptions. I suggest turning the board off from AdminCP, BEFORE applying any repair (or any direct action) process. @All: Your database is everything for your board and probably for your site. Dont ever think about to touch it, BEFORE backing it up! Regards, Logician |
#16
|
||||
|
||||
well...there was no one on my board at the time besides me, so I just ran it without closeing my board
|
#17
|
||||
|
||||
it's all added into the start info.. thanks logician. look at the first screenshot to see the difference (refresh).
|
#18
|
||||
|
||||
ok, I have multi-admins on my board and they like to snop around some, so how can I protect this from being open up and only allow's only userid 1 (me) to access it (kind of how the admin log works that you set in the config file)...any ideas how to do that??
|
#19
|
|||
|
|||
I am not sure you are allowed to distribute original vBulletin code?
|
#20
|
||||
|
||||
well...not like that from the config file, just a little something that checks to see if it's usernumber 1 and if it is to conturn on like nothing but if it's a different user the to show them a message saying they don't have access to it (something to put into that repair.php file that nakkid posted)
|
#21
|
||||
|
||||
remember the note: not supported by Jelsoft.
this is a hack made by freddie. honestly, that's why i post it. if i'm wrong, firefly will correct this in no time... i'm sure about that. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|