Including Functions.php

Time Before: 0.00391 seconds
Time After: 0.00983 seconds
Time Taken: 0.00592 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.00996 seconds
Time After: 0.01083 seconds
Time Taken: 0.00086 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.01142 seconds
Time After: 0.01189 seconds
Time Taken: 0.00047 seconds

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

Time Before: 0.01094 seconds
Time After: 0.01335 seconds
Time Taken: 0.00241 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 = '3.81.73.233'
	AND idhash = '326feb4e02ef81b61c8e71e86a0c4f1c'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    22582Using where

Time Before: 0.01420 seconds
Time After: 0.01782 seconds
Time Taken: 0.00361 seconds

Memory Before: 5,083.508 KB
Memory After: 5,084.133 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,
			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.01848 seconds
Time After: 0.01876 seconds
Time Taken: 0.00027 seconds

Memory Before: 5,093.977 KB
Memory After: 5,094.602 KB
Memory Used: 0.625 KB

Time Before: 0.01386 seconds
Time After: 0.01889 seconds
Time Taken: 0.00503 seconds

Memory Before: 5,079.719 KB
Memory After: 5,147.336 KB
Memory Used: 67.617 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 = 296405
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.02099 seconds
Time After: 0.02116 seconds
Time Taken: 0.00017 seconds

Memory Before: 5,194.547 KB
Memory After: 5,195.172 KB
Memory Used: 0.625 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 21392
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02151 seconds
Time After: 0.02165 seconds
Time Taken: 0.00015 seconds

Memory Before: 5,202.445 KB
Memory After: 5,203.070 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.02210 seconds
Time After: 0.02227 seconds
Time Taken: 0.00017 seconds

Memory Before: 5,213.625 KB
Memory After: 5,214.242 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.02305 seconds
Time After: 0.02368 seconds
Time Taken: 0.00063 seconds

Memory Before: 5,391.133 KB
Memory After: 5,391.750 KB
Memory Used: 0.617 KB

End call of global.php: 0.0250771045685
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 21392 AND visible = 1
AND dateline <= 1539256005
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,datelinethreadid4const36Using where

Time Before: 0.03120 seconds
Time After: 0.03142 seconds
Time Taken: 0.00023 seconds

Memory Before: 6,325.859 KB
Memory After: 6,326.484 KB
Memory Used: 0.625 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 21392
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 10, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const36Using where; Using filesort

Time Before: 0.03183 seconds
Time After: 0.03211 seconds
Time Taken: 0.00028 seconds

Memory Before: 6,332.742 KB
Memory After: 6,333.367 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,296395,296398,296399,296400,296404,296405,296414,296416,296417,296421)
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.03316 seconds
Time After: 0.03891 seconds
Time Taken: 0.00575 seconds

Memory Before: 6,339.930 KB
Memory After: 6,340.547 KB
Memory Used: 0.617 KB

Time after parsing all posts: 0.05952501297 Memory After: 6,534KB
Page generated in 0.0616769790649 seconds with 10 queries, spending 0.0125970840454 doing MySQL queries and 0.0490798950195 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1563826603, location = '/showthread.php?p=296405&explain=1', inforum = 51, inthread = 21392, incalendar = 0, badlocation = 0
WHERE sessionhash = '9b4d0a1222677d72803a8c600a97eedf'

Time Before: 0.06264 seconds
Time After: 0.06279 seconds
Time Taken: 0.00015 seconds

Memory Before: 7,215.078 KB
Memory After: 7,215.586 KB
Memory Used: 0.508 KB

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

Time Before: 0.06286 seconds
Time After: 0.06298 seconds
Time Taken: 0.00013 seconds

Memory Before: 7,209.664 KB
Memory After: 7,210.172 KB
Memory Used: 0.508 KB