vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Nightly Database Optimizer (https://vborg.vbsupport.ru/showthread.php?t=67711)

Mickie D 07-28-2004 04:23 PM

thanks :)

installed and clicked

Gamingforce 07-28-2004 04:55 PM

1.00 -> 1.01 - July 28, 2004
  • Added sleep code that adds a pause after each database process. (Thanks KirbyDE)
To update, simply upload the new dboptimize.php script found in the zip attachment in the first post of this thread.

Gamingforce 07-28-2004 09:40 PM

Quote:

Originally Posted by SaN-DeeP
thnx for nice hack GamingForce.
but just a small query is this useful for small boards ?
lets say which have 50,000 - 60,000 posts ?

Regards,

It's useful regardless of the amount of posts your board has.

Zoints 07-28-2004 11:32 PM

What is the difference between this and the vbulletin repair/optize function that is built in (other than being automatic of course).

Thanks.

Zachery 07-28-2004 11:55 PM

Quote:

Originally Posted by thegunowner149
What is the difference between this and the vbulletin repair/optize function that is built in (other than being automatic of course).

Thanks.

I dont think there is one, at least not that i can tell.

Highlander 07-29-2004 02:23 AM

its automatic thats different and it uses the sleep command :D

Erwin 07-29-2004 03:24 PM

I'm not too sure of running an optimize table function automatically like this. :) There is a small but real risk of database corruption. Make sure you run a backup script daily as well if you're going to do this before optimizing your tables (something you should always do anyway).

Gamingforce 07-29-2004 06:49 PM

I've never heard of database corruption through the optimize function?

Erwin 07-29-2004 07:03 PM

Quote:

Originally Posted by Gamingforce
I've never heard of database corruption through the optimize function?

Neither have I - in fact, OPTIMIZE TABLE has REPAIR built-in, so if a table is corrupted this will repair it as well. However, unless you are going to switch off your forums, running OPTIMIZE on a live database runs a small risk of something wrong happening. That's all I'm saying. :)

tcs 07-30-2004 01:30 AM

Erwin is correct. The hack is good and I will run it knowing the dangers. Wouldn't take much to add a repair to it before optimize.


All times are GMT. The time now is 07:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01076 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete