Including Functions.php

Time Before: 0.00058 seconds
Time After: 0.00067 seconds
Time Taken: 0.00009 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.00311 seconds
Time After: 0.01843 seconds
Time Taken: 0.01532 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.10676 seconds
Time After: 0.11368 seconds
Time Taken: 0.00692 seconds

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

Time Before: 0.02134 seconds
Time After: 0.13925 seconds
Time Taken: 0.11791 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.188.228.180'
	AND idhash = 'fb3189b938cf55c799f1757726507198'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    241920.10Using where

Time Before: 0.16027 seconds
Time After: 0.21655 seconds
Time Taken: 0.05628 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.21790 seconds
Time After: 0.21997 seconds
Time Taken: 0.00207 seconds

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

Time Before: 0.13942 seconds
Time After: 0.22009 seconds
Time Taken: 0.08066 seconds

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

Time Before: 0.25759 seconds
Time After: 0.26158 seconds
Time Taken: 0.00399 seconds

Memory Before: 1,315.852 KB
Memory After: 1,316.344 KB
Memory Used: 0.492 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.26296 seconds
Time After: 0.26940 seconds
Time Taken: 0.00644 seconds

Memory Before: 1,325.141 KB
Memory After: 1,325.844 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.28798 seconds
Time After: 0.29429 seconds
Time Taken: 0.00631 seconds

Memory Before: 1,338.273 KB
Memory After: 1,338.859 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.31027 seconds
Time After: 0.31295 seconds
Time Taken: 0.00268 seconds

Memory Before: 1,520.766 KB
Memory After: 1,522.086 KB
Memory Used: 1.320 KB

End call of global.php: 0.33513188362122
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 = 40065
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,const1100.00 
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.40084 seconds
Time After: 0.40416 seconds
Time Taken: 0.00332 seconds

Memory Before: 1,741.359 KB
Memory After: 1,741.430 KB
Memory Used: 0.070 KB

SQL Query
UPDATE session
SET lastactivity = 1718465595, location = '/showpost.php?explain=1&p=40065&postcount=28', inforum = 2, inthread = 2492, incalendar = 0, badlocation = 0
WHERE sessionhash = '1b28961e5759a558305a634e4f3826b5'

Time Before: 0.50545 seconds
Time After: 0.53069 seconds
Time Taken: 0.02524 seconds

Memory Before: 2,001.555 KB
Memory After: 2,001.711 KB
Memory Used: 0.156 KB

Page generated in 0.50479602813721 seconds with 9 queries, spending 0.12858080863953 doing MySQL queries and 0.37621521949768 doing PHP things.
Shutdown Queries:
DISABLED