Including Functions.php

Time Before: 0.00414 seconds
Time After: 0.05677 seconds
Time Taken: 0.05263 seconds

Memory Before: 425.914 KB
Memory After: 434.570 KB
Memory Used: 8.656 KB

Connect to Database on Server: localhost

Time Before: 0.05683 seconds
Time After: 0.09055 seconds
Time Taken: 0.03372 seconds

Memory Before: 434.555 KB
Memory After: 435.516 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.09068 seconds
Time After: 0.09073 seconds
Time Taken: 0.00005 seconds

Memory Before: 436.180 KB
Memory After: 436.750 KB
Memory Used: 0.570 KB

Datastore Setup
SQL Query
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache','mailqueue','bookmarksitecache')
1SIMPLEdatastorerangePRIMARYPRIMARY50 18Using where

Time Before: 0.09107 seconds
Time After: 0.09280 seconds
Time Taken: 0.00173 seconds

Memory Before: 439.688 KB
Memory After: 441.156 KB
Memory Used: 1.469 KB

Time Before: 0.09076 seconds
Time After: 0.10692 seconds
Time Taken: 0.01616 seconds

Memory Before: 435.992 KB
Memory After: 5,992.969 KB
Memory Used: 5,556.977 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '32225c86a3b439d60cb2844d4a317a9a'
1SIMPLEsessionALL    5109Using where

Time Before: 0.13194 seconds
Time After: 0.13852 seconds
Time Taken: 0.00658 seconds

Memory Before: 6,009.836 KB
Memory After: 6,011.141 KB
Memory Used: 1.305 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 = 1
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.13890 seconds
Time After: 0.13899 seconds
Time Taken: 0.00009 seconds

Memory Before: 6,021.313 KB
Memory After: 6,021.984 KB
Memory Used: 0.672 KB

Time Before: 0.10744 seconds
Time After: 0.13906 seconds
Time Taken: 0.03162 seconds

Memory Before: 6,004.563 KB
Memory After: 6,115.891 KB
Memory Used: 111.328 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 = 6105318
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.14062 seconds
Time After: 0.14075 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,342.055 KB
Memory After: 6,343.328 KB
Memory Used: 1.273 KB

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


FROM thread AS thread

WHERE thread.threadid = 523720

Time Before: 0.14097 seconds
Time After: 0.14110 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,350.859 KB
Memory After: 6,352.367 KB
Memory Used: 1.508 KB

SQL Query
FROM style
WHERE (styleid = 13 AND userselect = 1)
	OR styleid = 13
ORDER BY styleid ASC

Time Before: 0.14175 seconds
Time After: 0.14453 seconds
Time Taken: 0.00278 seconds

Memory Before: 6,363.359 KB
Memory After: 6,364.648 KB
Memory Used: 1.289 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (69,70,72,71,154,560,186,187,189,196,195,650,369,355,356,358,357,360,362,363,364,366,368,92,94,96,98,396,398,401,402,399,397,470,471,348,347,349,353,351,498,132,131,133,134,977,1011,991,67,66,68,63,62,339,648,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,1012,618,619,620,621,625,627,1013,630,631,632,633,636,638,649,135,136,138,139,301,919,920,921,922,923,924)
1SIMPLEtemplaterangePRIMARYPRIMARY4 96Using where

Time Before: 0.14512 seconds
Time After: 0.14523 seconds
Time Taken: 0.00011 seconds

Memory Before: 6,559.914 KB
Memory After: 6,562.953 KB
Memory Used: 3.039 KB

SQL Query
SELECT id, type, title, url, banner, duration, height, width, active, clicks, bannord
FROM cybbanners AS cybbanners
WHERE active = 1
1SIMPLEcybbannersALL    13Using where; Using temporary; Using filesort

Time Before: 0.14625 seconds
Time After: 0.14645 seconds
Time Taken: 0.00020 seconds

Memory Before: 6,819.156 KB
Memory After: 6,820.273 KB
Memory Used: 1.117 KB

