Including Functions.php

Time Before: 0.00127 seconds
Time After: 0.00159 seconds
Time Taken: 0.00031 seconds

Memory Before: 500.258 KB
Memory After: 523.047 KB
Memory Used: 22.789 KB

Connect to Database on Server: localhost

Time Before: 0.00168 seconds
Time After: 0.00213 seconds
Time Taken: 0.00046 seconds

Memory Before: 522.984 KB
Memory After: 523.898 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00231 seconds
Time After: 0.00245 seconds
Time Taken: 0.00014 seconds

Memory Before: 524.453 KB
Memory After: 524.977 KB
Memory Used: 0.523 KB

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

Time Before: 0.00334 seconds
Time After: 0.00417 seconds
Time Taken: 0.00083 seconds

Memory Before: 527.750 KB
Memory After: 528.586 KB
Memory Used: 0.836 KB

Time Before: 0.00250 seconds
Time After: 0.00612 seconds
Time Taken: 0.00362 seconds

Memory Before: 524.227 KB
Memory After: 1,110.789 KB
Memory Used: 586.563 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = 'c3c0c46f221c5b41bbf0759d06ee9e60'
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.00827 seconds
Time After: 0.00862 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,604.727 KB
Memory After: 1,605.336 KB
Memory Used: 0.609 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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.00970 seconds
Time After: 0.01033 seconds
Time Taken: 0.00063 seconds

Memory Before: 1,617.055 KB
Memory After: 1,617.023 KB
Memory Used: -0.031 KB

Time Before: 0.00748 seconds
Time After: 0.01048 seconds
Time Taken: 0.00299 seconds

Memory Before: 1,597.188 KB
Memory After: 1,673.281 KB
Memory Used: 76.094 KB

SQL Query
FROM datastore
WHERE title IN ('routes')

Time Before: 0.01111 seconds
Time After: 0.01132 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,674.672 KB
Memory After: 1,675.250 KB
Memory Used: 0.578 KB

SQL Query
FROM style
WHERE (styleid = 2 AND userselect = 1)
	OR styleid = 2
ORDER BY styleid ASC

Time Before: 0.01470 seconds
Time After: 0.01526 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,990.742 KB
Memory After: 1,991.336 KB
Memory Used: 0.594 KB

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

Time Before: 0.02048 seconds
Time After: 0.02069 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,738.852 KB
Memory After: 2,739.391 KB
Memory Used: 0.539 KB

SQL Query
SELECT tagid, tagtext, canonicaltagid, dateline FROM tag WHERE tagtext = 'fitness center'

Time Before: 0.02283 seconds
Time After: 0.02305 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,934.344 KB
Memory After: 2,934.891 KB
Memory Used: 0.547 KB

SQL Query
SELECT searchlog.*
FROM searchlog AS searchlog
WHERE searchhash = '6838c1f9cb206f2bafa58bf691aab40e' AND
	sortby =  '' AND
	sortorder =  'asc' AND
	dateline > 1713045654 AND
	userid = 0 AND
	completed = 1
ORDER BY dateline DESC
1SIMPLEsearchlogrefsearch,userfloodchecksearch56const,const,const,const2Using index condition; Using where; Using filesort

Time Before: 0.02456 seconds
Time After: 0.02524 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,945.984 KB
Memory After: 2,946.414 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)
1SIMPLEtemplaterangePRIMARYPRIMARY4 54Using index condition

Time Before: 0.02658 seconds
Time After: 0.02790 seconds
Time Taken: 0.00132 seconds

Memory Before: 3,120.633 KB
Memory After: 3,122.172 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)
1SIMPLEmoderatorALLuserid_forumid   172 

Time Before: 0.03424 seconds
Time After: 0.03642 seconds
Time Taken: 0.00218 seconds

Memory Before: 3,358.500 KB
Memory After: 3,359.227 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
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)
	SELECT threadid, MAX(dateline) AS lastposttime
	FROM post
	WHERE threadid IN (47)
		AND userid = 0
	GROUP BY threadid
) AS lastpost ON (lastpost.threadid = thread.threadid)
WHERE thread.threadid IN (47)
1PRIMARYavatarsystemPRIMARY   0Const row not found
1PRIMARYcustomavatarsystemPRIMARY   0Const row not found
1PRIMARYfirst_avatarsystemPRIMARY   0Const row not found
1PRIMARYfirst_customavatarsystemPRIMARY   0Const row not found
1PRIMARYALL    2Using where
2DERIVEDpostrefthreadid,threadid_visible_dateline,userid,user_datethreadid_visible_dateline4const1Using where; Using index

Time Before: 0.03812 seconds
Time After: 0.03907 seconds
Time Taken: 0.00095 seconds

Memory Before: 3,384.781 KB
Memory After: 3,384.156 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:\"47\";i:2;s:2:\"47\";}}i:1;i:0;i:2;a:1:{i:2;a:2:{i:0;s:2:\"47\";i:1;s:2:\"47\";}}i:3;a:1:{i:2;a:0:{}}}'
WHERE searchlogid = 2870295

Time Before: 0.04098 seconds
Time After: 0.04159 seconds
Time Taken: 0.00061 seconds

Memory Before: 3,529.047 KB
Memory After: 3,529.242 KB
Memory Used: 0.195 KB

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

Time Before: 0.04473 seconds
Time After: 0.04516 seconds
Time Taken: 0.00043 seconds

Memory Before: 3,555.148 KB
Memory After: 3,558.609 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1713049254, location = '/tags.php?tag=fitness+center&explain=1', inforum = 0, badlocation = 0
WHERE sessionhash = '65a4a6798741bf5cbc4e72d1504ab4ca'

Time Before: 0.04981 seconds
Time After: 0.05007 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,852.953 KB
Memory After: 3,853.164 KB
Memory Used: 0.211 KB

Page generated in 0.048418998718262 seconds with 15 queries, spending 0.01003885269165 doing MySQL queries and 0.038380146026611 doing PHP things.
Shutdown Queries: