The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ack! Tons of queries
I just went to my vbportal home page and it's showing 63 queries! What can be causing this?
http://www.sybermoms.com Also, the pages inside my board show between 20 and 30 queries. What can I do to determine what is causing these queries and what I can change? Thank you! |
#2
|
|||
|
|||
debug mode will tell you where your queries are coming from.
|
#3
|
||||
|
||||
It's normal when you install PHP Portals...
|
#4
|
||||
|
||||
Standard vBPortal home page has 53 Queries on it. There dev site had 108 on there home page!
|
#5
|
|||
|
|||
53 is still pretty insane, there aren't even that many vB tables. At that point they could practically just run "SELECT * FROM tablename" for each table and let PHP do all the work
|
#6
|
|||
|
|||
I really wouldn't install something if it runs over 50 queries everytime the page is viewed
|
#7
|
||||
|
||||
It's standard for vBPortal - when I ran it I had over 200!!!
This is because when you run their "Latest Discussion" table, each thread is 1 query - very inefficient. Also, templates are not included, so every template called is another query. It's just badly optimized code. I suggest changing over to vBHome Lite or vBIndex as free alternatives to vBPortal. Otherwise, when you site gets busy, it's going to bring the server down. |
#8
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|