Including Functions.php

Time Before: 0.00131 seconds
Time After: 0.00156 seconds
Time Taken: 0.00025 seconds

Memory Before: 615.477 KB
Memory After: 625.422 KB
Memory Used: 9.945 KB

Connect to Database on Server: localhost

Time Before: 0.00167 seconds
Time After: 0.00240 seconds
Time Taken: 0.00073 seconds

Memory Before: 625.359 KB
Memory After: 626.273 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00266 seconds
Time After: 0.00297 seconds
Time Taken: 0.00031 seconds

Memory Before: 626.813 KB
Memory After: 627.336 KB
Memory Used: 0.523 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 rangePRIMARYPRIMARY50 18100.00Using index condition

Time Before: 0.00395 seconds
Time After: 0.00723 seconds
Time Taken: 0.00328 seconds

Memory Before: 629.719 KB
Memory After: 630.570 KB
Memory Used: 0.852 KB

Time Before: 0.00302 seconds
Time After: 0.29468 seconds
Time Taken: 0.29165 seconds

Memory Before: 626.625 KB
Memory After: 6,835.930 KB
Memory Used: 6,209.305 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.216.173'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    36380.10Using where

Time Before: 0.29768 seconds
Time After: 0.29893 seconds
Time Taken: 0.00125 seconds

Memory Before: 7,027.625 KB
Memory After: 7,028.211 KB
Memory Used: 0.586 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.30094 seconds
Time After: 0.30111 seconds
Time Taken: 0.00017 seconds

Memory Before: 7,038.852 KB
Memory After: 7,038.750 KB
Memory Used: -0.102 KB

SQL Query
SELECT threadid, title
FROM thread
WHERE forumid = 1093 AND visible = 1 AND open = 1
ORDER BY dateline DESC
LIMIT 15
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid4const,const41310.00Using index condition; Using where; Using filesort

Time Before: 0.30172 seconds
Time After: 0.30516 seconds
Time Taken: 0.00344 seconds

Memory Before: 7,136.844 KB
Memory After: 7,137.648 KB
Memory Used: 0.805 KB

Time Before: 0.29646 seconds
Time After: 0.30545 seconds
Time Taken: 0.00899 seconds

Memory Before: 7,022.266 KB
Memory After: 7,142.734 KB
Memory Used: 120.469 KB

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



thread.*


FROM thread AS thread






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

Time Before: 0.32302 seconds
Time After: 0.32330 seconds
Time Taken: 0.00027 seconds

Memory Before: 7,462.305 KB
Memory After: 7,463.039 KB
Memory Used: 0.734 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 41 AND userselect = 1)
	OR styleid = 41
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle systemPRIMARY   1100.00 

Time Before: 0.32391 seconds
Time After: 0.32403 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,481.625 KB
Memory After: 7,482.203 KB
Memory Used: 0.578 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (13756,13757,13759,13758,13841,14247,13873,13874,13876,13883,13882,6578,7515,14042,14043,14045,14044,14047,14049,14050,14051,6773,14055,13779,13781,13783,15179,6756,14085,14088,14089,6757,14084,14157,14158,14035,14034,14036,14040,14038,14185,13819,13818,10402,10365,19858,15049,18815,13754,13753,13755,13750,13749,14026,6593,6781,13979,13980,14246,14249,14258,13999,14000,14001,14002,14200,14263,14262,6926,14267,812,814,815,813,0,4322,4323,4324,6860,1504,1505,1506,1507,1510,14850,3046,3047,3170,3167,3168,3169,16015,3172,19943,6741,6740,6735,6742,6631,4964,4963,0,0,0,0,21624,15833,15827,15828,15829,15830,15834,15836,15056,15368,15369,15370,15826,6847,19866,19859,19860,6685,6846,6848,6684,15769)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 123100.00Using index condition

Time Before: 0.33172 seconds
Time After: 0.33204 seconds
Time Taken: 0.00032 seconds

Memory Before: 7,731.227 KB
Memory After: 7,733.938 KB
Memory Used: 2.711 KB

End call of global.php: 0.33858299255371
SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)

WHERE threadid = 55411
	
ORDER BY postid
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const1100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4forumail_w.post.userid1100.00 
1SIMPLEuserfield eq_refPRIMARYPRIMARY4forumail_w.user.userid1100.00 

Time Before: 0.34123 seconds
Time After: 0.34137 seconds
Time Taken: 0.00014 seconds

Memory Before: 8,269.859 KB
Memory After: 8,271.258 KB
Memory Used: 1.398 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,
	
	
	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 = 41 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 41 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (61348)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
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
1SIMPLEpostparsed constPRIMARYPRIMARY8const,const,const00.00unique row not found
1SIMPLEsigparsed constPRIMARYPRIMARY8const,const,const1100.00 
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.34316 seconds
Time After: 0.34332 seconds
Time Taken: 0.00016 seconds

Memory Before: 8,312.023 KB
Memory After: 8,312.328 KB
Memory Used: 0.305 KB

SQL Query
SELECT * FROM attachment WHERE userid='1'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEattachment refuseriduserid4const65100.00 

Time Before: 0.34427 seconds
Time After: 0.34633 seconds
Time Taken: 0.00206 seconds

Memory Before: 8,387.281 KB
Memory After: 8,396.094 KB
Memory Used: 8.813 KB

SQL Query
SELECT * FROM thread WHERE postuserid='1'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread ALLpostuserid   5197971.74Using where

Time Before: 0.34736 seconds
Time After: 0.52185 seconds
Time Taken: 0.17449 seconds

Memory Before: 8,802.281 KB
Memory After: 19,717.594 KB
Memory Used: 10,915.313 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,61348) ORDER BY post_groan.username ASC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost_groan ALLpostid   1100.00Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4forumail_w.post_groan.userid1100.00Using index condition

Time Before: 0.52402 seconds
Time After: 0.52427 seconds
Time Taken: 0.00025 seconds

Memory Before: 19,713.234 KB
Memory After: 19,713.688 KB
Memory Used: 0.453 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 6632
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 0.54951 seconds
Time After: 0.54964 seconds
Time Taken: 0.00013 seconds

Memory Before: 19,925.125 KB
Memory After: 19,925.688 KB
Memory Used: 0.563 KB

Time after parsing all posts: 0.55850410461426 Memory After: 8,938KB
SQL Query
SELECT template
FROM template
WHERE templateid = 6861
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 0.56336 seconds
Time After: 0.56360 seconds
Time Taken: 0.00024 seconds

Memory Before: 9,061.523 KB
Memory After: 9,062.086 KB
Memory Used: 0.563 KB

SQL Query
SELECT 	
	user.userid,
	user.username,
	user.usergroupid,
	user.membergroupids,
	user.infractiongroupid,
	user.displaygroupid
	
	FROM dbtech_usertag_tag AS tag
	LEFT JOIN user AS user ON (user.userid = tag.taggedid)
	WHERE tag.threadid = 55411
	ORDER BY username ASC
	LIMIT 25
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.57775 seconds
Time After: 0.57792 seconds
Time Taken: 0.00017 seconds

Memory Before: 11,564.727 KB
Memory After: 11,565.016 KB
Memory Used: 0.289 KB

SQL Query
SELECT pagetext FROM post WHERE postid='61348'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 

Time Before: 0.58248 seconds
Time After: 0.58265 seconds
Time Taken: 0.00017 seconds

Memory Before: 12,135.102 KB
Memory After: 12,135.695 KB
Memory Used: 0.594 KB

SQL Query
UPDATE session
SET lastactivity = 1764599239, location = '/showthread.php?t=55411'
WHERE sessionhash = '353cf48cc16474c9b84e65e32f37aab0'

Time Before: 0.62968 seconds
Time After: 0.63040 seconds
Time Taken: 0.00072 seconds

Memory Before: 12,137.539 KB
Memory After: 12,137.797 KB
Memory Used: 0.258 KB

SQL Query
UPDATE thread
SET views = views + 1
WHERE threadid = 55411

Time Before: 0.63053 seconds
Time After: 0.63287 seconds
Time Taken: 0.00234 seconds

Memory Before: 12,133.422 KB
Memory After: 12,133.766 KB
Memory Used: 0.344 KB

Page generated in 0.58095407485962 seconds with 20 queries, spending 0.19084668159485 doing MySQL queries and 0.39010739326477 doing PHP things.
Shutdown Queries:
DISABLED