Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Cutting down the queries

Aloittaja L.G.S, helmikuu 17, 2008, 01:09:58 IP

« edellinen - seuraava »

L.G.S

What exactly are they?

How can I find out which queries I have are SMF, and not? I have 58 queries which process in 0.11 seconds, and by looking at other forums thats a load.

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Gary

Turn debug mode on.

Add


$db_show_debug = true;


to Settings.php
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Grudge

SMF will never use more than about 15-20 queries apart from on certain moderation/admin actions.

Lots of queries aren't necessarily bad (In fact we purposely split some queries into two to improve the speed compared to doing it all in one) but 58 is a hell of a lot - must be mods?
I'm only a half geek really...

vbgamer45

Most of those queries are probably going from modifications that were installed to the forum. I noticed you are using Tiny Portal for http://www.ruthlessintent.com/board Depending on the blocks that you add that could cause a large increase in the number of queries
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

L.G.S

Okay thanks for the tips.

Gonna start removing some of these unused mods ;)
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Advertisement: