Including Functions.php

Time Before: 0.00363 seconds
Time After: 0.00912 seconds
Time Taken: 0.00549 seconds

Memory Before: 2,678.875 KB
Memory After: 4,120.938 KB
Memory Used: 1,442.063 KB

Connect to Database on Server: localhost

Time Before: 0.00922 seconds
Time After: 0.01062 seconds
Time Taken: 0.00141 seconds

Memory Before: 4,120.820 KB
Memory After: 4,121.609 KB
Memory Used: 0.789 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
1SIMPLEdatastorerangePRIMARYPRIMARY52 18Using index condition

Time Before: 0.01125 seconds
Time After: 0.01160 seconds
Time Taken: 0.00035 seconds

Memory Before: 4,124.078 KB
Memory After: 4,124.789 KB
Memory Used: 0.711 KB

Time Before: 0.01076 seconds
Time After: 0.01288 seconds
Time Taken: 0.00212 seconds

Memory Before: 4,121.109 KB
Memory After: 5,032.891 KB
Memory Used: 911.781 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.162.151.77'
	AND idhash = 'ec59b6db8b5e019bc9501cf403d92bf0'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    21897Using where

Time Before: 0.01368 seconds
Time After: 0.01699 seconds
Time Taken: 0.00331 seconds

Memory Before: 5,083.523 KB
Memory After: 5,084.141 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,
			phrasegroup_prefix AS phrasegroup_prefix,
			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.01756 seconds
Time After: 0.01778 seconds
Time Taken: 0.00022 seconds

Memory Before: 5,093.984 KB
Memory After: 5,094.609 KB
Memory Used: 0.625 KB

Time Before: 0.01337 seconds
Time After: 0.01788 seconds
Time Taken: 0.00451 seconds

Memory Before: 5,079.719 KB
Memory After: 5,147.305 KB
Memory Used: 67.586 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 17557
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01987 seconds
Time After: 0.01998 seconds
Time Taken: 0.00012 seconds

Memory Before: 5,194.344 KB
Memory After: 5,194.969 KB
Memory Used: 0.625 KB

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

Time Before: 0.02036 seconds
Time After: 0.02049 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,205.539 KB
Memory After: 5,206.156 KB
Memory Used: 0.617 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (9761,9762,9764,9763,9846,10252,9878,9879,9881,9888,9887,10057,10061,10047,10048,10050,10049,10052,10054,10055,10056,10058,10060,9784,9786,9788,9790,10088,10090,10093,10094,10091,10089,10162,10163,10040,10039,10041,10045,10043,10190,9824,9823,9825,9826,10255,10250,10256,9759,9758,9760,9755,9754,10031,9982,9983,9984,9985,10251,10254,10263,10004,10005,10006,10007,10205,10268,10267,10269,10272)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 70Using index condition

Time Before: 0.02122 seconds
Time After: 0.02180 seconds
Time Taken: 0.00058 seconds

Memory Before: 5,382.984 KB
Memory After: 5,383.602 KB
Memory Used: 0.617 KB

End call of global.php: 0.0229909420013
SQL Query
SELECT post.postid
FROM post AS post

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

Time Before: 0.02819 seconds
Time After: 0.02840 seconds
Time Taken: 0.00020 seconds

Memory Before: 6,324.195 KB
Memory After: 6,324.820 KB
Memory Used: 0.625 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(displaygroupid=0, user.usergroupid, 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 = 166 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 166 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,239703,239704,239705,239712,239732,239751,239755,239767,239786,239788)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostparsedsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 11Using index condition; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4corvette_forums.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4corvette_forums.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4corvette_forums.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2corvette_forums.post.iconid1 
1SIMPLEavatarALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4corvette_forums.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4corvette_forums.post.postid1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8corvette_forums.user.userid,const,const1 
1SIMPLEsigpiceq_refPRIMARYPRIMARY4corvette_forums.post.userid1 

Time Before: 0.02928 seconds
Time After: 0.03377 seconds
Time Taken: 0.00449 seconds

Memory Before: 6,331.383 KB
Memory After: 6,332.000 KB
Memory Used: 0.617 KB

Time after parsing all posts: 0.0507578849792 Memory After: 6,519KB
Page generated in 0.0527360439301 seconds with 8 queries, spending 0.0108082294464 doing MySQL queries and 0.0419278144836 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1563616171, location = '/showthread.php?t=17557&explain=1', inforum = 25, inthread = 17557, incalendar = 0, badlocation = 0
WHERE sessionhash = 'fea36f2f4adf1960e845579ea6d71ea5'

Time Before: 0.05355 seconds
Time After: 0.05379 seconds
Time Taken: 0.00024 seconds

Memory Before: 7,154.922 KB
Memory After: 7,155.430 KB
Memory Used: 0.508 KB

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

Time Before: 0.05384 seconds
Time After: 0.05397 seconds
Time Taken: 0.00013 seconds

Memory Before: 7,149.516 KB
Memory After: 7,150.023 KB
Memory Used: 0.508 KB