End call of global.php: 0.16358494758606
SQL Query
FROM post AS post
WHERE threadid = 523720 AND visible = 1
AND dateline <= 1504744014
1SIMPLEpostrangejh_search,jh_dateline,threadidjh_search10 3Using where; Using index

Time Before: 0.38806 seconds
Time After: 0.38829 seconds
Time Taken: 0.00023 seconds

Memory Before: 6,984.211 KB
Memory After: 6,985.328 KB
Memory Used: 1.117 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 523720
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 15
1SIMPLEpostrefjh_search,threadidjh_search6const,const3Using where; Using index

Time Before: 0.38870 seconds
Time After: 0.38879 seconds
Time Taken: 0.00009 seconds

Memory Before: 6,990.695 KB
Memory After: 6,991.813 KB
Memory Used: 1.117 KB

SQL Query
	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,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,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
	, '' AS field9, '' AS field10, '' AS field12, '' AS field13, '' AS field15, '' AS field16, '' AS field17, '' AS field18, '' AS field19, '' AS field20, '' AS field21, '' AS field22, '' AS field23, '' AS field24, '' AS field25, '' AS field26, '' AS field27, '' AS field28, '' AS field33
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 = 13 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 13 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
WHERE post.postid IN (0,6105258,6105287,6105318)
ORDER BY post.dateline
1SIMPLEpostrangePRIMARYPRIMARY4 4Using where; Using temporary; Using filesort 
1SIMPLEavatareq_refPRIMARYPRIMARY2gentlemo_community.user.avatarid1Using where
1SIMPLEsigpicALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)

Time Before: 0.38940 seconds
Time After: 0.39553 seconds
Time Taken: 0.00614 seconds

Memory Before: 6,999.242 KB
Memory After: 7,003.891 KB
Memory Used: 4.648 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,6105258,6105287,6105318) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksrangepostidpostid4 4Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_thanks.userid1Using where

Time Before: 0.40112 seconds
Time After: 0.40143 seconds
Time Taken: 0.00031 seconds

Memory Before: 7,081.523 KB
Memory After: 7,083.758 KB
Memory Used: 2.234 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,6105258,6105287,6105318) ORDER BY post_groan.username ASC
1SIMPLEpost_groanrangepostidpostid4 4Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_groan.userid1Using where

Time Before: 0.41847 seconds
Time After: 0.43854 seconds
Time Taken: 0.02008 seconds

Memory Before: 7,086.813 KB
Memory After: 7,088.430 KB
Memory Used: 1.617 KB

SQL Query
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'error_postcount_too_low_attachment' AND languageid IN (-1, 0, 1)
1SIMPLEphraserangename_lang_type,languageidname_lang_type276 3Using index condition
1SIMPLEphrasetypeconstPRIMARYPRIMARY20const1Using where

Time Before: 0.48468 seconds
Time After: 0.48966 seconds
Time Taken: 0.00498 seconds

Memory Before: 7,237.383 KB
Memory After: 7,238.453 KB
Memory Used: 1.070 KB

Time after parsing all posts: 0.51661109924316 Memory After: 7,195KB
SQL Query
UPDATE session
SET lastactivity = 1714055867, location = '/community/showthread.php?p=6105318&explain=1', inforum = 493, inthread = 523720, incalendar = 0, badlocation = 0
WHERE sessionhash = '03a900223ee22a5afd7e04a4db821b23'

Time Before: 0.51910 seconds
Time After: 0.56763 seconds
Time Taken: 0.04854 seconds

Memory Before: 7,818.289 KB
Memory After: 7,818.445 KB
Memory Used: 0.156 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (523720)

Time Before: 0.56784 seconds
Time After: 0.58457 seconds
Time Taken: 0.01673 seconds

Memory Before: 7,812.641 KB
Memory After: 7,813.000 KB
Memory Used: 0.359 KB

Page generated in 0.51843595504761 seconds with 17 queries, spending 0.14261198043823 doing MySQL queries and 0.37582397460938 doing PHP things.
Shutdown Queries: