vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   30k+ reply threads, use more processing power? (https://vborg.vbsupport.ru/showthread.php?t=160452)

azn_romeo_4u 10-17-2007 03:50 PM

30k+ reply threads, use more processing power?
 
Do they? I notice when I go to one of my 30k post threads, going all the way to the last page takes like 3 times as long for the page to load.

Is there anywhere to speed up the loading time?

azn_romeo_4u 10-18-2007 05:56 PM

bump...also my users are reporting that, when they go the last page of these threads...for example page 2200, the pagination states that there are more pages. Why is that? When go to those "phantom" pages, it just redirects them to the page they are on.

I'm using the lastest version of vb btw.

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

bump no one eh?

azn_romeo_4u 11-07-2007 07:09 PM

No one knows the answer?

Peter85 11-07-2007 07:59 PM

Quote:

Originally Posted by azn_romeo_4u (Post 1363274)
bump...also my users are reporting that, when they go the last page of these threads...for example page 2200, the pagination states that there are more pages. Why is that? When go to those "phantom" pages, it just redirects them to the page they are on.

I'm using the lastest version of vb btw.

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

bump no one eh?

Im having that issue as well on my board. For me its because ive put some users on the global ignore list. (Meaning that their posts doesnt show up). However, vB doesnt (yet? ) take the hidden posts into account when calculating the pagination.
The fix for me was quite easy: Delete all posts from users on global ignore. As the posts doesnt show up anyway no one will miss them.

Edit: And a guess on your initial question: Yes, I THINK Mysql has to search through all posts up to the current ones to be able to display them.
I try to lock threads before they grow to that size and then create a new thread called "part 2" where the discussion can continue..

Adrian Schneider 11-07-2007 08:05 PM

It's a known "limitation" for most big boards. Many end up hacking showthread.php a bit to avoid it, because basically what happens is it has to count the number of posts in that thread every time when handling the pagination.

Some sites split their threads after 1000 or so replies, just for efficiency sake. If this is too much of a hassle, then you'll have to dig around for some of the optimization threads here. I remember a few detailed ones, but you're on your own finding them. Maybe someone else bookmarked them. Should be on vb.com, as well.

azn_romeo_4u 11-07-2007 09:22 PM

Awesome thank you for the advice. I will look into this.

Peter, I did your trick, and it worked flawlessly.


All times are GMT. The time now is 11:21 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.01630 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
  • (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