Including Functions.php

Time Before: 0.00016 seconds
Time After: 0.00018 seconds
Time Taken: 0.00002 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.00021 seconds
Time After: 0.00043 seconds
Time Taken: 0.00022 seconds

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

SQL Query
SET @@sql_mode = ''

Time Before: 0.00050 seconds
Time After: 0.00055 seconds
Time Taken: 0.00005 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.00086 seconds
Time After: 0.00110 seconds
Time Taken: 0.00025 seconds

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

Time Before: 0.00057 seconds
Time After: 0.00546 seconds
Time Taken: 0.00489 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.00612 seconds
Time After: 0.00631 seconds
Time Taken: 0.00020 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 = '3.145.88.111'
	AND idhash = '9a5d5251dd206877e1b3a09f04f32aa6'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1346Using where

Time Before: 0.00657 seconds
Time After: 0.00706 seconds
Time Taken: 0.00049 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.00742 seconds
Time After: 0.00752 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,165.375 KB
Memory After: 1,310.320 KB
Memory Used: 144.945 KB

Time Before: 0.00638 seconds
Time After: 0.00757 seconds
Time Taken: 0.00119 seconds

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

Time Before: 0.00909 seconds
Time After: 0.00930 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,366.039 KB
Memory After: 1,382.359 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 34315
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00951 seconds
Time After: 0.00966 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,368.797 KB
Memory After: 1,385.367 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.00991 seconds
Time After: 0.01000 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,373.789 KB
Memory After: 1,470.297 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.01096 seconds
Time After: 0.01126 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,526.813 KB
Memory After: 1,840.367 KB
Memory Used: 313.555 KB

End call of global.php: 0.012147903442383
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 = 34315
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const394Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vborg.user.userid1Using where

Time Before: 0.01330 seconds
Time After: 0.02396 seconds
Time Taken: 0.01066 seconds

Memory Before: 1,893.508 KB
Memory After: 2,853.727 KB
Memory Used: 960.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,214688,214705,215095,215180,215291,215306,215315,215329,215333,215334,215489,215501,215534,215704,215759,215775,215849,215893,215902,215921,215925,215926,215940,216204,216206,216214,216216,216219,216384,216754,216764,216781,216812,216824,217230,218386,218404,218452,218629,218668,219365,219444,219455,219498,219578,219689,220034,220221,220222,220246,221719,221764,221849,221890,221895,222069,223446,224006,324298,324323,324345,324351,324365,324366,413469,413479,413490,413492,413504,413505,413506,413554,413777,413868,413871,413873,413892,413904,413908,413910,413913,413914,413948,413961,413963,413964,413965,413966,413978,413983,413986,413987,414002,414053,414127,414135,414142,414219,414227,414235,414238,414258,414306,414346,414404,414514,414521,414549,414555,414557,414636,414730,414792,414801,414811,414812,414816,414817,414931,415000,415003,415031,415072,415141,415160,415217,415280,415282,415306,415345,415350,415586,416114,416159,416205,416206,416212,416215,422655,422663,422680,422681,422684,422689,422712,422758,422759,422760,422778,422784,422796,422799,422800,422817,422819,422823,422895,422897,422929,422944,422957,422976,423300,423316,948391,948395,948414,948423,948425,948426,948456,948931,949143,949161,949222,950426,950648,950669,950670,950697,951219,951259,951485,951533,951539,951549,951594,951639,951642,951673,951676,951677,951694,951701,951864,951891,952014,952026,952108,952193,952443,954976,955378,955716,955726,955728,955740,955751,955752,955753,955755,955812,955813,955909,955963,956060,956414,956939,956958,956994,957023,957053,957155,957194,957230,957243,957942,959060,959321,959324,959327,959336,959343,959344,959348,959411,959413,960965,960979,960981,960982,961011,961097,961099,972934,973010,973049,973050,973203,973207,973208,973238,973241,973246,973532,973649,973719,974473,975052,1106913,1106959,1107115,1107259,1107261,1107278,1110318,1110533,1112032,1112329,1112442,1117706,1117730,1117739,1117740,1117828,1118433,1121913,1121914,1277404,1277425,1277427,1277479,1277480,1277483,1277490,1277492,1278139,1278224,1278332,1278335,1280400,1280979,1280994,1296294,1296314,1296317,1296332,1296335,1296344,1296352,1296369,1296380,1296831,1296833,1296843,1296928,1296931,1296932,1296981,1296987,1297015,1297017,1297021,1297023,1297024,1297323,1297326,1297329,1297347,1297349,1297352,1297355,1297365,1297419,1297424,1297430,1297432,1297492,1297513,1297608,1317062,1317097,1321585,1322371,1323211,1323403,1323419,1323976,1323992,1324150,1324412,1324429,1324497,1324728,1325737,1325936,1326605,1326670,1326698,1326768,1326840,1326886,1327037,1327558,1327921,1328693,1328787,1328789,1329189,1330146,1330206,1333856,1333867,1333871,1333879,1333929,1333953,1333967,1333996,1339789,1339986,1342858,1342894,1343715,1343764,1344254,1351617,1351909,1353895,1368808,1368829,1368835,1368877,1369203,1369251,1369253,1369295,1369300,1369302,1369305,1369716,1369740,1369774,1370681,1370684,1478555,1478785,1478787,1478802)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrangepostidpostid4 400Using index condition
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where

