vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Huge database, agonizing speed (https://vborg.vbsupport.ru/showthread.php?t=215589)

t3nt3tion 06-07-2009 09:57 PM

Huge database, agonizing speed
 
I have a huge database, over 10 GB, and when I try to delete threads, it takes about 20 hours to delete 70 threads ... I`m doing some cleanup due to adsense being nasty about no-porn-on-threads rule, and I`m doing some mass deletions.
I was thinking of converting the post and postindex tables to innodb, to benefit on the row level locking feature ... still I`d like to know if anyone has had these issues and what solutions you used.

snakes1100 06-07-2009 10:11 PM

I wouldn't use InnoDB on the post tables.

If its taking you 20 hrs to delete 70 threads, i think you have other issues, lack of hardware to support your DB correctly or issues in the DB itself (bad indexes etc)

Im assuming the link in your sig is actually your site, couldnt tell what your exact stats were.

Paul M 06-07-2009 10:15 PM

We dont use the postindex table, we switched to mysql search.

t3nt3tion 06-07-2009 10:22 PM

Yes, the site is from my signature. I`m still on 3.7.4 since I have a custom mod which I don`t have time to port to 3.8.2.
@snakes1100 : I doubt it`s hardware, as I have 0 usage when the site works normally, and when I do a thread delete, loads jump to 7-10.
I did alot of mysql optimizations and tweaking to match my server configuration, and get the most out of it.

Stats :
Threads: 1,033,025, Posts: 6,438,233

Seven Skins 06-07-2009 11:01 PM

Some of your posts have dates in future: 02-09-2015
e.g. http://www.varioustopics.com/uk/1035...real-deal.html

.

t3nt3tion 06-08-2009 11:49 AM

I know, something with the importer. That`s not my pressing issue at the moment :)

t3nt3tion 06-10-2009 03:48 PM

Well, I converted my post, thread and word tables to inno, but found out I have to create new tables, set it to inno, copy the data over, and only then switch to those tables, else it won`t take inno right.


All times are GMT. The time now is 08:23 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.00947 seconds
  • Memory Usage 1,720KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete