vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   266 Queries in CMS? (https://vborg.vbsupport.ru/showthread.php?t=259326)

strudinox 02-23-2011 05:05 PM

266 Queries in CMS?
 
I installed the page generation stats mod found here:

https://vborg.vbsupport.ru/showthrea...ght=generation

According to it, the CMS pages are using 266 DB queries! The forum only uses 18 which leads me to think something is wrong. Most widgets I'm using are custom HTML that have an ad or picture. The only other one I'm using, besides the main content, is the Categories widget.

Any ideas?

Reeve of shinra 02-23-2011 05:10 PM

Its a known issue. Apparently the dev's feel that hundreds of queries are okay.

Lynne 02-23-2011 05:38 PM

If you go into debug mode on your test site, you can click to see exactly what queries are being run.

strudinox 02-23-2011 08:53 PM

<noob question>

How might one enable debug mode? :rolleyes:

</noob question>

ForumsMods 02-23-2011 09:10 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=82835" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=82835</a>

strudinox 02-23-2011 11:06 PM

Ok, got it enabled but I have no clue what to look for and what is and isn't normal.

strudinox 02-25-2011 02:38 PM

**Bump

Nobody knows? =\

Lynne 02-25-2011 04:12 PM

Knows what? If you want to look at the queries, you click the little (?) next to the number of queries. I don't know what to tell you to look for. There are a lot of queries the first time you hit a CMS page. You may want to read a few threads about this over on vbulletin.com


All times are GMT. The time now is 07:52 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.01067 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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