Including Functions.php

Time Before: 0.00095 seconds
Time After: 0.00121 seconds
Time Taken: 0.00025 seconds

Memory Before: 426.023 KB
Memory After: 436.078 KB
Memory Used: 10.055 KB

Connect to Database on Server: localhost

Time Before: 0.00128 seconds
Time After: 0.00182 seconds
Time Taken: 0.00054 seconds

Memory Before: 436.016 KB
Memory After: 436.930 KB
Memory Used: 0.914 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('attachmentcache','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY52 7100.00Using index condition

Time Before: 0.01016 seconds
Time After: 0.01091 seconds
Time Taken: 0.00075 seconds

Memory Before: 933.523 KB
Memory After: 934.328 KB
Memory Used: 0.805 KB

Time Before: 0.00197 seconds
Time After: 0.01153 seconds
Time Taken: 0.00956 seconds

Memory Before: 436.633 KB
Memory After: 1,119.789 KB
Memory Used: 683.156 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.117.158.47'
	AND idhash = '41d449cb27c9cc5b6ff0a85336f5a321'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    10670.10Using where

Time Before: 0.01245 seconds
Time After: 0.01419 seconds
Time Taken: 0.00173 seconds

Memory Before: 1,136.617 KB
Memory After: 1,137.203 KB
Memory Used: 0.586 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_postbit AS phrasegroup_postbit,
			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 = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01528 seconds
Time After: 0.01569 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,147.719 KB
Memory After: 1,147.711 KB
Memory Used: -0.008 KB

Time Before: 0.01182 seconds
Time After: 0.01583 seconds
Time Taken: 0.00401 seconds

Memory Before: 1,131.430 KB
Memory After: 1,186.023 KB
Memory Used: 54.594 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 = 71234
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01809 seconds
Time After: 0.01845 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,315.813 KB
Memory After: 1,316.305 KB
Memory Used: 0.492 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.01917 seconds
Time After: 0.01939 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,324.977 KB
Memory After: 1,325.680 KB
Memory Used: 0.703 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 5 AND userselect = 1)
	OR styleid = 5
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.02015 seconds
Time After: 0.02051 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,338.164 KB
Memory After: 1,338.750 KB
Memory Used: 0.586 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (18525,18526,18528,18535,18534,14228,18708,18694,18695,18697,18696,18703,18705,18707,18431,18433,18435,18437,18739,10350,7917,14226,18406,18405,18407,18402,18401,18678,14225,7055,18631,18632,18898,18901,18910,18651,18652,18653,18654,18852,18915,18914,18916,18919,18925)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 45100.00Using index condition

Time Before: 0.02344 seconds
Time After: 0.02431 seconds
Time Taken: 0.00087 seconds

Memory Before: 1,520.656 KB
Memory After: 1,521.977 KB
Memory Used: 1.320 KB

End call of global.php: 0.027606964111328
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,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	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
	
	
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 = 5 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 5 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid = 71234
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpostparsed systemPRIMARY   00.00const row not found
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEicon constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEavatar constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEcustomavatar constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigparsed constPRIMARYPRIMARY8const,const,const00.00unique row not found
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.03368 seconds
Time After: 0.03523 seconds
Time Taken: 0.00155 seconds

Memory Before: 1,741.211 KB
Memory After: 1,741.289 KB
Memory Used: 0.078 KB

SQL Query
UPDATE session
SET lastactivity = 1714256945, location = '/showpost.php?p=71234&postcount=10&explain=1', inforum = 10, inthread = 4895, incalendar = 0, badlocation = 0
WHERE sessionhash = '8b6f0cd95fd781ef53f090b1079ab0bf'

Time Before: 0.04853 seconds
Time After: 0.04918 seconds
Time Taken: 0.00065 seconds

Memory Before: 2,024.016 KB
Memory After: 2,024.172 KB
Memory Used: 0.156 KB

Page generated in 0.047914981842041 seconds with 9 queries, spending 0.0074398517608643 doing MySQL queries and 0.040475130081177 doing PHP things.
Shutdown Queries:
DISABLED