Including Functions.php

Time Before: 0.00482 seconds
Time After: 0.01070 seconds
Time Taken: 0.00587 seconds

Memory Before: 426.773 KB
Memory After: 435.383 KB
Memory Used: 8.609 KB

Connect to Database on Server: localhost

Time Before: 0.01074 seconds
Time After: 0.01124 seconds
Time Taken: 0.00049 seconds

Memory Before: 435.367 KB
Memory After: 436.328 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01140 seconds
Time After: 0.01147 seconds
Time Taken: 0.00007 seconds

Memory Before: 436.992 KB
Memory After: 437.563 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.01186 seconds
Time After: 0.01252 seconds
Time Taken: 0.00066 seconds

Memory Before: 440.484 KB
Memory After: 441.977 KB
Memory Used: 1.492 KB

Time Before: 0.01149 seconds
Time After: 0.01933 seconds
Time Taken: 0.00784 seconds

Memory Before: 436.805 KB
Memory After: 5,993.891 KB
Memory Used: 5,557.086 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.97.14.89'
	AND idhash = '3baccf9796c876a91b207ca555fa88a5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    759Using where

Time Before: 0.02007 seconds
Time After: 0.02021 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,010.672 KB
Memory After: 6,011.992 KB
Memory Used: 1.320 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.02052 seconds
Time After: 0.02062 seconds
Time Taken: 0.00010 seconds

Memory Before: 6,022.156 KB
Memory After: 6,022.820 KB
Memory Used: 0.664 KB

Time Before: 0.01975 seconds
Time After: 0.02067 seconds
Time Taken: 0.00093 seconds

Memory Before: 6,005.438 KB
Memory After: 6,116.734 KB
Memory Used: 111.297 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 = 2235961
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.02210 seconds
Time After: 0.02226 seconds
Time Taken: 0.00015 seconds

Memory Before: 6,343.000 KB
Memory After: 6,344.297 KB
Memory Used: 1.297 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 298937
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02255 seconds
Time After: 0.02268 seconds
Time Taken: 0.00013 seconds

Memory Before: 6,355.289 KB
Memory After: 6,356.797 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.02304 seconds
Time After: 0.02309 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,367.781 KB
Memory After: 6,369.070 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.02364 seconds
Time After: 0.02379 seconds
Time Taken: 0.00015 seconds

Memory Before: 6,564.305 KB
Memory After: 6,567.344 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.02465 seconds
Time After: 0.02477 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,823.242 KB
Memory After: 6,824.375 KB
Memory Used: 1.133 KB

End call of global.php: 0.028183937072754
SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	, '' 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)

WHERE threadid = 298937
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefjh_search,threadidjh_search4const16Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4gentlemo_community.user.userid1 

Time Before: 0.04154 seconds
Time After: 0.06600 seconds
Time Taken: 0.02446 seconds

Memory Before: 7,000.602 KB
Memory After: 7,020.445 KB
Memory Used: 19.844 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(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 (2235961,2236975,2237234,2237252,2237555,2237561,2237913,2237935,2237944,2237956,2242956,2242974,2242991,2274930,2316676,5839777)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 16Using where
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.06830 seconds
Time After: 0.06976 seconds
Time Taken: 0.00146 seconds

Memory Before: 7,454.945 KB
Memory After: 7,477.086 KB
Memory Used: 22.141 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,2235961,2236975,2237234,2237252,2237555,2237561,2237913,2237935,2237944,2237956,2242956,2242974,2242991,2274930,2316676,5839777) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 17Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_thanks.userid1Using where

Time Before: 0.07222 seconds
Time After: 0.07363 seconds
Time Taken: 0.00141 seconds

Memory Before: 7,536.461 KB
Memory After: 7,542.805 KB
Memory Used: 6.344 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,2235961,2236975,2237234,2237252,2237555,2237561,2237913,2237935,2237944,2237956,2242956,2242974,2242991,2274930,2316676,5839777) ORDER BY post_groan.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_groanrangepostidpostid4 34Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_groan.userid1Using where

Time Before: 0.07528 seconds
Time After: 0.07551 seconds
Time Taken: 0.00023 seconds

Memory Before: 7,554.039 KB
Memory After: 7,555.570 KB
Memory Used: 1.531 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.08980 seconds
Time After: 0.08986 seconds
Time Taken: 0.00006 seconds

Memory Before: 7,715.164 KB
Memory After: 7,716.203 KB
Memory Used: 1.039 KB

Time after parsing all posts: 0.12952589988708 Memory After: 8,042KB
SQL Query
UPDATE session
SET lastactivity = 1733339819, location = '/community/showthread.php?p=2235961&mode=threaded&explain=1', inforum = 433, inthread = 298937, incalendar = 0, badlocation = 0
WHERE sessionhash = '0a90f9838da4b8eec2661af9b0abf2cf'

Time Before: 0.13318 seconds
Time After: 0.13441 seconds
Time Taken: 0.00123 seconds

Memory Before: 9,073.781 KB
Memory After: 9,073.930 KB
Memory Used: 0.148 KB

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

Time Before: 0.13446 seconds
Time After: 0.13469 seconds
Time Taken: 0.00023 seconds

Memory Before: 9,068.023 KB
Memory After: 9,068.383 KB
Memory Used: 0.359 KB

Page generated in 0.13195610046387 seconds with 16 queries, spending 0.031143188476562 doing MySQL queries and 0.1008129119873 doing PHP things.
Shutdown Queries:
DISABLED