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 01-12-2005, 03:00 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Interesting forumcache from the datastore slowing board down

vb3's forumcache in the datastore brings the whole forum to a crawl with enough forums. load times without the forumcache being unserialized are .04-.06 with it being serialized my load times jump to .45-.8

Anybody have any ideas on how to improve this? This is horrible. My site has a great number of forums. The board is fairly hacked up right now but none of them are the cuase I have spent the last 6 hours tearing the board apart and tracked it down for a fact to be the forumcache in the datastore that is used for displaying all the forums. It slows down every page that is tied into the vbulletin becuase of the case switch's used in init.php for unserializing everything. There is just that much info that the cache is trying to parse out. not all these forums are listed on one page. I have some code that I made a while back that allows multiple forum listing pages. This code is highly optimized and not the problem. I know none of my code changes are the problem becuase I went back to stock files about 3 hours ago and still had the exact same loads. I am very experienced with vbulletin and php/mysql.

If anybody has any ideas on a way to speed the forums back up please let me know.

Please dont say remove some forums. That is not helpful. If that was what I wanted to do it would have been the first thing I did to fix the problem.

Just checked the forum cache size and it is almost 455kb big. Thats 455kb of stuff that vbulletin has to wait till its unserialized each time even on pages that dont call forums. Such as the faq.
Reply With Quote
  #2  
Old 01-12-2005, 07:03 PM
rake's Avatar
rake rake is offline
 
Join Date: Nov 2002
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has been discussed before, but i don't know if a solution has been found. I remember reading several threads about this on vb.com. The forumcache is number of forums * number of usergroups large, and where there are many forums, it can get quite large.I've seen sites with a forumcache as large as a couple of MB.

You should search, then ask on vb.com.
Reply With Quote
  #3  
Old 01-12-2005, 07:21 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm ... interesting point.
It might also affect other big caches too.

Brainstorming
  • remove unnecessary columns from table forum (left over from hacks that are no longer being unsed, etc.)
  • shorten variable names for hacks that add colums to table forum
  • optimize build_datastore()

Gonna take a look into this.
Reply With Quote
  #4  
Old 01-12-2005, 10:19 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm ...
http://bugs.php.net/bug.php?id=31332
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 02:38 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.03896 seconds
  • Memory Usage 2,190KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete