Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2009, 10:19 PM
TWood's Avatar
TWood TWood is offline
 
Join Date: Mar 2009
Location: Washington DC
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Added forums via CSV file to the database, not all show in forum index.

I used phpMyAdmin and a CSV file to add a bunch of forums in bulk to the 'forum' table in the MySQL database. I discovered that to get them to show in the forum list on the front page of the website, I had to go to Admin Control Panel>Maintenance>Update Counters>Rebuild Forum Information.

That worked until I hit the point in the list where the forum ID is number 198. After that, none of the newly created forums will show up in any listing, including Forum Manager in the ACP, even though they are there in the forum database table.

Also, I've deleted a couple of forums from the list in the database, but those forums DO show up in the forum list page.

http://www.mazofo.com/forum/ 797591 and 787592 shouldn't be there.

So obviously there's a cache somewhere that needs updating. Any ideas welcome.

Thanks,

TW

The first image shows the place in the database table where the new forums stop appearing in the forum index in vBulletin. The second image is the last rows of the table. The third image is of the far right columns at the place where the forums stop appearing in the vBulletin forum index.
Attached Images
File Type: png database2.PNG (47.2 KB, 0 views)
File Type: png database3.PNG (37.8 KB, 0 views)
File Type: png database4.PNG (34.0 KB, 0 views)
Reply With Quote
  #2  
Old 07-20-2009, 08:56 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should not add new forums directly to the database, there is more to it then adding 1 row to the forum table.
Reply With Quote
  #3  
Old 07-20-2009, 12:42 PM
TWood's Avatar
TWood TWood is offline
 
Join Date: Mar 2009
Location: Washington DC
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't add them one at a time. I have to add 43,000 eventually, one for each zipcode, so they have to be done in the database. If 'there's more to it than adding one row to the forum table' then how do I find out what that 'more to it' is?

Thanks,

TW
Reply With Quote
  #4  
Old 07-20-2009, 12:53 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin (3.x) will not work with 43.000 forums. On most servers ~1.500-2.000 is the maximum.
Reply With Quote
  #5  
Old 07-20-2009, 01:22 PM
TWood's Avatar
TWood TWood is offline
 
Join Date: Mar 2009
Location: Washington DC
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm discovering that!

But I'll still need to add them through the database, I'll just break it down into separate installations.

I was able to add several hundred using this technique, then 'something' broke. I'm trying to figure out what broke.
Reply With Quote
  #6  
Old 07-20-2009, 02:06 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely the datastore cache table could not hold all the data.

Quote:
I'll just break it down into separate installations.
Please be aware that this will require multiple licenses.
Reply With Quote
  #7  
Old 07-20-2009, 02:15 PM
TWood's Avatar
TWood TWood is offline
 
Join Date: Mar 2009
Location: Washington DC
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
Most likely the datastore cache table could not hold all the data.

Please be aware that this will require multiple licenses.
Okay, now we're getting somewhere. If I add them in smaller blocks, would that help the datastore table?

Yes, I know that this will require multiple licenses. I'm setting up a 'proof of concept' site for now. I just need to get the technical issues resolved.
Reply With Quote
  #8  
Old 07-20-2009, 02:32 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No adding them in smaller blocks would not help, as all the forums (and their description etc..) are serialized and stored in a single row in the datastore table.
Reply With Quote
  #9  
Old 07-20-2009, 03:02 PM
TWood's Avatar
TWood TWood is offline
 
Join Date: Mar 2009
Location: Washington DC
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Come on Marco, we're in the Yes We Can! era now.

How do I make this work?

Ironic that phpBB handled this problem very elegantly:

http://zipcode.forumity.com/forum.html

And that's on a free shared forum server.

TW
Reply With Quote
  #10  
Old 07-21-2009, 09:48 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It simply is not feasible to run vB3 with more then 1500-2000 forums.
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 01:34 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.04255 seconds
  • Memory Usage 2,272KB
  • Queries Executed 12 (?)
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
  • (2)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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete