Including Functions.php

Time Before: 0.00276 seconds
Time After: 0.00850 seconds
Time Taken: 0.00574 seconds

Memory Before: 1,849.656 KB
Memory After: 2,772.930 KB
Memory Used: 923.273 KB

Connect to Database on Server: localhost

Time Before: 0.00854 seconds
Time After: 0.00898 seconds
Time Taken: 0.00044 seconds

Memory Before: 2,772.891 KB
Memory After: 2,773.813 KB
Memory Used: 0.922 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY150 18100.00Using index condition

Time Before: 0.00955 seconds
Time After: 0.00992 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,777.766 KB
Memory After: 2,778.789 KB
Memory Used: 1.023 KB

Time Before: 0.00905 seconds
Time After: 0.01100 seconds
Time Taken: 0.00195 seconds

Memory Before: 2,773.656 KB
Memory After: 3,308.617 KB
Memory Used: 534.961 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.239.192.241'
	AND idhash = '3efc253d9483f43952f313b63a64519f'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    711.41Using where

Time Before: 0.01177 seconds
Time After: 0.01188 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,347.422 KB
Memory After: 3,348.039 KB
Memory Used: 0.617 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,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.01242 seconds
Time After: 0.01268 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,359.383 KB
Memory After: 3,359.313 KB
Memory Used: -0.070 KB

Time Before: 0.01141 seconds
Time After: 0.01278 seconds
Time Taken: 0.00136 seconds

Memory Before: 3,342.492 KB
Memory After: 3,431.547 KB
Memory Used: 89.055 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 = 124937
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01415 seconds
Time After: 0.01429 seconds
Time Taken: 0.00014 seconds

Memory Before: 3,488.297 KB
Memory After: 3,488.789 KB
Memory Used: 0.492 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 70369
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 

Time Before: 0.01466 seconds
Time After: 0.01479 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,500.961 KB
Memory After: 3,501.656 KB
Memory Used: 0.695 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle systemPRIMARY   1100.00 

Time Before: 0.01521 seconds
Time After: 0.01534 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,512.781 KB
Memory After: 3,513.398 KB
Memory Used: 0.617 KB

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

Time Before: 0.01607 seconds
Time After: 0.01658 seconds
Time Taken: 0.00051 seconds

Memory Before: 3,683.313 KB
Memory After: 3,685.258 KB
Memory Used: 1.945 KB

End call of global.php: 0.017543077468872
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 70369 AND visible = 1
AND dateline <= 1429025000
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const15.00Using where

Time Before: 0.02241 seconds
Time After: 0.02249 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,259.211 KB
Memory After: 4,259.750 KB
Memory Used: 0.539 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 70369
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const110.00Using index condition; Using where; Using filesort

Time Before: 0.02274 seconds
Time After: 0.02282 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,266.719 KB
Memory After: 4,267.227 KB
Memory Used: 0.508 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 = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,124937)
ORDER BY post.dateline
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEcustomavatar systemPRIMARY   00.00const row not found
1SIMPLEpostparsed systemPRIMARY   00.00const row not found
1SIMPLEsigparsed systemPRIMARY   00.00const row not found
1SIMPLEsigpic systemPRIMARY   00.00const row not found
1SIMPLEpost rangePRIMARYPRIMARY4 2100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4h23696_denezka.post.userid1100.00 
1SIMPLEuserfield eq_refPRIMARYPRIMARY4h23696_denezka.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4h23696_denezka.user.userid1100.00 
1SIMPLEicon eq_refPRIMARYPRIMARY2h23696_denezka.post.iconid1100.00 
1SIMPLEeditlog eq_refPRIMARYPRIMARY4h23696_denezka.post.postid1100.00 

Time Before: 0.02364 seconds
Time After: 0.02394 seconds
Time Taken: 0.00031 seconds

Memory Before: 4,274.492 KB
Memory After: 4,274.336 KB
Memory Used: -0.156 KB

Time after parsing all posts: 0.027461051940918 Memory After: 4,346KB
SQL Query
UPDATE session
SET lastactivity = 1614819221, location = '/showthread.php?p=124937&explain=1', inforum = 39, inthread = 70369, incalendar = 0, badlocation = 0
WHERE sessionhash = '4b30509c158802b9498580122a2e2d41'

Time Before: 0.02911 seconds
Time After: 0.02923 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,928.766 KB
Memory After: 4,928.977 KB
Memory Used: 0.211 KB

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

Time Before: 0.02926 seconds
Time After: 0.02938 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,923.086 KB
Memory After: 4,923.477 KB
Memory Used: 0.391 KB

Page generated in 0.028753042221069 seconds with 12 queries, spending 0.0027899742126465 doing MySQL queries and 0.025963068008423 doing PHP things.
Shutdown Queries:
DISABLED