Including Functions.php

Time Before: 0.00014 seconds
Time After: 0.00016 seconds
Time Taken: 0.00003 seconds

Memory Before: 428.734 KB
Memory After: 430.570 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00019 seconds
Time After: 0.00044 seconds
Time Taken: 0.00026 seconds

Memory Before: 430.555 KB
Memory After: 431.445 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00053 seconds
Time After: 0.00061 seconds
Time Taken: 0.00008 seconds

Memory Before: 431.492 KB
Memory After: 431.547 KB
Memory Used: 0.055 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
1SIMPLEdatastorerangePRIMARYPRIMARY200 18Using where

Time Before: 0.00096 seconds
Time After: 0.00115 seconds
Time Taken: 0.00020 seconds

Memory Before: 433.086 KB
Memory After: 650.266 KB
Memory Used: 217.180 KB

Time Before: 0.00064 seconds
Time After: 0.00965 seconds
Time Taken: 0.00901 seconds

Memory Before: 431.336 KB
Memory After: 967.000 KB
Memory Used: 535.664 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('modstats_coder','modstats_designer','modstats_motm','modtitle_coder','modtitle_designer')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY200 5Using where

Time Before: 0.01001 seconds
Time After: 0.01023 seconds
Time Taken: 0.00023 seconds

Memory Before: 968.734 KB
Memory After: 1,353.055 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.227.209.89'
	AND idhash = '2058c42c41674a394eff2384a78162cd'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1354Using where

Time Before: 0.01060 seconds
Time After: 0.01149 seconds
Time Taken: 0.00089 seconds

Memory Before: 1,159.242 KB
Memory After: 1,175.688 KB
Memory Used: 16.445 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,
			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.01194 seconds
Time After: 0.01206 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,165.414 KB
Memory After: 1,310.359 KB
Memory Used: 144.945 KB

Time Before: 0.01032 seconds
Time After: 0.01214 seconds
Time Taken: 0.00181 seconds

Memory Before: 1,156.797 KB
Memory After: 1,235.656 KB
Memory Used: 78.859 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 = 2280599
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01538 seconds
Time After: 0.01574 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,366.078 KB
Memory After: 1,382.398 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 265270
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01606 seconds
Time After: 0.01629 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,368.891 KB
Memory After: 1,385.461 KB
Memory Used: 16.570 KB

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

Time Before: 0.01671 seconds
Time After: 0.01684 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,373.898 KB
Memory After: 1,470.406 KB
Memory Used: 96.508 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (69,70,72,71,154,560,186,187,189,196,195,607,369,355,356,358,357,360,362,363,364,366,368,92,94,96,98,602,398,401,402,399,397,470,471,348,347,349,353,351,498,132,131,133,134,641,644,624,67,66,68,63,62,339,645,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,599,600,595,609,596,131,132,133,134,149,584,585,587,588,586,583,581,582,594,589,590,593,592,591,366,394,395,392,598,615,619,610,611,612,613,616,618)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 102Using where

Time Before: 0.01932 seconds
Time After: 0.02023 seconds
Time Taken: 0.00091 seconds

Memory Before: 1,526.922 KB
Memory After: 1,840.477 KB
Memory Used: 313.555 KB

End call of global.php: 0.021440982818604
SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	
	
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 = 265270
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const425Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vborg.user.userid1Using where

Time Before: 0.02263 seconds
Time After: 0.05526 seconds
Time Taken: 0.03263 seconds

Memory Before: 1,893.617 KB
Memory After: 3,105.836 KB
Memory Used: 1,212.219 KB

SQL Query
SELECT dateline, thumbnail_dateline,filename, filesize, visible, attachmentid, counter,
	postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
	attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid IN (0,2208289,2208416,2208560,2209333,2210455,2210496,2210510,2210957,2211047,2211824,2211915,2211918,2212281,2212654,2213114,2213149,2213151,2213153,2213190,2213451,2213467,2214980,2215133,2216147,2216174,2216187,2216416,2216726,2217543,2217774,2218522,2218549,2218558,2218855,2218909,2220856,2220866,2220894,2221995,2222194,2222294,2222302,2222310,2222353,2223015,2223638,2223753,2224042,2224087,2224097,2224102,2224119,2224177,2224212,2224336,2224351,2224424,2224521,2224628,2228408,2230850,2230876,2233885,2234579,2234770,2235114,2235411,2235435,2237186,2240259,2240261,2240265,2240372,2240404,2240990,2241652,2241695,2243796,2245518,2245675,2248659,2255133,2255437,2255926,2256202,2257382,2258345,2258384,2258902,2261749,2261845,2261865,2261866,2262401,2264023,2265644,2271392,2272122,2272212,2274578,2274658,2274661,2274672,2274684,2274725,2274731,2274862,2274979,2276449,2276982,2276987,2277100,2277105,2277313,2277374,2277375,2277429,2277969,2277974,2278198,2278376,2278505,2278558,2278671,2279344,2279518,2279827,2279895,2280277,2280451,2280599,2281324,2281360,2281432,2281629,2281663,2281685,2281951,2281955,2282488,2282496,2282550,2282576,2282585,2282596,2282652,2282761,2282767,2282771,2282842,2282893,2283086,2283097,2283103,2283110,2283111,2283128,2283335,2283355,2283359,2283362,2283476,2283711,2283873,2283907,2283919,2284611,2284737,2284839,2284855,2285305,2285432,2285436,2285470,2285475,2285477,2285480,2285488,2285491,2285493,2285495,2285496,2285506,2285567,2285814,2285916,2286053,2287200,2287396,2287787,2288012,2289276,2290220,2290364,2290564,2290600,2290626,2291162,2291169,2291220,2291227,2291234,2291366,2291387,2291413,2291676,2291787,2292113,2292114,2292120,2292184,2292277,2292286,2292303,2292307,2292321,2292346,2292488,2292489,2292522,2292723,2293195,2293204,2295594,2297053,2299046,2299123,2300210,2300287,2300309,2300530,2300565,2300631,2300648,2300692,2300808,2301591,2301637,2302102,2302167,2303044,2303103,2306041,2306473,2306501,2306506,2308335,2308496,2308547,2308578,2310541,2310561,2311008,2311446,2311449,2311519,2311523,2311541,2311544,2311547,2311551,2311581,2311591,2311644,2311657,2312090,2312161,2312185,2312209,2312218,2312606,2316470,2316854,2316886,2316926,2317171,2318228,2319654,2320503,2320510,2320787,2323000,2323065,2325312,2325349,2325594,2325834,2325848,2325853,2325867,2326091,2326095,2326102,2326951,2326968,2326971,2327015,2327031,2327076,2327083,2327190,2327210,2327216,2327255,2327758,2327785,2327799,2327807,2327830,2328654,2328672,2328703,2328763,2328785,2328837,2328849,2328894,2328895,2328897,2328905,2329350,2329351,2329363,2329391,2329415,2329420,2329485,2329493,2329934,2329939,2329983,2330023,2330157,2330163,2330285,2331666,2331688,2331723,2331903,2332007,2336626,2337524,2339307,2339574,2339646,2340785,2341788,2341879,2341893,2343731,2343740,2347381,2348273,2349021,2349044,2349054,2349138,2349180,2351226,2351319,2351390,2351392,2351500,2351754,2351783,2351813,2351824,2354279,2355481,2355708,2356192,2359559,2361389,2361434,2361437,2361513,2361875,2362041,2364337,2364419,2365567,2365569,2365570,2365584,2365587,2365784,2369896,2371714,2373866,2373868,2386667,2386692,2387119,2387165,2387181,2387289,2387946,2387947,2388233,2388307,2420262,2420305,2420338,2420493,2420548,2420554,2420611,2421558,2422046,2422052,2422276,2422280,2422520,2422692,2427930,2427959,2431022,2431042,2431056,2436022,2452937,2452938,2452948,2525177,2525315,2525321,2529758,2529762,2529763,2529764)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrangepostidpostid4 431Using index condition
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where

