Including Functions.php

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

Memory Before: 506.719 KB
Memory After: 529.508 KB
Memory Used: 22.789 KB

Connect to Database on Server: localhost

Time Before: 0.00167 seconds
Time After: 0.00221 seconds
Time Taken: 0.00054 seconds

Memory Before: 529.445 KB
Memory After: 530.359 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00239 seconds
Time After: 0.00254 seconds
Time Taken: 0.00015 seconds

Memory Before: 530.914 KB
Memory After: 531.453 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.00356 seconds
Time After: 0.00466 seconds
Time Taken: 0.00110 seconds

Memory Before: 534.227 KB
Memory After: 535.063 KB
Memory Used: 0.836 KB

Time Before: 0.00258 seconds
Time After: 0.00680 seconds
Time Taken: 0.00421 seconds

Memory Before: 530.703 KB
Memory After: 1,117.266 KB
Memory Used: 586.563 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = 'f4c9907f2937e362c13057ddcada0020'
	AND lastactivity > 1716038929
	AND idhash = '6a7ba2657385e4ed2ea33e8b7d95928d'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARY,guest_lookup,last_activityPRIMARY32const1 

Time Before: 0.00826 seconds
Time After: 0.00853 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,138.672 KB
Memory After: 1,139.250 KB
Memory Used: 0.578 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.00958 seconds
Time After: 0.01024 seconds
Time Taken: 0.00065 seconds

Memory Before: 1,151.016 KB
Memory After: 1,150.984 KB
Memory Used: -0.031 KB

Time Before: 0.00757 seconds
Time After: 0.01037 seconds
Time Taken: 0.00280 seconds

Memory Before: 1,130.945 KB
Memory After: 1,207.148 KB
Memory Used: 76.203 KB

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

Time Before: 0.01106 seconds
Time After: 0.01128 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,208.508 KB
Memory After: 1,209.086 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.01608 seconds
Time After: 0.01658 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,996.336 KB
Memory After: 1,996.930 KB
Memory Used: 0.594 KB

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

Time Before: 0.02148 seconds
Time After: 0.02168 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,744.406 KB
Memory After: 2,744.945 KB
Memory Used: 0.539 KB

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

Time Before: 0.02364 seconds
Time After: 0.02386 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,939.859 KB
Memory After: 2,940.422 KB
Memory Used: 0.563 KB

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

Time Before: 0.02485 seconds
Time After: 0.02533 seconds
Time Taken: 0.00048 seconds

Memory Before: 2,951.531 KB
Memory After: 2,951.961 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.02684 seconds
Time After: 0.02786 seconds
Time Taken: 0.00102 seconds

Memory Before: 3,126.086 KB
Memory After: 3,127.625 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.03363 seconds
Time After: 0.03469 seconds
Time Taken: 0.00105 seconds

Memory Before: 3,365.172 KB
Memory After: 3,365.898 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 (65)
		AND userid = 0
	GROUP BY threadid
) AS lastpost ON (lastpost.threadid = thread.threadid)
WHERE thread.threadid IN (65)
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.03618 seconds
Time After: 0.03714 seconds
Time Taken: 0.00096 seconds

Memory Before: 3,391.453 KB
Memory After: 3,390.828 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:\"65\";i:2;s:2:\"65\";}}i:1;i:0;i:2;a:1:{i:2;a:2:{i:0;s:2:\"65\";i:1;s:2:\"65\";}}i:3;a:1:{i:2;a:0:{}}}'
WHERE searchlogid = 2890364

Time Before: 0.03900 seconds
Time After: 0.03972 seconds
Time Taken: 0.00072 seconds

Memory Before: 3,537.281 KB
Memory After: 3,537.477 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.04296 seconds
Time After: 0.04331 seconds
Time Taken: 0.00035 seconds

Memory Before: 3,568.984 KB
Memory After: 3,572.445 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1716039829, location = '/tags.php?tag=bait&explain=1', inforum = 0, inthread = 0, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = 'f4c9907f2937e362c13057ddcada0020'

Time Before: 0.04739 seconds
Time After: 0.04763 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,862.047 KB
Memory After: 3,862.125 KB
Memory Used: 0.078 KB

Page generated in 0.046202898025513 seconds with 15 queries, spending 0.0086734294891357 doing MySQL queries and 0.037529468536377 doing PHP things.
Shutdown Queries:
DISABLED