Including Functions.php

Time Before: 0.00400 seconds
Time After: 0.00913 seconds
Time Taken: 0.00512 seconds

Memory Before: 1,771.008 KB
Memory After: 2,509.969 KB
Memory Used: 738.961 KB

Connect to Database on Server: localhost

Time Before: 0.00915 seconds
Time After: 0.00957 seconds
Time Taken: 0.00043 seconds

Memory Before: 2,509.953 KB
Memory After: 2,510.609 KB
Memory Used: 0.656 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00970 seconds
Time After: 0.00976 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,510.578 KB
Memory After: 2,510.633 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','mailqueue','bookmarksitecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 17Using index condition

Time Before: 0.01017 seconds
Time After: 0.01417 seconds
Time Taken: 0.00400 seconds

Memory Before: 2,513.047 KB
Memory After: 3,202.039 KB
Memory Used: 688.992 KB

Time Before: 0.00977 seconds
Time After: 0.01645 seconds
Time Taken: 0.00668 seconds

Memory Before: 2,510.391 KB
Memory After: 4,010.625 KB
Memory Used: 1,500.234 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('attachmentcache','stylecache','profilefield','noticecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 4Using index condition

Time Before: 0.01858 seconds
Time After: 0.01872 seconds
Time Taken: 0.00014 seconds

Memory Before: 4,297.063 KB
Memory After: 4,313.211 KB
Memory Used: 16.148 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.216.30'
	AND idhash = '2f26302f7ec04deeac6e23b15eeeb02d'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup145const,const,const2Using where

Time Before: 0.01914 seconds
Time After: 0.01938 seconds
Time Taken: 0.00024 seconds

Memory Before: 4,303.359 KB
Memory After: 4,320.164 KB
Memory Used: 16.805 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			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 = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.02003 seconds
Time After: 0.02092 seconds
Time Taken: 0.00090 seconds

Memory Before: 4,309.266 KB
Memory After: 4,494.258 KB
Memory Used: 184.992 KB

Time Before: 0.01884 seconds
Time After: 0.02103 seconds
Time Taken: 0.00219 seconds

Memory Before: 4,300.461 KB
Memory After: 4,401.461 KB
Memory Used: 101.000 KB

SQL Query
SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,



post.pagetext AS description,
thread.*


FROM thread AS thread




LEFT JOIN post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid = 1481
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02213 seconds
Time After: 0.02234 seconds
Time Taken: 0.00021 seconds

Memory Before: 4,450.953 KB
Memory After: 4,467.844 KB
Memory Used: 16.891 KB

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

Time Before: 0.02358 seconds
Time After: 0.02386 seconds
Time Taken: 0.00028 seconds

Memory Before: 4,549.695 KB
Memory After: 4,790.383 KB
Memory Used: 240.688 KB

End call of global.php: 0.024165868759155
SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes','attachmentcache','stylecache','profilefield','noticecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 5Using index condition

Time Before: 0.02990 seconds
Time After: 0.03003 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,569.180 KB
Memory After: 5,585.406 KB
Memory Used: 16.227 KB

SQL Query
SELECT  post.postid
FROM post AS post

WHERE post.threadid = 1481
	AND post.visible = 1
	
	
ORDER BY post.dateline DESC
LIMIT 0, 40
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,visible,threadid_visible_datelinethreadid_visible_dateline6const,const1Using where; Using index

Time Before: 0.03172 seconds
Time After: 0.03192 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,630.664 KB
Memory After: 5,646.813 KB
Memory Used: 16.148 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	
	
	
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

	
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 11 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 11 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (0,5371)
ORDER BY post.dateline DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 2Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4st78591_forum2026.post.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4st78591_forum2026.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4st78591_forum2026.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8st78591_forum2026.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8st78591_forum2026.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4st78591_forum2026.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4st78591_forum2026.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4st78591_forum2026.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2st78591_forum2026.post.iconid1 

Time Before: 0.03282 seconds
Time After: 0.03355 seconds
Time Taken: 0.00072 seconds

Memory Before: 5,636.453 KB
Memory After: 5,702.414 KB
Memory Used: 65.961 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (746,745,747,748,895,916,934,935,937,943,942,1537,1176,1161,1162,1164,1163,1166,1168,1169,1170,1173,1175,787,789,791,793,795,1540,1249,1251,1252,1248,1329,1330,1145,1144,1146,1151,1149,1357,862,863,1083,856,855,858,859,884,882,1530,1525,921,922,741,740,742,732,731,738,739,737,736,1134,959,1534,1073,1074,1075,915,0,0,919,1096,1102,1103,1105,1106,1372,1304,1303,1541,1308,880,879,883)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 85Using where

Time Before: 0.03445 seconds
Time After: 0.03508 seconds
Time Taken: 0.00062 seconds

Memory Before: 5,845.430 KB
Memory After: 6,093.734 KB
Memory Used: 248.305 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.04152 seconds
Time After: 0.04162 seconds
Time Taken: 0.00010 seconds

Memory Before: 6,810.094 KB
Memory After: 6,826.477 KB
Memory Used: 16.383 KB

SQL Query
UPDATE session
SET location = 'showthread.php?t=1481', inforum = 138, inthread = 1481, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = '92a171b6b5b910de365e60c468c41a00'

Time Before: 0.04532 seconds
Time After: 0.04552 seconds
Time Taken: 0.00020 seconds

Memory Before: 6,898.875 KB
Memory After: 6,898.672 KB
Memory Used: -0.203 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (1481)

Time Before: 0.04554 seconds
Time After: 0.04567 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,895.555 KB
Memory After: 6,895.602 KB
Memory Used: 0.047 KB

Page generated in 0.045161962509155 seconds with 14 queries, spending 0.0083749294281006 doing MySQL queries and 0.036787033081055 doing PHP things.
Shutdown Queries:
DISABLED