vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Fastest Way to Prune? (https://vborg.vbsupport.ru/showthread.php?t=191434)

Heath 09-20-2008 07:54 PM

Fastest Way to Prune?
 
I have a extremely large forum, the load time for forums and posts are extremely long, even with my rather robust server. Currently our database is around 11GB. Due to the large amount of posts, when attempting to load any forum or post, the time has drastically descreased. I am currently trying to prune around 4million posts. How ever, even with my rather robust server, the pruning time is dire slow. It has taken me about 6 days to delete 100,000 posts. At this rate I won't be be done for years.

Is there any way to prune at a faster rate? Possibly setting limits so only a certain amount of posts are pruned? Currently when I run it, it attempts to prune 2.8 million posts. Perhaps that is why? I dunno, either way. I need to find a fast way to prune this quickly?

Videx 09-21-2008 12:54 AM

Sorry, no answer for you, but just another gripe that we still have no way to offload when pruning. We need an option other than delete.

But I suspect some will tell you that old posts in the db isn't what's slowing you down. People only see one screen's worth when they browse; it's not like they have to retrieve all 10,000 posts that went prior.

Heath 09-22-2008 07:41 PM

I've heard that the size of the db isn't what is slowing every thing down, but my stats show otherwise.

When my forums don't have all the posts to go through, it loads quickly, when it has the 11gb db, the load time is minutes. If I put it completely online for all to see, it crashes the server every time. There are normally around 200-400 people on the forums. How ever, now, even when there is only 30 the forums load time drops by minutes.

Lynne 09-22-2008 10:55 PM

Are you trying to prune using the Admin CP > Threads & Posts > Prune? Can you change the criteria in there to prune less than all the posts you want to prune. For instance, if you want to prune all posts older than 3 years old, start by pruning the ones older than 4 years old (or something like that), then 3.9 years old, then 3.8 years old, etc.

AuroraStorm 10-11-2008 04:46 PM

Question: Is there a way to prune threads without losing the member's post count?

Abid 10-11-2008 04:51 PM

Quote:

Originally Posted by AuroraStorm (Post 1642797)
Question: Is there a way to prune threads without losing the member's post count?

Once you prune it the members post count from before the posts and threads were pruned will still be viewable...but if you update the post count for members via admin cp it will become for how ever much you lost when doing the prune.

So if you had 5000 posts and it got pruned it will still be viewable.

Once you update the post count via admin cp then it will say 0


All times are GMT. The time now is 11:53 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.00983 seconds
  • Memory Usage 1,719KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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