vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Added forums via CSV file to the database, not all show in forum index. (https://vborg.vbsupport.ru/showthread.php?t=218973)

TWood 07-19-2009 10:19 PM

Added forums via CSV file to the database, not all show in forum index.
 
1 Attachment(s)
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.

Marco van Herwaarden 07-20-2009 08:56 AM

You should not add new forums directly to the database, there is more to it then adding 1 row to the forum table.

TWood 07-20-2009 12:42 PM

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

Marco van Herwaarden 07-20-2009 12:53 PM

vBulletin (3.x) will not work with 43.000 forums. On most servers ~1.500-2.000 is the maximum.

TWood 07-20-2009 01:22 PM

I'm discovering that!:D

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.

Marco van Herwaarden 07-20-2009 02:06 PM

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.

TWood 07-20-2009 02:15 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1852215)
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.

Marco van Herwaarden 07-20-2009 02:32 PM

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.

TWood 07-20-2009 03:02 PM

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

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

Marco van Herwaarden 07-21-2009 09:48 AM

It simply is not feasible to run vB3 with more then 1500-2000 forums.


All times are GMT. The time now is 09:21 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.01160 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete