vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   pruning efficiently (https://vborg.vbsupport.ru/showthread.php?t=277805)

weinstoc 01-31-2012 01:47 AM

pruning efficiently
 
We have a large forum and want to prune it back to about 30 days worth of posts. That means deleting over 1 million threads and as best I can tell the thread manager is able to do about 800 an hour. Does anyone have a command line script to do this, perhaps more efficiently? Or other suggestions how to get this done.

The motivation for this is to make the upgrade to 4.1.10 easier. In a test installation of the upgraded forums, rebuilding the threads takes over a day ... and that is running from the command line.

Any suggestions will be greatly appreciated.

Thanks,

Chuck

Max Taxable 01-31-2012 01:53 AM

Well, first I would yell, STAY WITH VERSION THREE and AVOID 4 LIKE THE PLAGUE!

Second I would caution against deleting anything, affecting users post count, reputation, and etc. Unintended consequences like, search engines getting alot of 404 errors, etc.

You sure you really want to delete a million threads/posts?

weinstoc 01-31-2012 02:10 AM

I'm interested as to why you would not change to version 4. We are worried about version 3 being end-of-life and need continued support.

We would not be deleting the posts actually, but leaving them up on another vBulletin installation with appropriate linking.

Max Taxable 01-31-2012 02:17 AM

Quote:

Originally Posted by weinstoc (Post 2294441)
I'm interested as to why you would not change to version 4. We are worried about version 3 being end-of-life and need continued support.

We would not be deleting the posts actually, but leaving them up on another vBulletin installation with appropriate linking.

I've never found one compelling reason to move to vB4. It's clunky, massive and ugly. It's like Windows Vista was, trying to be something it's not. In this case, trying to be web 2.0-ish.

It was rushed out and was and is still a security problem. It's getting hacked daily, judging by all the threads here about it.

What do you need support for? Most everything ever needed, you can do or find a way to do. It's like a older car - it's still going to look and run just fine if you take care of it.

Exact reason they are sticking with vB3 here - there's simply no compelling reason for them to upgrade.

If it ain't broke don't fix it.


All times are GMT. The time now is 01:00 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.01914 seconds
  • Memory Usage 1,718KB
  • 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
  • (4)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