Including Functions.php

Time Before: 0.00404 seconds
Time After: 0.01057 seconds
Time Taken: 0.00653 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.01062 seconds
Time After: 0.01104 seconds
Time Taken: 0.00042 seconds

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

SQL Query
SET @@sql_mode = ''

Time Before: 0.01118 seconds
Time After: 0.01124 seconds
Time Taken: 0.00006 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.01165 seconds
Time After: 0.01237 seconds
Time Taken: 0.00072 seconds

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

Time Before: 0.01127 seconds
Time After: 0.02048 seconds
Time Taken: 0.00921 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    6468Using where

Time Before: 0.02177 seconds
Time After: 0.02202 seconds
Time Taken: 0.00025 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.02235 seconds
Time After: 0.02245 seconds
Time Taken: 0.00010 seconds

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

Time Before: 0.02095 seconds
Time After: 0.02250 seconds
Time Taken: 0.00155 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 = 5839014
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.02376 seconds
Time After: 0.02380 seconds
Time Taken: 0.00004 seconds

Memory Before: 6,342.109 KB
Memory After: 6,343.406 KB
Memory Used: 1.297 KB

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


FROM thread AS thread

WHERE thread.threadid = 347847

Time Before: 0.02403 seconds
Time After: 0.02407 seconds
Time Taken: 0.00004 seconds

Memory Before: 6,351.656 KB
Memory After: 6,353.164 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.02467 seconds
Time After: 0.02472 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,364.227 KB
Memory After: 6,365.516 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.02525 seconds
Time After: 0.02536 seconds
Time Taken: 0.00011 seconds

Memory Before: 6,560.797 KB
Memory After: 6,563.836 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.02624 seconds
Time After: 0.02635 seconds
Time Taken: 0.00010 seconds

Memory Before: 6,820.148 KB
Memory After: 6,821.258 KB
Memory Used: 1.109 KB

End call of global.php: 0.030030012130737
SQL Query
FROM post AS post
WHERE threadid = 347847 AND visible = 1
AND dateline <= 1413657525
1SIMPLEpostrangejh_search,jh_dateline,threadidjh_search10 18Using where; Using index

Time Before: 0.04573 seconds
Time After: 0.04576 seconds
Time Taken: 0.00004 seconds

Memory Before: 6,985.234 KB
Memory After: 6,986.359 KB
Memory Used: 1.125 KB

SQL Query
SELECT post.postid
FROM post AS post

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

Time Before: 0.04608 seconds
Time After: 0.04612 seconds
Time Taken: 0.00004 seconds

Memory Before: 6,991.719 KB
Memory After: 6,992.836 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,5609570,5838871,5839014)
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.04680 seconds
Time After: 0.04689 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,000.281 KB
Memory After: 7,004.953 KB
Memory Used: 4.672 KB

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

Time Before: 0.04840 seconds
Time After: 0.04845 seconds
Time Taken: 0.00005 seconds

Memory Before: 7,082.602 KB
Memory After: 7,087.227 KB
Memory Used: 4.625 KB

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

Time Before: 0.04991 seconds
Time After: 0.04996 seconds
Time Taken: 0.00004 seconds

Memory Before: 7,097.008 KB
Memory After: 7,099.266 KB
Memory Used: 2.258 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.06126 seconds
Time After: 0.06129 seconds
Time Taken: 0.00004 seconds

Memory Before: 7,255.281 KB
Memory After: 7,256.352 KB
Memory Used: 1.070 KB

Time after parsing all posts: 0.069740056991577 Memory After: 7,213KB
SQL Query
UPDATE session
SET lastactivity = 1714053303, location = '/community/showthread.php?p=5839014&explain=1', inforum = 421, inthread = 347847, incalendar = 0, badlocation = 0
WHERE sessionhash = '03a900223ee22a5afd7e04a4db821b23'

Time Before: 0.07254 seconds
Time After: 0.07292 seconds
Time Taken: 0.00038 seconds

Memory Before: 7,873.000 KB
Memory After: 7,873.156 KB
Memory Used: 0.156 KB

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

Time Before: 0.07297 seconds
Time After: 0.07317 seconds
Time Taken: 0.00020 seconds

Memory Before: 7,867.359 KB
Memory After: 7,867.719 KB
Memory Used: 0.359 KB

Page generated in 0.071702003479004 seconds with 17 queries, spending 0.0027542114257812 doing MySQL queries and 0.068947792053223 doing PHP things.
Shutdown Queries: