Including Functions.php

Time Before: 0.00079 seconds
Time After: 0.00096 seconds
Time Taken: 0.00017 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.00102 seconds
Time After: 0.00146 seconds
Time Taken: 0.00045 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.00286 seconds
Time After: 0.00321 seconds
Time Taken: 0.00035 seconds

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

Time Before: 0.00157 seconds
Time After: 0.00368 seconds
Time Taken: 0.00211 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.217.203.172'
	AND idhash = '4e0decc5da6b41141abd2330a34d20ca'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    10240.10Using where

Time Before: 0.00434 seconds
Time After: 0.00582 seconds
Time Taken: 0.00149 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.00664 seconds
Time After: 0.00708 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,147.602 KB
Memory After: 1,147.594 KB
Memory Used: -0.008 KB

Time Before: 0.00389 seconds
Time After: 0.00719 seconds
Time Taken: 0.00330 seconds

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

Time Before: 0.00901 seconds
Time After: 0.00920 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,315.680 KB
Memory After: 1,316.172 KB
Memory Used: 0.492 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.00957 seconds
Time After: 0.00975 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,324.727 KB
Memory After: 1,325.430 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.01018 seconds
Time After: 0.01044 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,337.836 KB
Memory After: 1,338.422 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.01195 seconds
Time After: 0.01260 seconds
Time Taken: 0.00065 seconds

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

End call of global.php: 0.015170097351074
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 = 31740
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 constPRIMARYPRIMARY2const1100.00 
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigparsed constPRIMARYPRIMARY8const,const,const00.00unique row not found
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.01703 seconds
Time After: 0.01799 seconds
Time Taken: 0.00097 seconds

Memory Before: 1,740.914 KB
Memory After: 1,740.992 KB
Memory Used: 0.078 KB

SQL Query
UPDATE session
SET location = '/showpost.php?p=31740&postcount=24&explain=1', inforum = 13, inthread = 946, incalendar = 0, badlocation = 0
WHERE sessionhash = 'd19f5fa007402e6edfeeb3a60d35db72'

Time Before: 0.02364 seconds
Time After: 0.02410 seconds
Time Taken: 0.00047 seconds

Memory Before: 2,002.805 KB
Memory After: 2,003.000 KB
Memory Used: 0.195 KB

Page generated in 0.02306604385376 seconds with 9 queries, spending 0.0054454803466797 doing MySQL queries and 0.01762056350708 doing PHP things.
Shutdown Queries:
DISABLED