Including Functions.php

Time Before: 0.00059 seconds
Time After: 0.00063 seconds
Time Taken: 0.00004 seconds

Memory Before: 433.250 KB
Memory After: 435.086 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00069 seconds
Time After: 0.00242 seconds
Time Taken: 0.00173 seconds

Memory Before: 435.070 KB
Memory After: 435.641 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00262 seconds
Time After: 0.00281 seconds
Time Taken: 0.00019 seconds

Memory Before: 435.688 KB
Memory After: 435.742 KB
Memory Used: 0.055 KB

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

Time Before: 0.00328 seconds
Time After: 0.00378 seconds
Time Taken: 0.00050 seconds

Memory Before: 437.281 KB
Memory After: 437.273 KB
Memory Used: -0.008 KB

Time Before: 0.00283 seconds
Time After: 0.00545 seconds
Time Taken: 0.00262 seconds

Memory Before: 435.531 KB
Memory After: 591.672 KB
Memory Used: 156.141 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.173.214.227'
	AND idhash = 'aceb955a70ca06ed43827ad01fd9b82e'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    197Using where

Time Before: 0.00589 seconds
Time After: 0.00610 seconds
Time Taken: 0.00021 seconds

Memory Before: 595.969 KB
Memory After: 596.148 KB
Memory Used: 0.180 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,
			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.00658 seconds
Time After: 0.00692 seconds
Time Taken: 0.00034 seconds

Memory Before: 602.883 KB
Memory After: 603.313 KB
Memory Used: 0.430 KB

Time Before: 0.00552 seconds
Time After: 0.00706 seconds
Time Taken: 0.00154 seconds

Memory Before: 593.523 KB
Memory After: 670.109 KB
Memory Used: 76.586 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 815
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00891 seconds
Time After: 0.00909 seconds
Time Taken: 0.00018 seconds

Memory Before: 792.281 KB
Memory After: 792.398 KB
Memory Used: 0.117 KB

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

Time Before: 0.00936 seconds
Time After: 0.00960 seconds
Time Taken: 0.00023 seconds

Memory Before: 798.320 KB
Memory After: 798.625 KB
Memory Used: 0.305 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (69,70,72,71,154,560,186,187,189,196,195,354,369,355,356,358,357,360,362,363,364,366,368,92,94,96,98,1189,398,401,402,399,397,470,471,348,347,349,353,351,498,132,131,133,134,563,558,564,67,66,68,63,62,339,290,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 70Using index condition

Time Before: 0.01087 seconds
Time After: 0.01181 seconds
Time Taken: 0.00093 seconds

Memory Before: 949.063 KB
Memory After: 948.992 KB
Memory Used: -0.070 KB

End call of global.php: 0.013048887252808
SQL Query
SELECT  post.postid, post.attach
FROM post AS post

WHERE post.threadid = 815
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where; Using filesort

Time Before: 0.01389 seconds
Time After: 0.01433 seconds
Time Taken: 0.00043 seconds

Memory Before: 1,130.781 KB
Memory After: 1,130.867 KB
Memory Used: 0.086 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 = 1 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,1766)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 2Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4drc2.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4drc2.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4drc2.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2drc2.post.iconid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4drc2.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8drc2.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8drc2.user.userid,const,const1 

Time Before: 0.01504 seconds
Time After: 0.01593 seconds
Time Taken: 0.00089 seconds

Memory Before: 1,136.539 KB
Memory After: 1,134.719 KB
Memory Used: -1.820 KB

Time after parsing all posts: 0.017729043960571 Memory After: 1,166KB
SQL Query
UPDATE session
SET lastactivity = 1642894317, location = '/showthread.php?t=815&explain=1', inforum = 2, inthread = 815
WHERE sessionhash = '9e5fae84995df6aaa70a2814a755acb3'

Time Before: 0.01979 seconds
Time After: 0.01998 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,380.156 KB
Memory After: 1,380.031 KB
Memory Used: -0.125 KB

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

Time Before: 0.02000 seconds
Time After: 0.02017 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,377.875 KB
Memory After: 1,377.969 KB
Memory Used: 0.094 KB

Page generated in 0.019516944885254 seconds with 11 queries, spending 0.0060122013092041 doing MySQL queries and 0.01350474357605 doing PHP things.
Shutdown Queries:
DISABLED