Time Before: 0.06980 seconds
Time After: 0.07163 seconds
Time Taken: 0.00183 seconds

Memory Before: 6,038.961 KB
Memory After: 6,063.891 KB
Memory Used: 24.930 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(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	,modification.last_update,modification.author,modification.mod_productid,modification.mod_supported,modification.mod_dbchanges,modification.mod_usesplugins,modification.mod_edtemplates,modification.mod_autemplates,modification.mod_reuseable,modification.mod_codechange,modification.mod_additional,modification.mod_translation,modification.mod_licence,modification.mod_verified,modification.mod_external,modification.mod_betastage,modification.mod_version,modification.mod_coauthors,modification.mod_installcount,modification.mod_vbversion,modification.motm,licence.title AS licence_used,licence.licence
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 = 2 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	LEFT JOIN modsys_settings AS modification ON(modification.threadid = 265270) LEFT JOIN modsys_licences AS licence ON(licence.modsys_licencesid = modification.mod_licence) 
WHERE post.postid IN (2278376,2278505,2278558,2278671,2279344,2279518,2279827,2279895,2280277,2280451,2280599,2281324,2281360,2281432,2281629,2281663,2281685,2281951,2281955,2282488,2282496,2282550,2282576,2282585,2282596,2282652,2282761,2282767,2282771,2282842,2282893,2283086,2283097,2283103,2283110,2283111,2283128,2283335,2283355,2283359,2283362)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 41Using index condition
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vborg.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4vbsupport_vborg.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2vbsupport_vborg.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbsupport_vborg.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbsupport_vborg.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4vbsupport_vborg.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8vbsupport_vborg.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8vbsupport_vborg.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4vbsupport_vborg.post.userid1 
1SIMPLEmodificationALL    19206Using where; Using join buffer (flat, BNL join)
1SIMPLElicenceeq_refPRIMARYPRIMARY4vbsupport_vborg.modification.mod_licence1Using where

Time Before: 0.08756 seconds
Time After: 0.10819 seconds
Time Taken: 0.02063 seconds

Memory Before: 6,136.172 KB
Memory After: 6,362.672 KB
Memory Used: 226.500 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,0,2208289,2208416,2208560,2209333,2210455,2210496,2210510,2210957,2211047,2211824,2211915,2211918,2212281,2212654,2213114,2213149,2213151,2213153,2213190,2213451,2213467,2214980,2215133,2216147,2216174,2216187,2216416,2216726,2217543,2217774,2218522,2218549,2218558,2218855,2218909,2220856,2220866,2220894,2221995,2222194,2222294,2222302,2222310,2222353,2223015,2223638,2223753,2224042,2224087,2224097,2224102,2224119,2224177,2224212,2224336,2224351,2224424,2224521,2224628,2228408,2230850,2230876,2233885,2234579,2234770,2235114,2235411,2235435,2237186,2240259,2240261,2240265,2240372,2240404,2240990,2241652,2241695,2243796,2245518,2245675,2248659,2255133,2255437,2255926,2256202,2257382,2258345,2258384,2258902,2261749,2261845,2261865,2261866,2262401,2264023,2265644,2271392,2272122,2272212,2274578,2274658,2274661,2274672,2274684,2274725,2274731,2274862,2274979,2276449,2276982,2276987,2277100,2277105,2277313,2277374,2277375,2277429,2277969,2277974,2278198,2278376,2278505,2278558,2278671,2279344,2279518,2279827,2279895,2280277,2280451,2280599,2281324,2281360,2281432,2281629,2281663,2281685,2281951,2281955,2282488,2282496,2282550,2282576,2282585,2282596,2282652,2282761,2282767,2282771,2282842,2282893,2283086,2283097,2283103,2283110,2283111,2283128,2283335,2283355,2283359,2283362,2283476,2283711,2283873,2283907,2283919,2284611,2284737,2284839,2284855,2285305,2285432,2285436,2285470,2285475,2285477,2285480,2285488,2285491,2285493,2285495,2285496,2285506,2285567,2285814,2285916,2286053,2287200,2287396,2287787,2288012,2289276,2290220,2290364,2290564,2290600,2290626,2291162,2291169,2291220,2291227,2291234,2291366,2291387,2291413,2291676,2291787,2292113,2292114,2292120,2292184,2292277,2292286,2292303,2292307,2292321,2292346,2292488,2292489,2292522,2292723,2293195,2293204,2295594,2297053,2299046,2299123,2300210,2300287,2300309,2300530,2300565,2300631,2300648,2300692,2300808,2301591,2301637,2302102,2302167,2303044,2303103,2306041,2306473,2306501,2306506,2308335,2308496,2308547,2308578,2310541,2310561,2311008,2311446,2311449,2311519,2311523,2311541,2311544,2311547,2311551,2311581,2311591,2311644,2311657,2312090,2312161,2312185,2312209,2312218,2312606,2316470,2316854,2316886,2316926,2317171,2318228,2319654,2320503,2320510,2320787,2323000,2323065,2325312,2325349,2325594,2325834,2325848,2325853,2325867,2326091,2326095,2326102,2326951,2326968,2326971,2327015,2327031,2327076,2327083,2327190,2327210,2327216,2327255,2327758,2327785,2327799,2327807,2327830,2328654,2328672,2328703,2328763,2328785,2328837,2328849,2328894,2328895,2328897,2328905,2329350,2329351,2329363,2329391,2329415,2329420,2329485,2329493,2329934,2329939,2329983,2330023,2330157,2330163,2330285,2331666,2331688,2331723,2331903,2332007,2336626,2337524,2339307,2339574,2339646,2340785,2341788,2341879,2341893,2343731,2343740,2347381,2348273,2349021,2349044,2349054,2349138,2349180,2351226,2351319,2351390,2351392,2351500,2351754,2351783,2351813,2351824,2354279,2355481,2355708,2356192,2359559,2361389,2361434,2361437,2361513,2361875,2362041,2364337,2364419,2365567,2365569,2365570,2365584,2365587,2365784,2369896,2371714,2373866,2373868,2386667,2386692,2387119,2387165,2387181,2387289,2387946,2387947,2388233,2388307,2420262,2420305,2420338,2420493,2420548,2420554,2420611,2421558,2422046,2422052,2422276,2422280,2422520,2422692,2427930,2427959,2431022,2431042,2431056,2436022,2452937,2452938,2452948,2525177,2525315,2525321,2529758,2529762,2529763,2529764) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 431Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post_thanks.userid1Using where

Time Before: 0.10974 seconds
Time After: 0.11165 seconds
Time Taken: 0.00192 seconds

Memory Before: 2,914.961 KB
Memory After: 3,036.336 KB
Memory Used: 121.375 KB

Time after parsing all posts: 0.15532493591309 Memory After: 3,323KB
SQL Query
UPDATE session
SET location = '/showthread.php?explain=1&mode=threaded&p=2280599', inforum = 251, inthread = 265270
WHERE sessionhash = 'fb18dce0f5526db3e426a5fd8e865930'

Time Before: 0.15737 seconds
Time After: 0.15749 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,919.844 KB
Memory After: 3,919.766 KB
Memory Used: -0.078 KB

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

Time Before: 0.15751 seconds
Time After: 0.15806 seconds
Time Taken: 0.00055 seconds

Memory Before: 3,917.539 KB
Memory After: 3,917.586 KB
Memory Used: 0.047 KB

Page generated in 0.15689396858215 seconds with 15 queries, spending 0.061084747314453 doing MySQL queries and 0.0958092212677 doing PHP things.
Shutdown Queries:
DISABLED