vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   How many queries do you have on the following pages? (https://vborg.vbsupport.ru/showthread.php?t=44084)

N9ne 09-29-2002 12:25 PM

How many queries do you have on the following pages?
 
I just want to know in general of how how many queries I have compares to others!

I want to know your query count for the following files:
showthread.php
forumdisplay.php
index.php
editpost.php
newreply.php
newthread.php

Thanks ;)

Chris M 09-29-2002 12:30 PM

showthread.php - 30
forumdisplay.php - 22
index.php - 35
editpost.php - 23
newreply.php - 22
newthread.php - 13

Satan

N9ne 09-29-2002 01:21 PM

For the amount of hacks you install, that doesn't look too bad, apart from index.php :o

AsedaH 09-29-2002 01:26 PM

whoa...on hellsatan's board, i like the way that box pops up to unregister members....nice

N9ne 09-29-2002 01:33 PM

Hehe I hate that, it's annoying :p

Chris M 09-29-2002 02:38 PM

Lol...@AsedaH -

I think it is one of TECK's hacks:)

Satan

TECK 09-29-2002 03:05 PM

hmm and i complain that i have 18queries on forumdisplay and showthread....

N9ne 09-29-2002 03:12 PM

Only 18 on forumdisplay and showthread? :-O how did you manage that?!

Chris M 09-29-2002 03:22 PM

He probably didnt install a large amount of hacks, and/or optimised the code he uses:)

Satan

TECK 09-29-2002 03:27 PM

chris, i have more then you can imagine installed :)

Chris M 09-29-2002 03:55 PM

Ok...

I'll go with my second idea;)

Lol...

Satan

N9ne 09-29-2002 06:33 PM

He obviously optimized his code ;)

But he has so many hacks installed, and still manages to have less queries than a stock vB...that's amazing...

Brad 09-29-2002 06:55 PM

showthread.php - 38
forumdisplay.php - 32
index.php - 28
editpost.php - 27
newreply.php - 22
newthread.php -21

i need to optimize my code a bit, showthread and forumdisplay are way higher then i want them, o and i took my index.php down from 35 this morning :)

Diva 09-29-2002 06:55 PM

so, how does one see how many queries they have? Not that I don't know how... Some guy asked me to ask for him. Yeah, that's it. :rolleyes:

Chris M 09-29-2002 07:18 PM

I presume everyone who answered uses vBmicrostats...

Satan

Diva 09-29-2002 07:28 PM

Darn. Shunned again... :disappointed:

Chris M 09-29-2002 07:52 PM

Lol...

Satan

TECK 09-29-2002 09:00 PM

Quote:

Originally posted by Tha Rock
He obviously optimized his code ;)

But he has so many hacks installed, and still manages to have less queries than a stock vB...that's amazing...

actually i call optimizing the code as hacks... :)

SiXXGuNNZ 09-29-2002 11:15 PM

showthread.php 27
forumdisplay.php 23
index.php 29
editpost.php 24
newreply.php 21
newthread.php 14

Brad 09-29-2002 11:15 PM

TECK, do you have any points on how to optimize the default code?, ive already tied all my pm querys into one and always add my new templates to the correct files, however my querys are way higher then i would like them to be.

Erwin 09-30-2002 10:42 AM

Logged in (minus 1 or 2 for logged out):

showthread.php - 21
forumdisplay.php - 22
index.php - 26
editpost.php - 23
newreply.php - 22
newthread.php - 13

For those who have seen my site, it's not too bad considering that my forum has over 150 hacks and is quite modified. TECK would know... :)

N9ne 09-30-2002 06:20 PM

I took out how many unread PMs there are, and the inbox total, I would like these to be shown but that adds two queries, how can I optimize that?

kennethj 10-01-2002 10:26 AM

Quote:

Originally posted by Tha Rock
I just want to know in general of how how many queries I have compares to others!Thanks ;)

showthread.php - 21
forumdisplay.php - 19
index.php - 18
editpost.php - 21
newreply.php - 19
newthread.php - 11

a few hacks but not many... no avatar, post counter direct link, yesterday today, blink pm on message, quick reply box, microstats - no template -

not sure if thet add any, but don't care - as long as the board looks and runs trouble free....

site about fiished, coupple of days...

Shades of

Ken

nsr81 10-01-2002 11:33 AM

showthread.php - 19
forumdisplay.php - 19
index.php - 18
editpost.php - 21
newreply.php - 19
newthread.php - 11

Only 2 hacks, or was it 3 :D

Velocd 10-01-2002 12:55 PM

I have three styles, two of which generate about the same amount of queries, and one which is my "lite browser" style which generates less queries because It has less hacks installed.

1 & 2 style:

showthread.php - 35
forumdisplay.php - 16
index.php - 23
editpost.php - 29
newreply.php - 25
newthread.php - 19

3rd:
index.php - 21
forumdisplay.php - 15
showthread.php - 34 <-- I don't get this page..
newthread.php - 19
newreply.php - 25
editpost.php - 28

Just about all my pages generate under .25 seconds as well usually (for me at least).

My biggest issue is that showthread.php, I can't seem to figure out where the queries are coming from (when trying to simplify it)

Brad 10-01-2002 01:42 PM

Velocd: trun on debug mode and look at the queries from there :)

Velocd 10-01-2002 04:10 PM

Just curious, but why? I haven't messed with debug mode too much..

Chris M 10-01-2002 06:07 PM

I'm not sure what the debug mode does to your board:confused:

Satan

Erwin 10-01-2002 09:07 PM

Debug allows you to use the query and explain variables, so you can look at db queries in detail to debug errors. When you have debug on though, your site is susceptible to hacking and is a security risk.


All times are GMT. The time now is 02:41 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.01235 seconds
  • Memory Usage 1,763KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (29)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