Including Functions.php

Time Before: 0.03442 seconds
Time After: 0.05633 seconds
Time Taken: 0.02191 seconds

Memory Before: 425.039 KB
Memory After: 433.734 KB
Memory Used: 8.695 KB

Connect to Database on Server: localhost

Time Before: 0.05639 seconds
Time After: 0.06421 seconds
Time Taken: 0.00782 seconds

Memory Before: 433.719 KB
Memory After: 434.680 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.06665 seconds
Time After: 0.06672 seconds
Time Taken: 0.00007 seconds

Memory Before: 435.344 KB
Memory After: 435.914 KB
Memory Used: 0.570 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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 18Using where

Time Before: 0.06713 seconds
Time After: 0.07463 seconds
Time Taken: 0.00750 seconds

Memory Before: 438.836 KB
Memory After: 440.320 KB
Memory Used: 1.484 KB

Time Before: 0.06675 seconds
Time After: 0.08664 seconds
Time Taken: 0.01989 seconds

Memory Before: 435.156 KB
Memory After: 5,992.117 KB
Memory Used: 5,556.961 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.217.203.172'
	AND idhash = '4e0decc5da6b41141abd2330a34d20ca'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1517Using where

Time Before: 0.08759 seconds
Time After: 0.08795 seconds
Time Taken: 0.00037 seconds

Memory Before: 6,008.961 KB
Memory After: 6,010.266 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
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.08830 seconds
Time After: 0.08837 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,020.625 KB
Memory After: 6,021.297 KB
Memory Used: 0.672 KB

Time Before: 0.08725 seconds
Time After: 0.08844 seconds
Time Taken: 0.00120 seconds

Memory Before: 6,003.695 KB
Memory After: 6,115.195 KB
Memory Used: 111.500 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 = 6139043
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.14012 seconds
Time After: 0.14054 seconds
Time Taken: 0.00042 seconds

Memory Before: 6,341.617 KB
Memory After: 6,342.914 KB
Memory Used: 1.297 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 525068
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.14232 seconds
Time After: 0.14246 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,350.789 KB
Memory After: 6,352.297 KB
Memory Used: 1.508 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 13 AND userselect = 1)
	OR styleid = 13
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.14644 seconds
Time After: 0.14651 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,363.320 KB
Memory After: 6,364.609 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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 96Using where

Time Before: 0.14749 seconds
Time After: 0.14761 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,559.875 KB
Memory After: 6,562.914 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
ORDER BY RAND() LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybbannersALL    13Using where; Using temporary; Using filesort

Time Before: 0.15731 seconds
Time After: 0.15750 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,819.023 KB
Memory After: 6,820.156 KB
Memory Used: 1.133 KB

End call of global.php: 0.16218495368958
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 525068 AND visible = 1
AND dateline <= 1524942988
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangejh_search,jh_dateline,threadidjh_search10 25Using where; Using index

Time Before: 0.24452 seconds
Time After: 0.24469 seconds
Time Taken: 0.00017 seconds

Memory Before: 6,984.031 KB
Memory After: 6,985.156 KB
Memory Used: 1.125 KB

SQL Query
SELECT post.postid
FROM post AS post

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

Time Before: 0.24515 seconds
Time After: 0.24526 seconds
Time Taken: 0.00011 seconds

Memory Before: 6,990.578 KB
Memory After: 6,991.891 KB
Memory Used: 1.313 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,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,6136176,6136196,6139006,6139008,6139009,6139015,6139016,6139017,6139019,6139043,6139047,6139287,6147143,6147153,6147195)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 16Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4gentlemo_community.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4gentlemo_community.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2gentlemo_community.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2gentlemo_community.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4gentlemo_community.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4gentlemo_community.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8gentlemo_community.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8gentlemo_community.user.userid,const,const1 
1SIMPLEsigpicALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)

Time Before: 0.24605 seconds
Time After: 0.25372 seconds
Time Taken: 0.00767 seconds

Memory Before: 6,999.602 KB
Memory After: 7,020.555 KB
Memory Used: 20.953 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,6136176,6136196,6139006,6139008,6139009,6139015,6139016,6139017,6139019,6139043,6139047,6139287,6147143,6147153,6147195) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 16Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_thanks.userid1Using where

Time Before: 0.25678 seconds
Time After: 0.25736 seconds
Time Taken: 0.00059 seconds

Memory Before: 7,098.430 KB
Memory After: 7,104.805 KB
Memory Used: 6.375 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,6136176,6136196,6139006,6139008,6139009,6139015,6139016,6139017,6139019,6139043,6139047,6139287,6147143,6147153,6147195) ORDER BY post_groan.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_groanrangepostidpostid4 32Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_groan.userid1Using where

Time Before: 0.27480 seconds
Time After: 0.27502 seconds
Time Taken: 0.00023 seconds

Memory Before: 7,116.563 KB
Memory After: 7,118.117 KB
Memory Used: 1.555 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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEphraserangename_lang_type,languageidname_lang_type276 3Using index condition
1SIMPLEphrasetypeconstPRIMARYPRIMARY20const1Using where

Time Before: 0.28107 seconds
Time After: 0.28111 seconds
Time Taken: 0.00004 seconds

Memory Before: 7,273.883 KB
Memory After: 7,274.953 KB
Memory Used: 1.070 KB

Time after parsing all posts: 0.37590098381042 Memory After: 7,342KB
SQL Query
UPDATE session
SET lastactivity = 1714245964, location = '/community/showthread.php?p=6139043&explain=1', inforum = 431, inthread = 525068, incalendar = 0, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = '4d26d64517bf9576ee36cfa49fa51f7d'

Time Before: 0.37978 seconds
Time After: 0.38633 seconds
Time Taken: 0.00655 seconds

Memory Before: 8,500.539 KB
Memory After: 8,500.578 KB
Memory Used: 0.039 KB

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

Time Before: 0.38644 seconds
Time After: 0.38964 seconds
Time Taken: 0.00320 seconds

Memory Before: 8,494.063 KB
Memory After: 8,494.414 KB
Memory Used: 0.352 KB

Page generated in 0.37842392921448 seconds with 17 queries, spending 0.035331726074219 doing MySQL queries and 0.34309220314026 doing PHP things.
Shutdown Queries:
DISABLED