Including Functions.php

Time Before: 0.00364 seconds
Time After: 0.00882 seconds
Time Taken: 0.00517 seconds

Memory Before: 1,338.813 KB
Memory After: 2,079.500 KB
Memory Used: 740.688 KB

Connect to Database on Server: localhost

Time Before: 0.00887 seconds
Time After: 0.01072 seconds
Time Taken: 0.00185 seconds

Memory Before: 2,079.484 KB
Memory After: 2,080.055 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01082 seconds
Time After: 0.01099 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,080.102 KB
Memory After: 2,080.156 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   30Using where

Time Before: 0.01165 seconds
Time After: 0.01219 seconds
Time Taken: 0.00053 seconds

Memory Before: 2,081.695 KB
Memory After: 2,081.688 KB
Memory Used: -0.008 KB

Time Before: 0.01100 seconds
Time After: 0.01385 seconds
Time Taken: 0.00285 seconds

Memory Before: 2,079.945 KB
Memory After: 2,236.086 KB
Memory Used: 156.141 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.236.239.91'
	AND idhash = '018119e073143c3ab84a113f5d695a62'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    2861Using where

Time Before: 0.01448 seconds
Time After: 0.01514 seconds
Time Taken: 0.00066 seconds

Memory Before: 2,253.281 KB
Memory After: 2,253.461 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.01566 seconds
Time After: 0.01601 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,260.195 KB
Memory After: 2,260.625 KB
Memory Used: 0.430 KB

Time Before: 0.01411 seconds
Time After: 0.01610 seconds
Time Taken: 0.00199 seconds

Memory Before: 2,252.961 KB
Memory After: 2,327.422 KB
Memory Used: 74.461 KB

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


editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM post AS post

LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 1766
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01802 seconds
Time After: 0.01825 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,399.250 KB
Memory After: 2,399.180 KB
Memory Used: -0.070 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.01854 seconds
Time After: 0.01871 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,403.352 KB
Memory After: 2,403.469 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.01897 seconds
Time After: 0.01922 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,409.703 KB
Memory After: 2,410.008 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.02053 seconds
Time After: 0.02140 seconds
Time Taken: 0.00087 seconds

Memory Before: 2,560.133 KB
Memory After: 2,560.063 KB
Memory Used: -0.070 KB

End call of global.php: 0.02220606803894
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 815 AND visible = 1

AND dateline <= 1634178331
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where

Time Before: 0.02623 seconds
Time After: 0.02640 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,098.086 KB
Memory After: 3,098.234 KB
Memory Used: 0.148 KB

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.02705 seconds
Time After: 0.02754 seconds
Time Taken: 0.00050 seconds

Memory Before: 3,099.992 KB
Memory After: 3,100.078 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.02816 seconds
Time After: 0.02869 seconds
Time Taken: 0.00053 seconds

Memory Before: 3,105.750 KB
Memory After: 3,103.930 KB
Memory Used: -1.820 KB

Time after parsing all posts: 0.029728889465332 Memory After: 3,146KB
SQL Query
UPDATE session
SET lastactivity = 1634967807, location = '/showthread.php?p=1766&explain=1', inforum = 2, inthread = 815, incalendar = 0
WHERE sessionhash = '76231ca16e197fac283dadb15deffd94'

Time Before: 0.03165 seconds
Time After: 0.03185 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,598.234 KB
Memory After: 3,598.109 KB
Memory Used: -0.125 KB

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

Time Before: 0.03187 seconds
Time After: 0.03206 seconds
Time Taken: 0.00019 seconds

Memory Before: 3,595.859 KB
Memory After: 3,595.953 KB
Memory Used: 0.094 KB

Page generated in 0.031378030776978 seconds with 13 queries, spending 0.0066828727722168 doing MySQL queries and 0.024695158004761 doing PHP things.
Shutdown Queries:
DISABLED