Including Functions.php

Time Before: 0.00329 seconds
Time After: 0.00546 seconds
Time Taken: 0.00217 seconds

Memory Before: 500.156 KB
Memory After: 522.953 KB
Memory Used: 22.797 KB

Connect to Database on Server: localhost

Time Before: 0.00567 seconds
Time After: 0.00680 seconds
Time Taken: 0.00113 seconds

Memory Before: 522.891 KB
Memory After: 523.836 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00717 seconds
Time After: 0.00731 seconds
Time Taken: 0.00014 seconds

Memory Before: 524.391 KB
Memory After: 524.930 KB
Memory Used: 0.539 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('tagcloud','iconcache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 16Using index condition

Time Before: 0.00853 seconds
Time After: 0.00940 seconds
Time Taken: 0.00087 seconds

Memory Before: 527.703 KB
Memory After: 528.539 KB
Memory Used: 0.836 KB

Time Before: 0.00738 seconds
Time After: 0.01201 seconds
Time Taken: 0.00463 seconds

Memory Before: 524.180 KB
Memory After: 1,110.742 KB
Memory Used: 586.563 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.97.14.81'
	AND idhash = '3baccf9796c876a91b207ca555fa88a5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.01572 seconds
Time After: 0.01603 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,604.680 KB
Memory After: 1,605.297 KB
Memory Used: 0.617 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_search AS phrasegroup_search,
			phrasegroup_prefix AS phrasegroup_prefix,
			phrasegroupinfo AS lang_phrasegroupinfo,
			options AS lang_options,
			languagecode AS lang_code,
			charset AS lang_charset,
			locale AS lang_locale,
			imagesoverride AS lang_imagesoverride,
			dateoverride AS lang_dateoverride,
			timeoverride AS lang_timeoverride,
			registereddateoverride AS lang_registereddateoverride,
			calformat1override AS lang_calformat1override,
			calformat2override AS lang_calformat2override,
			logdateoverride AS lang_logdateoverride,
			decimalsep AS lang_decimalsep,
			thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01721 seconds
Time After: 0.01771 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,617.016 KB
Memory After: 1,616.984 KB
Memory Used: -0.031 KB

Time Before: 0.01480 seconds
Time After: 0.01791 seconds
Time Taken: 0.00311 seconds

Memory Before: 1,597.156 KB
Memory After: 1,673.258 KB
Memory Used: 76.102 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.01870 seconds
Time After: 0.01891 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,674.641 KB
Memory After: 1,675.219 KB
Memory Used: 0.578 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 2 AND userselect = 1)
	OR styleid = 2
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.02331 seconds
Time After: 0.02372 seconds
Time Taken: 0.00040 seconds

Memory Before: 1,990.688 KB
Memory After: 1,991.281 KB
Memory Used: 0.594 KB

End call of global.php: 0.025753021240234
SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.03095 seconds
Time After: 0.03121 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,738.836 KB
Memory After: 2,739.375 KB
Memory Used: 0.539 KB

SQL Query
SELECT tagid, tagtext, canonicaltagid, dateline FROM tag WHERE tagtext = 'food'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtagconsttagtexttagtext102const1 

Time Before: 0.03394 seconds
Time After: 0.03428 seconds
Time Taken: 0.00034 seconds

Memory Before: 2,934.281 KB
Memory After: 2,934.844 KB
Memory Used: 0.563 KB

SQL Query
SELECT searchlog.*
FROM searchlog AS searchlog
WHERE searchhash = '8077f3de340e0dc51700419d11e082d6' AND
	sortby =  '' AND
	sortorder =  'asc' AND
	dateline > 1734077466 AND
	userid = 0 AND
	completed = 1
ORDER BY dateline DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsearchlogrefsearch,userfloodchecksearch56const,const,const,const5Using index condition; Using where; Using filesort

Time Before: 0.03544 seconds
Time After: 0.03601 seconds
Time Taken: 0.00058 seconds

Memory Before: 2,945.953 KB
Memory After: 2,946.383 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (0,1195,1022,0,1035,1036,1155,1157,1156,928,1145,1144,1124,1130,1032,1041,788,1254,1264,1205,1275,67,66,68,63,62,651,652,650,649,71,72,656,961,1257,907,911,908,909,910,1273,0,0,1236,1238,931,932,934,935,1158,1200,1199,1249,1201,758,757,761)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 54Using index condition

