vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Database Optimisation Issue (https://vborg.vbsupport.ru/showthread.php?t=207709)

BSMedia 03-09-2009 06:13 PM

No problem!

You may have to do it two to three times.

Try not to use the vBulletin repair tool, not only can it repair tables, but it can also break your database, its usually always best to SSH if available :D

Good luck

veenuisthebest 03-09-2009 09:13 PM

Got the database up onto the new server. Could see the forum running as well.

Then when I ran the command "myisamchk -r *.MYI", all tables got corrupted.

Now, when I run "mysqlcheck -r -u USERNAME -p DATABASENAME", it shows the following for ALL tables.

Error : Incorrect information in file: './database/table.frm'
error : Corrupt

How did .frm got corrupt for all tables??

--------------- Added [DATE]1236638955[/DATE] at [TIME]1236638955[/TIME] ---------------

ALRIGHT..

So, I tried everything again. Reuploaded the backup, ran a mysqlcheck, then a myisamchk, and all went FINE.

mysqlcheck -r -u USERNAME -p DATABASENAME

myisamchk -r /path/to/database/dir/*.MYI

mysqlcheck -r -o USERNAME -p DATABASENAME


I can now see all tables being optimised quickly! and all show "Table is already upto date" after running optimization a couple of times. I also found 5 tables named something like aggregrate_temp_12515 etc. I deleted all 5.

Looking great uptill now.

Thanks

--------------- Added [DATE]1236661081[/DATE] at [TIME]1236661081[/TIME] ---------------

I finally took the backup of the FINE TUNED database and got it up. Everything working as expected. See I told you all it was a database issue :D


All times are GMT. The time now is 01:59 PM.

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.00902 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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