Including Functions.php

Time Before: 0.00053 seconds
Time After: 0.00066 seconds
Time Taken: 0.00013 seconds

Memory Before: 427.414 KB
Memory After: 437.469 KB
Memory Used: 10.055 KB

Connect to Database on Server: localhost

Time Before: 0.00077 seconds
Time After: 0.00103 seconds
Time Taken: 0.00027 seconds

Memory Before: 437.406 KB
Memory After: 438.320 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.00233 seconds
Time After: 0.00265 seconds
Time Taken: 0.00033 seconds

Memory Before: 934.906 KB
Memory After: 935.711 KB
Memory Used: 0.805 KB

Time Before: 0.00118 seconds
Time After: 0.00306 seconds
Time Taken: 0.00188 seconds

Memory Before: 438.023 KB
Memory After: 1,121.172 KB
Memory Used: 683.148 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.133.145.217'
	AND idhash = '5baccf32cf2db64337c4b2a9297eb1f3'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    147260.10Using where

Time Before: 0.00753 seconds
Time After: 0.01847 seconds
Time Taken: 0.01094 seconds

Memory Before: 1,138.148 KB
Memory After: 1,138.734 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.01918 seconds
Time After: 0.02670 seconds
Time Taken: 0.00752 seconds

Memory Before: 1,149.133 KB
Memory After: 1,149.125 KB
Memory Used: -0.008 KB

Time Before: 0.00694 seconds
Time After: 0.02684 seconds
Time Taken: 0.01990 seconds

Memory Before: 1,132.961 KB
Memory After: 1,187.422 KB
Memory Used: 54.461 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 = 514
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.04020 seconds
Time After: 0.04050 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,317.195 KB
Memory After: 1,317.695 KB
Memory Used: 0.500 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.04543 seconds
Time After: 0.04560 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,325.977 KB
Memory After: 1,326.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.04677 seconds
Time After: 0.05059 seconds
Time Taken: 0.00382 seconds

Memory Before: 1,339.148 KB
Memory After: 1,339.734 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.05325 seconds
Time After: 0.05709 seconds
Time Taken: 0.00384 seconds

Memory Before: 1,521.641 KB
Memory After: 1,522.961 KB
Memory Used: 1.320 KB

End call of global.php: 0.059247970581055
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 = 514
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.08678 seconds
Time After: 0.08764 seconds
Time Taken: 0.00086 seconds

Memory Before: 1,742.359 KB
Memory After: 1,742.438 KB
Memory Used: 0.078 KB

SQL Query
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter,
	postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
	attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid = 514
ORDER BY attachmentid
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEattachment refpostidpostid4const1100.00Using index condition; Using filesort
1SIMPLEattachmenttype eq_refPRIMARYPRIMARY22psfantasy-forums.attachment.extension1100.00 

Time Before: 0.08986 seconds
Time After: 0.09661 seconds
Time Taken: 0.00674 seconds

Memory Before: 1,766.242 KB
Memory After: 1,766.586 KB
Memory Used: 0.344 KB

SQL Query
UPDATE session
SET lastactivity = 1718759442, location = '/showpost.php?explain=1&p=514&postcount=8', inforum = 7, inthread = 48, incalendar = 0, badlocation = 0
WHERE sessionhash = '7baf7cf23ec1c149bbfc4f2b68318620'

Time Before: 0.13225 seconds
Time After: 0.13648 seconds
Time Taken: 0.00424 seconds

Memory Before: 2,007.359 KB
Memory After: 2,007.531 KB
Memory Used: 0.172 KB

Page generated in 0.13176298141479 seconds with 10 queries, spending 0.039020776748657 doing MySQL queries and 0.092742204666138 doing PHP things.
Shutdown Queries:
DISABLED