vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How many queries does your index page generate? (https://vborg.vbsupport.ru/showthread.php?t=51145)

dethfire 04-03-2003 05:11 PM

How many queries does your index page generate?
 
I have 23 queries with a few small hacks installed.
(76.00% PHP - 24.00% MySQL)

corsacrazy 04-03-2003 06:43 PM

how do i find out WITHOUT INSTALLIN TECKS HACK b 4 u suggest that

Tigga 04-03-2003 07:10 PM

19 (usually) with quite a few statistic hacks installed. I have it set so the statistics are only updated every 10 minutes though so that saves about 9 queries most of the time. ;)

sabret00the 04-03-2003 07:45 PM

:eek: 34 of em

dethfire 04-03-2003 08:12 PM

Tigga, that is a great idea. Is it difficult to do?

Tigga 04-03-2003 09:32 PM

It's not too difficult... The main reason I did it was because it was taking too long for my forum index page to load (ok, it was only taking 0.8 seconds or so, but that's still too long for me :p). Some of the queries took quite a while, so changed it to update a new table every 10 minutes, and then it simply pulls the stats from that table. It wasn't too hard to do, so I'll write up a quick install file and release it incase anyone else would like something like that. Check the Full Releases forum in about 15 minutes or so. ;)

filburt1 04-03-2003 10:07 PM

Mine: stock vB + around 8

Xenon 04-03-2003 10:26 PM

@Tigga: i did really the same here on vb.org :)

but you can't release it as a hack, because it's special to the hacks you alread have installed.

Tigga 04-03-2003 11:16 PM

Xenon - That, along with your "Optimizing Forumhome" has been a lifesaver to my server I'm sure. :)

I'm not sure why you say I couldn't release it though... I went ahead and put it in the Full Releases forum and just included the stats that I have on my page as of right now, and noted that if anyone had any stats they would like added to the "cache" to let me know. There's not anything wrong with that is there?
I'll probably take it a step further a little later and set it where each statistic can be turned on or off in the Admin CP when I have a little more time... I just figured I'd release it as is for now since dethfire asked about it. :)

Xenon 04-03-2003 11:19 PM

yeah i looked at your hack, nice way, and you can post it of course ;)
i just missunderstood something here ;)

Link14716 04-04-2003 12:14 AM

Page generated in 0.16103995 seconds (61.23% PHP - 38.77% MySQL) with 22 queries.

N!ck 04-04-2003 01:03 AM

Quote:

Page generated in 0.28717601 seconds (61.86% PHP - 38.14% MySQL) with 31 queries.
Keep in mind, I'm running vBindex with some additional features. The only optimization I've done so far is combining the queries for the total thread/post counts and the new thread/post counts. I may do more someday. I'm finding it takes some ingenuity, though, now that I've been trying myself.

neocorteqz 04-17-2003 01:12 AM

Page generated in 1.29580605 seconds (9.70% PHP - 90.30% MySQL) with 30 queries.

is it supposed to be using that percentagfe of mysql?

Gary King 04-17-2003 01:57 AM

Quote:

Page generated in 0.82437599 seconds (35.21% PHP - 64.79% MySQL) with 20 queries.

Erwin 04-17-2003 01:59 AM

Fairly hacked index page, but well optimized.

Page generated in 3.65948606 seconds (26.53% PHP - 73.47% MySQL) with 22 queries.

Xenon 04-17-2003 09:35 AM

Quote:

Today at 03:12 User_001 said this in Post #13
Page generated in 1.29580605 seconds (9.70% PHP - 90.30% MySQL) with 30 queries.

is it supposed to be using that percentagfe of mysql?


normally on a good index.php it's 50:50
30 queries are a lot i think, you should try my forumhome optimization hack :)

The_Wanderer 04-17-2003 11:29 PM

Page generated in 0.36133397 seconds (31.76% PHP - 68.24% MySQL) with 37 queries.

... i have way too many. I really should sort out my forumhome XD

LeonHartHVA 09-24-2003 07:32 AM

forumhome:
=========
Page generated in 0.11878395 seconds (86.84% PHP - 13.16% MySQL) with 16 queries.

insanctus 09-24-2003 07:52 AM

Page generated in 0.11697602 seconds (79.50% PHP - 20.50% MySQL) with 22 queries.
[Debug Mode OFF] [PHP v4.3.3] [GZIP disabled] [Server Load: 0.01 » 0.01 : 0.01]

Erwin 09-24-2003 08:59 AM

At vB.org running vB3:

Page generated in 0.39780 seconds with 11 queries [Server Loads: 0.53 » 0.50 : 0.52]

Xenon 09-24-2003 05:30 PM

and that value is just for Staffmembers ;)

Dean C 09-24-2003 06:26 PM

I feel so special ;) - notice the time though - my index.php on vb2 loads far faster with 21 queries :)

Hostc 09-24-2003 06:30 PM

Well,

My localhost has

About 200+ Queries just on frontpage

SVTBlackLight01 09-25-2003 10:19 AM

Page generated in 0.17895305 seconds (79.95% PHP - 20.05% MySQL) with 26 queries


All times are GMT. The time now is 12:08 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.01173 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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