The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Was wondering if someone could tell me how i would go about setting up repar/optimize tables as a cron job for 3.5.4. I didnt want to download the database backup pro hack for 3.0 for a couple reasons - one being that it backs up ur database..... I just wanna run repair/optimize tables like once a week. Im going away for about 2 months to a third world country and i dont imagine i will have time to do my weekly repair optimize tables.....
any help would be greatly appreciated. |
#2
|
||||
|
||||
![]()
Its not really nessary to run a optmize now and then I'd be more worried about it needing a repair, however I dont believe the cron system (at least not the vB one) is going to get the job done.
If you have SSH/cron access you can setup a nightly repair on the database via mysqlcheck or myisamcheck which would get the job done better. |
#3
|
||||
|
||||
![]()
There is no technical reason you could not use the vb cron system, it's only running (a lot) of SQL commands, no different to running a select or update. I would question why you want to do this. Unless a table is broken then there is no need to run a repair on it, and there is no real need to optimise tables on a regular basis.
|
#4
|
||||
|
||||
![]()
The reason why you wouldnt want the vbcron system running repairs is.. what happens if the cron table breaks? or the usertable. the tasks are going to stop running. Thats why it'd be better to use the systems cron.
|
#5
|
||||
|
||||
![]()
im no pro at this but my board actually runs a lot faster when i repair/optimize
|
#6
|
|||
|
|||
![]() Quote:
|
#7
|
||||
|
||||
![]() Quote:
The improvement in speed on my site is drastically changed when I do a repair and optimize. I know it's not recommended, but can someone just tell me how I can do an automatic "repair and optimize database" about 4 times a day? I would also0 REALLY really appreciate it if someone could tell me how to do an auto database backup every two days of my whole database to my server that overwrites the old file. Thanks in advance professionals. |
#8
|
||||
|
||||
![]()
Unless you are mass deleting threads and attachments on a daily basis there is no real reason for an optmize to bring a large speed up.
|
#9
|
|||
|
|||
![]()
There is a mod for this that does a nightly optmization.
|
#10
|
||||
|
||||
![]()
ummmmmmmmmmm?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|