Including Functions.php

Time Before: 0.00135 seconds
Time After: 0.00174 seconds
Time Taken: 0.00039 seconds

Memory Before: 952.672 KB
Memory After: 960.969 KB
Memory Used: 8.297 KB

Connect to Database on Server: localhost

Time Before: 0.00178 seconds
Time After: 0.00229 seconds
Time Taken: 0.00051 seconds

Memory Before: 960.922 KB
Memory After: 961.805 KB
Memory Used: 0.883 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.00267 seconds
Time After: 0.00293 seconds
Time Taken: 0.00026 seconds

Memory Before: 965.531 KB
Memory After: 966.492 KB
Memory Used: 0.961 KB

Time Before: 0.00233 seconds
Time After: 0.00365 seconds
Time Taken: 0.00132 seconds

Memory Before: 961.539 KB
Memory After: 1,496.250 KB
Memory Used: 534.711 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.85.214.125'
	AND idhash = '9f979d70e263cee2c9dec3046b0e4a4c'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    991.01Using where

Time Before: 0.00409 seconds
Time After: 0.00418 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,512.523 KB
Memory After: 1,513.117 KB
Memory Used: 0.594 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.00463 seconds
Time After: 0.00485 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,523.430 KB
Memory After: 1,523.328 KB
Memory Used: -0.102 KB

Time Before: 0.00381 seconds
Time After: 0.00493 seconds
Time Taken: 0.00111 seconds

Memory Before: 1,507.391 KB
Memory After: 1,595.125 KB
Memory Used: 87.734 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 = 445
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.00595 seconds
Time After: 0.00605 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,751.125 KB
Memory After: 1,751.594 KB
Memory Used: 0.469 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.00633 seconds
Time After: 0.00641 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,758.695 KB
Memory After: 1,759.367 KB
Memory Used: 0.672 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.00672 seconds
Time After: 0.00680 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,770.672 KB
Memory After: 1,771.258 KB
Memory Used: 0.586 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.00732 seconds
Time After: 0.00773 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,940.297 KB
Memory After: 1,942.211 KB
Memory Used: 1.914 KB

End call of global.php: 0.008430004119873
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 227 AND visible = 1
AND dateline <= 1375616791
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const23.33Using where

Time Before: 0.01175 seconds
Time After: 0.01183 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,823.859 KB
Memory After: 2,824.375 KB
Memory Used: 0.516 KB

SQL Query
SELECT post.postid
FROM post AS post

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

Time Before: 0.01211 seconds
Time After: 0.01220 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,831.320 KB
Memory After: 2,831.797 KB
Memory Used: 0.477 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,445,3648)
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 3100.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.01322 seconds
Time After: 0.01356 seconds
Time Taken: 0.00033 seconds

Memory Before: 2,839.172 KB
Memory After: 2,839.938 KB
Memory Used: 0.766 KB

Time after parsing all posts: 0.015898942947388 Memory After: 2,921KB
SQL Query
UPDATE session
SET lastactivity = 1594375595, location = '/showthread.php?p=445&explain=1', inthread = 227, incalendar = 0, badlocation = 0
WHERE sessionhash = 'c4220b1b9d3d7255d994fe406f8ad29d'

Time Before: 0.01757 seconds
Time After: 0.01765 seconds
Time Taken: 0.00008 seconds

Memory Before: 3,501.547 KB
Memory After: 3,501.734 KB
Memory Used: 0.188 KB

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

Time Before: 0.01768 seconds
Time After: 0.01790 seconds
Time Taken: 0.00022 seconds

Memory Before: 3,496.234 KB
Memory After: 3,496.586 KB
Memory Used: 0.352 KB

Page generated in 0.017191886901855 seconds with 12 queries, spending 0.002556324005127 doing MySQL queries and 0.014635562896729 doing PHP things.
Shutdown Queries:
DISABLED