Including Functions.php

Time Before: 0.00353 seconds
Time After: 0.00853 seconds
Time Taken: 0.00500 seconds

Memory Before: 1,849.008 KB
Memory After: 2,772.188 KB
Memory Used: 923.180 KB

Connect to Database on Server: localhost

Time Before: 0.00857 seconds
Time After: 0.00910 seconds
Time Taken: 0.00053 seconds

Memory Before: 2,772.148 KB
Memory After: 2,773.070 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.00982 seconds
Time After: 0.01022 seconds
Time Taken: 0.00040 seconds

Memory Before: 2,777.023 KB
Memory After: 2,778.047 KB
Memory Used: 1.023 KB

Time Before: 0.00920 seconds
Time After: 0.01152 seconds
Time Taken: 0.00232 seconds

Memory Before: 2,772.914 KB
Memory After: 3,307.875 KB
Memory Used: 534.961 KB

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

Time Before: 0.01245 seconds
Time After: 0.01258 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,346.664 KB
Memory After: 3,347.289 KB
Memory Used: 0.625 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.01312 seconds
Time After: 0.01338 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,358.664 KB
Memory After: 3,358.594 KB
Memory Used: -0.070 KB

Time Before: 0.01207 seconds
Time After: 0.01349 seconds
Time Taken: 0.00143 seconds

Memory Before: 3,341.750 KB
Memory After: 3,430.789 KB
Memory Used: 89.039 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 = 124940
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01512 seconds
Time After: 0.01525 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,487.516 KB
Memory After: 3,488.008 KB
Memory Used: 0.492 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.01566 seconds
Time After: 0.01577 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,500.180 KB
Memory After: 3,500.875 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.01622 seconds
Time After: 0.01633 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,512.000 KB
Memory After: 3,512.617 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.01699 seconds
Time After: 0.01746 seconds
Time Taken: 0.00047 seconds

Memory Before: 3,682.539 KB
Memory After: 3,684.484 KB
Memory Used: 1.945 KB

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

Time Before: 0.02129 seconds
Time After: 0.02140 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,258.398 KB
Memory After: 4,258.938 KB
Memory Used: 0.539 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 70372
	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.02166 seconds
Time After: 0.02176 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,265.906 KB
Memory After: 4,266.414 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,124940)
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.02292 seconds
Time After: 0.02341 seconds
Time Taken: 0.00049 seconds

Memory Before: 4,273.680 KB
Memory After: 4,273.523 KB
Memory Used: -0.156 KB

Time after parsing all posts: 0.026868104934692 Memory After: 4,345KB
SQL Query
UPDATE session
SET lastactivity = 1614892263, location = '/showthread.php?p=124940&explain=1', inforum = 37, inthread = 70372, incalendar = 0, badlocation = 0
WHERE sessionhash = 'ad94832ee4fe354fdcd1eaf6e0e40ccd'

Time Before: 0.02921 seconds
Time After: 0.02933 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,927.914 KB
Memory After: 4,928.125 KB
Memory Used: 0.211 KB

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

Time Before: 0.02937 seconds
Time After: 0.02957 seconds
Time Taken: 0.00020 seconds

Memory Before: 4,922.234 KB
Memory After: 4,922.625 KB
Memory Used: 0.391 KB

Page generated in 0.028709888458252 seconds with 12 queries, spending 0.0031552314758301 doing MySQL queries and 0.025554656982422 doing PHP things.
Shutdown Queries:
DISABLED