The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Finding out queries
Okay so I don't understand all this tech stuff ;p
I was just wondering, how do I find out how many server queries my forum is running and whats the ideal/maximum amount it should be? Thanks in advance for any help |
#2
|
||||
|
||||
you need to turn on debug mode. After doing so, you'll see a message in the forum telling how many queries are being run, and the option to run explain on them which will give you info on how well they are optimized.
|
#3
|
|||
|
|||
How do I turn debug mode on? :S
|
#4
|
|||
|
|||
Quote:
or you can add it at the very bottom of the config.php file. |
#5
|
|||
|
|||
Oh I think I'll give it a miss. I don't like changing the code alot like that, last time I did I broke my forum for 3 days. Hehe.
|
#6
|
||||
|
||||
You can also turn it on just for your ip so no-one sees it but you like follows:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|