Including Functions.php

Time Before: 0.00011 seconds
Time After: 0.00012 seconds
Time Taken: 0.00001 seconds

Memory Before: 428.703 KB
Memory After: 430.539 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00013 seconds
Time After: 0.00033 seconds
Time Taken: 0.00020 seconds

Memory Before: 430.523 KB
Memory After: 431.414 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00040 seconds
Time After: 0.00044 seconds
Time Taken: 0.00005 seconds

Memory Before: 431.461 KB
Memory After: 431.516 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.00067 seconds
Time After: 0.00085 seconds
Time Taken: 0.00018 seconds

Memory Before: 433.055 KB
Memory After: 650.234 KB
Memory Used: 217.180 KB

Time Before: 0.00046 seconds
Time After: 0.00529 seconds
Time Taken: 0.00483 seconds

Memory Before: 431.305 KB
Memory After: 966.969 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.00549 seconds
Time After: 0.00566 seconds
Time Taken: 0.00017 seconds

Memory Before: 968.703 KB
Memory After: 1,353.023 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.117.72.24'
	AND idhash = '572d384874785ed2fbff2147f32c02e9'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1026Using where

Time Before: 0.00595 seconds
Time After: 0.00601 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,159.211 KB
Memory After: 1,175.656 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.00633 seconds
Time After: 0.00642 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,165.352 KB
Memory After: 1,310.297 KB
Memory Used: 144.945 KB

Time Before: 0.00577 seconds
Time After: 0.00647 seconds
Time Taken: 0.00071 seconds

Memory Before: 1,156.766 KB
Memory After: 1,235.594 KB
Memory Used: 78.828 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.00794 seconds
Time After: 0.00810 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,365.461 KB
Memory After: 1,382.031 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.00834 seconds
Time After: 0.00842 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,370.141 KB
Memory After: 1,466.648 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.01683 seconds
Time After: 0.01714 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,523.477 KB
Memory After: 1,837.031 KB
Memory Used: 313.555 KB

End call of global.php: 0.018034934997559
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.01912 seconds
Time After: 0.03035 seconds
Time Taken: 0.01123 seconds

Memory Before: 1,890.172 KB
Memory After: 2,850.391 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.03544 seconds
Time After: 0.03721 seconds
Time Taken: 0.00177 seconds

Memory Before: 5,618.781 KB
Memory After: 5,648.461 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 (214688)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEpostparsedconstPRIMARYPRIMARY8const,const,const0Unique row not found
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const0Unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEmodificationALL    19206Using where
1SIMPLElicenceeq_refPRIMARYPRIMARY4vbsupport_vborg.modification.mod_licence1Using where

Time Before: 0.05024 seconds
Time After: 0.06830 seconds
Time Taken: 0.01806 seconds

Memory Before: 5,764.031 KB
Memory After: 5,836.797 KB
Memory Used: 72.766 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.06946 seconds
Time After: 0.07063 seconds
Time Taken: 0.00117 seconds

Memory Before: 2,245.602 KB
Memory After: 2,273.977 KB
Memory Used: 28.375 KB

Time after parsing all posts: 0.071480989456177 Memory After: 2,227KB
SQL Query
UPDATE session
SET location = '/showthread.php?explain=1&mode=hybrid&t=34315', inforum = 13, inthread = 34315
WHERE sessionhash = '43e96afaabd0b473a3220775a6cdc92c'

Time Before: 0.07304 seconds
Time After: 0.07315 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,529.820 KB
Memory After: 2,529.742 KB
Memory Used: -0.078 KB

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

Time Before: 0.07317 seconds
Time After: 0.07365 seconds
Time Taken: 0.00048 seconds

Memory Before: 2,527.531 KB
Memory After: 2,527.578 KB
Memory Used: 0.047 KB

Page generated in 0.072805881500244 seconds with 14 queries, spending 0.034124851226807 doing MySQL queries and 0.038681030273438 doing PHP things.
Shutdown Queries:
DISABLED