Time Before: 0.02928 seconds
Time After: 0.03094 seconds
Time Taken: 0.00166 seconds

Memory Before: 5,622.148 KB
Memory After: 5,651.828 KB
Memory Used: 29.680 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 = 34315) LEFT JOIN modsys_licences AS licence ON(licence.modsys_licencesid = modification.mod_licence) 
WHERE post.postid IN (221719,221764,221849,221890,221895,222069,223446,224006,324298,324323,324345,324351,324365,324366,413469,413479,413490,413492,413504,413505,413506,413554,413777,413868,413871,413873,413892,413904,413908,413910,413913,413914,413948,413961,413963,413964,413965,413966,413978,413983,413986)
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.03825 seconds
Time After: 0.05665 seconds
Time Taken: 0.01840 seconds

Memory Before: 5,786.023 KB
Memory After: 5,984.523 KB
Memory Used: 198.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,214688,214705,215095,215180,215291,215306,215315,215329,215333,215334,215489,215501,215534,215704,215759,215775,215849,215893,215902,215921,215925,215926,215940,216204,216206,216214,216216,216219,216384,216754,216764,216781,216812,216824,217230,218386,218404,218452,218629,218668,219365,219444,219455,219498,219578,219689,220034,220221,220222,220246,221719,221764,221849,221890,221895,222069,223446,224006,324298,324323,324345,324351,324365,324366,413469,413479,413490,413492,413504,413505,413506,413554,413777,413868,413871,413873,413892,413904,413908,413910,413913,413914,413948,413961,413963,413964,413965,413966,413978,413983,413986,413987,414002,414053,414127,414135,414142,414219,414227,414235,414238,414258,414306,414346,414404,414514,414521,414549,414555,414557,414636,414730,414792,414801,414811,414812,414816,414817,414931,415000,415003,415031,415072,415141,415160,415217,415280,415282,415306,415345,415350,415586,416114,416159,416205,416206,416212,416215,422655,422663,422680,422681,422684,422689,422712,422758,422759,422760,422778,422784,422796,422799,422800,422817,422819,422823,422895,422897,422929,422944,422957,422976,423300,423316,948391,948395,948414,948423,948425,948426,948456,948931,949143,949161,949222,950426,950648,950669,950670,950697,951219,951259,951485,951533,951539,951549,951594,951639,951642,951673,951676,951677,951694,951701,951864,951891,952014,952026,952108,952193,952443,954976,955378,955716,955726,955728,955740,955751,955752,955753,955755,955812,955813,955909,955963,956060,956414,956939,956958,956994,957023,957053,957155,957194,957230,957243,957942,959060,959321,959324,959327,959336,959343,959344,959348,959411,959413,960965,960979,960981,960982,961011,961097,961099,972934,973010,973049,973050,973203,973207,973208,973238,973241,973246,973532,973649,973719,974473,975052,1106913,1106959,1107115,1107259,1107261,1107278,1110318,1110533,1112032,1112329,1112442,1117706,1117730,1117739,1117740,1117828,1118433,1121913,1121914,1277404,1277425,1277427,1277479,1277480,1277483,1277490,1277492,1278139,1278224,1278332,1278335,1280400,1280979,1280994,1296294,1296314,1296317,1296332,1296335,1296344,1296352,1296369,1296380,1296831,1296833,1296843,1296928,1296931,1296932,1296981,1296987,1297015,1297017,1297021,1297023,1297024,1297323,1297326,1297329,1297347,1297349,1297352,1297355,1297365,1297419,1297424,1297430,1297432,1297492,1297513,1297608,1317062,1317097,1321585,1322371,1323211,1323403,1323419,1323976,1323992,1324150,1324412,1324429,1324497,1324728,1325737,1325936,1326605,1326670,1326698,1326768,1326840,1326886,1327037,1327558,1327921,1328693,1328787,1328789,1329189,1330146,1330206,1333856,1333867,1333871,1333879,1333929,1333953,1333967,1333996,1339789,1339986,1342858,1342894,1343715,1343764,1344254,1351617,1351909,1353895,1368808,1368829,1368835,1368877,1369203,1369251,1369253,1369295,1369300,1369302,1369305,1369716,1369740,1369774,1370681,1370684,1478555,1478785,1478787,1478802) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 400Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post_thanks.userid1Using where

Time Before: 0.05820 seconds
Time After: 0.05935 seconds
Time Taken: 0.00115 seconds

Memory Before: 2,927.742 KB
Memory After: 2,956.117 KB
Memory Used: 28.375 KB

Time after parsing all posts: 0.11058211326599 Memory After: 3,249KB
SQL Query
UPDATE session
SET lastactivity = 1735056298, location = '/showthread.php?explain=1&mode=threaded&p=324345', inforum = 13, inthread = 34315
WHERE sessionhash = '82b0261e9206e219c9c8f298dc0e518c'

Time Before: 0.11290 seconds
Time After: 0.11308 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,806.602 KB
Memory After: 3,806.523 KB
Memory Used: -0.078 KB

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

Time Before: 0.11314 seconds
Time After: 0.11370 seconds
Time Taken: 0.00056 seconds

Memory Before: 3,804.180 KB
Memory After: 3,804.227 KB
Memory Used: 0.047 KB

Page generated in 0.1122190952301 seconds with 15 queries, spending 0.034676074981689 doing MySQL queries and 0.077543020248413 doing PHP things.
Shutdown Queries:
DISABLED