Time Before: 0.03777 seconds
Time After: 0.03893 seconds
Time Taken: 0.00116 seconds

Memory Before: 3,120.578 KB
Memory After: 3,122.117 KB
Memory Used: 1.539 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorALLuserid_forumid   172 
1SIMPLEusereq_refPRIMARYPRIMARY4business_business.moderator.userid1 

Time Before: 0.04599 seconds
Time After: 0.04754 seconds
Time Taken: 0.00154 seconds

Memory Before: 3,358.398 KB
Memory After: 3,359.125 KB
Memory Used: 0.727 KB

SQL Query
SELECT thread.*,post.pagetext AS preview,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, user.avatarrevision,
			customavatar.dateline AS avatardateline, customavatar.width AS width, customavatar.height AS height,
			customavatar.height_thumb AS height_thumb, customavatar.width_thumb AS width_thumb, customavatar.filedata_thumb,
			first_user.avatarrevision AS first_avatarrevision, first_avatar.avatarpath AS first_avatarpath,
			NOT ISNULL(first_customavatar.userid) AS first_hascustomavatar, first_customavatar.dateline AS first_avatardateline,
			first_customavatar.width AS first_width, first_customavatar.height AS first_height, first_customavatar.height_thumb
			AS first_height_thumb, first_customavatar.width_thumb AS first_width_thumb, first_customavatar.filedata_thumb AS
			first_filedata_thumb,lastpost.lastposttime
FROM thread AS thread
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)
LEFT JOIN user AS first_user ON (first_user.userid = thread.postuserid)
LEFT JOIN avatar AS first_avatar ON (first_avatar.avatarid = first_user.avatarid)
LEFT JOIN customavatar AS first_customavatar ON (first_customavatar.userid = first_user.userid)
LEFT JOIN (
	SELECT threadid, MAX(dateline) AS lastposttime
	FROM post
	WHERE threadid IN (10)
		AND userid = 0
	GROUP BY threadid
) AS lastpost ON (lastpost.threadid = thread.threadid)
WHERE thread.threadid IN (10)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYavatarsystemPRIMARY   0Const row not found
1PRIMARYcustomavatarsystemPRIMARY   0Const row not found
1PRIMARYfirst_avatarsystemPRIMARY   0Const row not found
1PRIMARYfirst_customavatarsystemPRIMARY   0Const row not found
1PRIMARYthreadconstPRIMARYPRIMARY4const1 
1PRIMARYpostconstPRIMARYPRIMARY4const1 
1PRIMARYuserconstPRIMARYPRIMARY4const1 
1PRIMARYfirst_userconstPRIMARYPRIMARY4const1 
1PRIMARYALL    2Using where
2DERIVEDpostrefthreadid,threadid_visible_dateline,userid,user_datethreadid_visible_dateline4const1Using where; Using index

Time Before: 0.04922 seconds
Time After: 0.05014 seconds
Time Taken: 0.00092 seconds

Memory Before: 3,384.680 KB
Memory After: 3,384.055 KB
Memory Used: -0.625 KB

SQL Query
UPDATE searchlog
SET results = 'a:4:{i:0;a:1:{i:0;a:3:{i:0;s:1:\"2\";i:1;s:2:\"10\";i:2;s:2:\"10\";}}i:1;i:0;i:2;a:1:{i:2;a:2:{i:0;s:2:\"10\";i:1;s:2:\"10\";}}i:3;a:1:{i:2;a:0:{}}}'
WHERE searchlogid = 3000873

Time Before: 0.05217 seconds
Time After: 0.05298 seconds
Time Taken: 0.00081 seconds

Memory Before: 3,530.180 KB
Memory After: 3,530.375 KB
Memory Used: 0.195 KB

SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    27Using where; Using filesort

Time Before: 0.05694 seconds
Time After: 0.05730 seconds
Time Taken: 0.00035 seconds

Memory Before: 3,556.258 KB
Memory After: 3,559.719 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1734081066, location = '/tags.php?tag=food&explain=1', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'be2a45c7a2e34ffc05e699bae532723c'

Time Before: 0.06209 seconds
Time After: 0.06237 seconds
Time Taken: 0.00028 seconds

Memory Before: 3,854.008 KB
Memory After: 3,854.203 KB
Memory Used: 0.195 KB

Page generated in 0.060687065124512 seconds with 15 queries, spending 0.0098328590393066 doing MySQL queries and 0.050854206085205 doing PHP things.
Shutdown Queries:
DISABLED