Including Functions.php

Time Before: 0.00355 seconds
Time After: 0.00928 seconds
Time Taken: 0.00573 seconds

Memory Before: 426.117 KB
Memory After: 434.820 KB
Memory Used: 8.703 KB

Connect to Database on Server: localhost

Time Before: 0.00933 seconds
Time After: 0.00966 seconds
Time Taken: 0.00033 seconds

Memory Before: 434.805 KB
Memory After: 435.766 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00976 seconds
Time After: 0.00983 seconds
Time Taken: 0.00006 seconds

Memory Before: 436.430 KB
Memory After: 437.000 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.01016 seconds
Time After: 0.01089 seconds
Time Taken: 0.00073 seconds

Memory Before: 439.922 KB
Memory After: 441.422 KB
Memory Used: 1.500 KB

Time Before: 0.00986 seconds
Time After: 0.01672 seconds
Time Taken: 0.00686 seconds

Memory Before: 436.242 KB
Memory After: 5,992.742 KB
Memory Used: 5,556.500 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    806Using where

Time Before: 0.01729 seconds
Time After: 0.01745 seconds
Time Taken: 0.00016 seconds

Memory Before: 6,009.531 KB
Memory After: 6,010.852 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.01780 seconds
Time After: 0.01790 seconds
Time Taken: 0.00009 seconds

Memory Before: 6,021.008 KB
Memory After: 6,021.672 KB
Memory Used: 0.664 KB

Time Before: 0.01709 seconds
Time After: 0.01795 seconds
Time Taken: 0.00086 seconds

Memory Before: 6,004.297 KB
Memory After: 6,115.594 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 = 1096859
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01915 seconds
Time After: 0.01930 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,341.500 KB
Memory After: 6,342.797 KB
Memory Used: 1.297 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 213719
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01957 seconds
Time After: 0.01962 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,350.359 KB
Memory After: 6,351.867 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.01990 seconds
Time After: 0.01997 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,362.891 KB
Memory After: 6,364.180 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.02048 seconds
Time After: 0.02063 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,559.406 KB
Memory After: 6,562.445 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.02165 seconds
Time After: 0.02178 seconds
Time Taken: 0.00013 seconds

Memory Before: 6,818.484 KB
Memory After: 6,819.602 KB
Memory Used: 1.117 KB

End call of global.php: 0.025101900100708
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 = 213719
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefjh_search,threadidthreadid4const116Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4gentlemo_community.user.userid1 

Time Before: 0.03837 seconds
Time After: 0.04281 seconds
Time Taken: 0.00444 seconds

Memory Before: 6,996.164 KB
Memory After: 7,130.414 KB
Memory Used: 134.250 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 (3743652,3749726,3749804,4401474,4401736,4402237,1096859,1096868,1096874,1096885,1096895,3739216,3739824,3741001,1097254,1097256,1097258,1097263,1097264,1097273,1097439,1097448,1097452,2630501,2641838,4552088,4552268,5535495,5539674,1097457,1097466,1097479,1097483,1097508,1097520,1097561)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 36Using 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.05051 seconds
Time After: 0.05261 seconds
Time Taken: 0.00210 seconds

Memory Before: 10,065.750 KB
Memory After: 10,114.773 KB
Memory Used: 49.023 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,1096598,1096604,1096606,1096607,1096613,1096620,1096659,1096666,1096670,1096673,1096677,1096712,1096817,1096843,1096850,1096859,1096868,1096874,1096885,1096895,1097254,1097256,1097258,1097263,1097264,1097273,1097439,1097448,1097452,1097457,1097466,1097479,1097483,1097508,1097520,1097561,1097594,1097609,1098260,1098362,1099190,1099482,1101809,1101815,1101818,1101873,1101900,1101908,1101962,1103193,1103206,2622375,2623755,2626138,2626154,2630501,2630780,2634167,2634186,2634300,2634351,2634584,2634753,2636782,2636828,2636897,2636949,2636957,2637166,2637759,2641838,3738331,3738529,3738760,3738844,3738872,3739204,3739216,3739824,3741001,3743598,3743652,3749726,3749804,3749831,3751258,3751289,3754083,3755215,3769223,3770819,3770836,3770880,3771103,3771636,3771840,3771854,4401474,4401736,4402237,4402801,4415539,4455653,4502504,4502630,4502721,4502977,4502986,4552088,4552268,5535495,5539674,5539699,5956838,5956848,6054216,6054301) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 118Using index condition; Using MRR; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_thanks.userid1Using where

Time Before: 0.05749 seconds
Time After: 0.06324 seconds
Time Taken: 0.00575 seconds

Memory Before: 8,115.766 KB
Memory After: 8,190.492 KB
Memory Used: 74.727 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,1096598,1096604,1096606,1096607,1096613,1096620,1096659,1096666,1096670,1096673,1096677,1096712,1096817,1096843,1096850,1096859,1096868,1096874,1096885,1096895,1097254,1097256,1097258,1097263,1097264,1097273,1097439,1097448,1097452,1097457,1097466,1097479,1097483,1097508,1097520,1097561,1097594,1097609,1098260,1098362,1099190,1099482,1101809,1101815,1101818,1101873,1101900,1101908,1101962,1103193,1103206,2622375,2623755,2626138,2626154,2630501,2630780,2634167,2634186,2634300,2634351,2634584,2634753,2636782,2636828,2636897,2636949,2636957,2637166,2637759,2641838,3738331,3738529,3738760,3738844,3738872,3739204,3739216,3739824,3741001,3743598,3743652,3749726,3749804,3749831,3751258,3751289,3754083,3755215,3769223,3770819,3770836,3770880,3771103,3771636,3771840,3771854,4401474,4401736,4402237,4402801,4415539,4455653,4502504,4502630,4502721,4502977,4502986,4552088,4552268,5535495,5539674,5539699,5956838,5956848,6054216,6054301) ORDER BY post_groan.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_groanrangepostidpostid4 236Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.post_groan.userid1Using where

Time Before: 0.06649 seconds
Time After: 0.06727 seconds
Time Taken: 0.00078 seconds

Memory Before: 8,248.852 KB
Memory After: 8,249.617 KB
Memory Used: 0.766 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.07009 seconds
Time After: 0.07014 seconds
Time Taken: 0.00004 seconds

Memory Before: 8,390.805 KB
Memory After: 8,391.852 KB
Memory Used: 1.047 KB

Time after parsing all posts: 0.15403890609741 Memory After: 9,101KB
SQL Query
UPDATE session
SET lastactivity = 1733336280, location = '/community/showthread.php?p=1096859&mode=threaded&explain=1', inforum = 421, inthread = 213719, incalendar = 0, badlocation = 0
WHERE sessionhash = '0a90f9838da4b8eec2661af9b0abf2cf'

Time Before: 0.15822 seconds
Time After: 0.15870 seconds
Time Taken: 0.00048 seconds

Memory Before: 10,616.188 KB
Memory After: 10,616.336 KB
Memory Used: 0.148 KB

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

Time Before: 0.15874 seconds
Time After: 0.15902 seconds
Time Taken: 0.00028 seconds

Memory Before: 10,610.453 KB
Memory After: 10,610.813 KB
Memory Used: 0.359 KB

Page generated in 0.15641593933105 seconds with 16 queries, spending 0.015783548355103 doing MySQL queries and 0.14063239097595 doing PHP things.
Shutdown Queries:
DISABLED