Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2013, 06:34 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Manually added a bunch of posts, cant find how to reset count on index page

I really hate asking... I should be able to find this but I haven't been able to.

I manually added a boatload of missing posts - which "counter" do I rebuild to get the post count at the bottom of the index page to reflect the correct number of posts?
Reply With Quote
  #2  
Old 12-29-2013, 09:03 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you manually add them?
Reply With Quote
  #3  
Old 12-29-2013, 10:17 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was converting from another forum software... I did not use Impex, it could not handle the size of my database... I wrote my own conversion program. Everything is there, all of the posts are there, I just need to update the count on the index page.
Reply With Quote
  #4  
Old 12-29-2013, 10:58 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want your posts to be recounted you use the Post count update tool in the maintenance section. Be sure to clear your cache in the maintenance section as well.

Are you saying you want a fake count number?
Reply With Quote
  #5  
Old 12-29-2013, 10:59 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

impex could have handled the size of your database

Anyway, you'd still likely need to follow the after the import rules.

Rebuild the thread, and forum counters.
Reply With Quote
Благодарность от:
RichieBoy67
  #6  
Old 12-29-2013, 11:03 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
impex could have handled the size of your database

Anyway, you'd still likely need to follow the after the import rules.

Rebuild the thread, and forum counters.
True, I have imported sites over 10 gigs before using Impex. It just takes a very long time and you have to be sure it doesn't get hung up by packet size settings, etc but it works fine.

Patty - You should generally update all the counters after running an import. At least I always do.
Reply With Quote
  #7  
Old 12-29-2013, 11:43 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
impex could have handled the size of your database

Anyway, you'd still likely need to follow the after the import rules.

Rebuild the thread, and forum counters.
I tried impex several times... 5 million posts, and gave up after waiting as long as 5 days just for the posts and, it wasn't even halfway thru the posts.

140,000 users took 48 hours. It flat out died so many times I just said the heck with it and wrote my own in C.

140,000 users added in 11 minutes, 5 million posts in 2 1/2 hours.

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

Quote:
Originally Posted by RichieBoy67 View Post
If you want your posts to be recounted you use the Post count update tool in the maintenance section. Be sure to clear your cache in the maintenance section as well.

Are you saying you want a fake count number?
no, I don't want to use a fake number - I have over 5 million posts. Do you know where that value is stored (in what table)?

If I can just edit that number, I won't have to wait for hours for the 140,000 threads and 200 forums to process (assuming I have to do the thread and forum counters as mentioned below)

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

Quote:
Originally Posted by RichieBoy67 View Post
If you want your posts to be recounted you use the Post count update tool in the maintenance section. Be sure to clear your cache in the maintenance section as well.

Are you saying you want a fake count number?
tried that... it updated the post counts for all members (4 hours runtime), but not that total at the bottom of the index page
Reply With Quote
  #8  
Old 12-30-2013, 12:02 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You also ran the rebuild forum counter too, right?

The import going slowly sounds like a MySQL tuning issue, more than anything else.
Reply With Quote
  #9  
Old 12-30-2013, 12:12 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

5 million posts is a lot. The only time I ever had issues with the posts importing was due to very, very large posts and threads holding things up due to the packet size which I just needed to adjust.

If you updated the thread, posts and forum counters at the very least and cleared the cache it should work.

You wrote a program to import threads, posts, forums, etc? What forum script were you importing from? 11 minutes for 5 million posts seems very fast! On some of the larger forums I imported with Impex I ended up going to sleep and just let it run but that was mostly7 for attachments.
Reply With Quote
  #10  
Old 12-30-2013, 12:21 AM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
You also ran the rebuild forum counter too, right?

The import going slowly sounds like a MySQL tuning issue, more than anything else.
I tried the forum counter first, hoping it would do the trick because it was the fastest. No go... bummer. Then did the post count that took almost 5 hours, again no go. I have not tried the thread counter yet. What happens if i try it on a live site?

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

Quote:
Originally Posted by RichieBoy67 View Post
5 million posts is a lot. The only time I ever had issues with the posts importing was due to very, very large posts and threads holding things up due to the packet size which I just needed to adjust.

If you updated the thread, posts and forum counters at the very least and cleared the cache it should work.

You wrote a program to import threads, posts, forums, etc? What forum script were you importing from? 11 minutes for 5 million posts seems very fast! On some of the larger forums I imported with Impex I ended up going to sleep and just let it run but that was mostly7 for attachments.
>You wrote a program to import threads, posts, forums, etc? What forum script were you importing from?

Forum was a very very old and heavily modified version of Invision Board (v 1.2)

Yep... wrote my own program. The only thing that remains to be converted is the PM's... have not figured out the table yet... what the heck is:
a:1:{s:2:"cc";a:1:{i:1642;s:9:"RacerX317";}}
a:1:{i:32;s:13:"bullardracing";}

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:30 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.07426 seconds
  • Memory Usage 2,265KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete