Including Functions.php

Time Before: 0.00019 seconds
Time After: 0.00020 seconds
Time Taken: 0.00002 seconds

Memory Before: 431.492 KB
Memory After: 433.328 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00023 seconds
Time After: 0.00047 seconds
Time Taken: 0.00025 seconds

Memory Before: 433.313 KB
Memory After: 434.203 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00054 seconds
Time After: 0.00060 seconds
Time Taken: 0.00005 seconds

Memory Before: 434.250 KB
Memory After: 434.305 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.00087 seconds
Time After: 0.00108 seconds
Time Taken: 0.00021 seconds

Memory Before: 435.844 KB
Memory After: 653.023 KB
Memory Used: 217.180 KB

Time Before: 0.00061 seconds
Time After: 0.00542 seconds
Time Taken: 0.00481 seconds

Memory Before: 434.094 KB
Memory After: 969.758 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.00563 seconds
Time After: 0.00582 seconds
Time Taken: 0.00019 seconds

Memory Before: 971.492 KB
Memory After: 1,355.813 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.135.249.76'
	AND idhash = 'd378e03513c66a2b263ff482f1115dee'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1100Using where

Time Before: 0.00609 seconds
Time After: 0.00690 seconds
Time Taken: 0.00081 seconds

Memory Before: 1,162.000 KB
Memory After: 1,178.445 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.00727 seconds
Time After: 0.00738 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,167.984 KB
Memory After: 1,312.930 KB
Memory Used: 144.945 KB

Time Before: 0.00590 seconds
Time After: 0.00744 seconds
Time Taken: 0.00154 seconds

Memory Before: 1,159.555 KB
Memory After: 1,238.039 KB
Memory Used: 78.484 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 = 1391038
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00904 seconds
Time After: 0.00928 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,368.461 KB
Memory After: 1,384.781 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 162335
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00949 seconds
Time After: 0.00964 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,371.203 KB
Memory After: 1,387.773 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.00999 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,376.164 KB
Memory After: 1,472.672 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.01110 seconds
Time After: 0.01151 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,529.188 KB
Memory After: 1,842.742 KB
Memory Used: 313.555 KB

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

Time Before: 0.01341 seconds
Time After: 0.02318 seconds
Time Taken: 0.00977 seconds

Memory Before: 1,895.820 KB
Memory After: 2,884.039 KB
Memory Used: 988.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,1379507,1379510,1379526,1379530,1379635,1379800,1379907,1379930,1380028,1380029,1380032,1380034,1380057,1380457,1382968,1382970,1382998,1383108,1383135,1383171,1383226,1383463,1383469,1383472,1383511,1383575,1384067,1384110,1384121,1384152,1384696,1387724,1390202,1390212,1390222,1390262,1390286,1390287,1390510,1390571,1391038,1395677,1401150,1401163,1401191,1401500,1403384,1408832,1408845,1409433,1424221,1429548,1429553,1429569,1429571,1429576,1429600,1429637,1430356,1430759,1430813,1432091,1432109,1433501,1433590,1433595,1433612,1433618,1437846,1438169,1455156,1471733,1490642,1492883,1495476,1497688,1506311,1508129,1508842,1539652,1574037,1577792,1613336,1614671,1614760,1625843,1653542,1659850,1661667,1663071,1663093,1663094,1663119,1673829,1679337,1679354,1679391,1679568,1680194,1685079,1685084,1685880,1685956,1691949,1692489,1692989,1693016,1693025,1694623,1697669,1713122,1774559,1775168,1813265,1814619,1814717,1819571,1819631,1820266,1820345,1820490,1828689,1829688,1834807,1837089,1837176,1837191,1837295,1837359,1840179,1840665,1840673,1844520,1848509,1848743,1848814,1852008,1854943,1857424,1884333,1884340,1884347,1884355,1884368,1884373,1884392,1884400,1884406,1884443,1884447,1921460,1921467,1921539,1921541,1921562,1921632,1921800,1925094,1925200,1925212,1931178,1932202,1934242,1934258,1934264,1934384,1942765,1943070,1964979,1977216,1981864,1981919,1995628,1995802,2017787,2067410,2097947,2098060,2098061,2098080,2098097,2098104,2098114,2098123,2098165,2098192,2098220,2126556,2126668,2126734,2126859,2126871,2133803,2134520,2156904,2157107,2157247,2162390,2162415,2171727,2189960,2192400,2192431,2192588,2192654,2240496,2245680,2245718,2245775,2245828,2245970,2246034,2262295,2262345,2262588,2266403,2266552,2266566,2266631,2266672,2266712,2272287,2272313,2272319,2272388,2272391,2272401,2272418,2272442,2272489,2272567,2272741,2277419,2278048,2278050,2293149,2294489,2294528,2294532,2294535,2294551,2294589,2294590,2294593,2294606,2294663,2294686,2294694,2294703,2294730,2294772,2294774,2294789,2294793,2298286,2442299,2442356,2445546,2445588,2445670,2445681,2445876,2446001,2446321,2446362,2446363,2450644,2452868,2459212,2459251,2459510,2459553,2459557,2459560,2459562,2459563,2459657,2464068,2464079,2464112,2464171,2464179,2464195,2464260,2464301,2465125,2468154,2469191,2471512,2471515,2471532,2480519,2480525,2480531,2481076,2481177,2481179,2481186,2486331,2487744,2490436,2490514,2490516,2490517,2490524,2497141,2515160,2515168,2515189,2515196,2515197,2515265,2515302,2515344,2515392,2515395,2515825,2515827,2515828,2516110,2541469,2541538,2541554,2541591,2541602,2541611,2541612,2541613,2541647,2541707,2541929,2541931,2541941,2541942,2541957,2542194,2542195,2544942,2545313,2545320,2545347,2545351,2545360,2555314,2555329,2555331,2555623,2555625,2555648,2556778,2556802,2556804,2556806,2557656,2557662,2557663,2557679,2557691,2557698,2559404,2559407,2559409,2559464,2559467,2568229,2568233,2568237,2569067,2569239,2570185,2570287,2575346,2575358,2575891,2575901,2575908,2575913,2575914,2575916,2575949,2575951,2575958,2576153,2576165,2576811,2576812,2576816,2576817,2576819,2576826,2576832,2576836,2576839,2576852,2576919,2578751,2578752,2578753,2578754,2578755,2578933,2578935,2578948,2578960)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrangepostidpostid4 405Using index condition
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where

Time Before: 0.02819 seconds
Time After: 0.02954 seconds
Time Taken: 0.00135 seconds

Memory Before: 5,681.977 KB
Memory After: 5,694.969 KB
Memory Used: 12.992 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 = 162335) LEFT JOIN modsys_licences AS licence ON(licence.modsys_licencesid = modification.mod_licence) 
WHERE post.postid IN (1384696,1387724,1390202,1390212,1390222,1390262,1390286,1390287,1390510,1390571,1391038,1395677,1401150,1401163,1401191,1401500,1403384,1408832,1408845,1409433,1424221,1429548,1429553,1429569,1429571,1429576,1429600,1429637,1430356,1430759,1430813,1432091,1432109,1433501,1433590,1433595,1433612,1433618,1437846,1438169,1455156)
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.03676 seconds
Time After: 0.05538 seconds
Time Taken: 0.01863 seconds

Memory Before: 5,719.156 KB
Memory After: 5,917.656 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,1379507,1379510,1379526,1379530,1379635,1379800,1379907,1379930,1380028,1380029,1380032,1380034,1380057,1380457,1382968,1382970,1382998,1383108,1383135,1383171,1383226,1383463,1383469,1383472,1383511,1383575,1384067,1384110,1384121,1384152,1384696,1387724,1390202,1390212,1390222,1390262,1390286,1390287,1390510,1390571,1391038,1395677,1401150,1401163,1401191,1401500,1403384,1408832,1408845,1409433,1424221,1429548,1429553,1429569,1429571,1429576,1429600,1429637,1430356,1430759,1430813,1432091,1432109,1433501,1433590,1433595,1433612,1433618,1437846,1438169,1455156,1471733,1490642,1492883,1495476,1497688,1506311,1508129,1508842,1539652,1574037,1577792,1613336,1614671,1614760,1625843,1653542,1659850,1661667,1663071,1663093,1663094,1663119,1673829,1679337,1679354,1679391,1679568,1680194,1685079,1685084,1685880,1685956,1691949,1692489,1692989,1693016,1693025,1694623,1697669,1713122,1774559,1775168,1813265,1814619,1814717,1819571,1819631,1820266,1820345,1820490,1828689,1829688,1834807,1837089,1837176,1837191,1837295,1837359,1840179,1840665,1840673,1844520,1848509,1848743,1848814,1852008,1854943,1857424,1884333,1884340,1884347,1884355,1884368,1884373,1884392,1884400,1884406,1884443,1884447,1921460,1921467,1921539,1921541,1921562,1921632,1921800,1925094,1925200,1925212,1931178,1932202,1934242,1934258,1934264,1934384,1942765,1943070,1964979,1977216,1981864,1981919,1995628,1995802,2017787,2067410,2097947,2098060,2098061,2098080,2098097,2098104,2098114,2098123,2098165,2098192,2098220,2126556,2126668,2126734,2126859,2126871,2133803,2134520,2156904,2157107,2157247,2162390,2162415,2171727,2189960,2192400,2192431,2192588,2192654,2240496,2245680,2245718,2245775,2245828,2245970,2246034,2262295,2262345,2262588,2266403,2266552,2266566,2266631,2266672,2266712,2272287,2272313,2272319,2272388,2272391,2272401,2272418,2272442,2272489,2272567,2272741,2277419,2278048,2278050,2293149,2294489,2294528,2294532,2294535,2294551,2294589,2294590,2294593,2294606,2294663,2294686,2294694,2294703,2294730,2294772,2294774,2294789,2294793,2298286,2442299,2442356,2445546,2445588,2445670,2445681,2445876,2446001,2446321,2446362,2446363,2450644,2452868,2459212,2459251,2459510,2459553,2459557,2459560,2459562,2459563,2459657,2464068,2464079,2464112,2464171,2464179,2464195,2464260,2464301,2465125,2468154,2469191,2471512,2471515,2471532,2480519,2480525,2480531,2481076,2481177,2481179,2481186,2486331,2487744,2490436,2490514,2490516,2490517,2490524,2497141,2515160,2515168,2515189,2515196,2515197,2515265,2515302,2515344,2515392,2515395,2515825,2515827,2515828,2516110,2541469,2541538,2541554,2541591,2541602,2541611,2541612,2541613,2541647,2541707,2541929,2541931,2541941,2541942,2541957,2542194,2542195,2544942,2545313,2545320,2545347,2545351,2545360,2555314,2555329,2555331,2555623,2555625,2555648,2556778,2556802,2556804,2556806,2557656,2557662,2557663,2557679,2557691,2557698,2559404,2559407,2559409,2559464,2559467,2568229,2568233,2568237,2569067,2569239,2570185,2570287,2575346,2575358,2575891,2575901,2575908,2575913,2575914,2575916,2575949,2575951,2575958,2576153,2576165,2576811,2576812,2576816,2576817,2576819,2576826,2576832,2576836,2576839,2576852,2576919,2578751,2578752,2578753,2578754,2578755,2578933,2578935,2578948,2578960) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 405Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post_thanks.userid1Using where

Time Before: 0.05694 seconds
Time After: 0.06019 seconds
Time Taken: 0.00325 seconds

Memory Before: 2,804.328 KB
Memory After: 3,103.703 KB
Memory Used: 299.375 KB

Time after parsing all posts: 0.09968900680542 Memory After: 3,232KB
SQL Query
UPDATE session
SET location = '/showthread.php?explain=1&mode=threaded&p=1391038', inforum = 13, inthread = 162335
WHERE sessionhash = '31bb26c9b5bcd48fb76b1b2763e41a06'

Time Before: 0.10186 seconds
Time After: 0.10199 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,772.453 KB
Memory After: 3,772.375 KB
Memory Used: -0.078 KB

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

Time Before: 0.10201 seconds
Time After: 0.10255 seconds
Time Taken: 0.00053 seconds

Memory Before: 3,770.148 KB
Memory After: 3,770.195 KB
Memory Used: 0.047 KB

Page generated in 0.10144996643066 seconds with 15 queries, spending 0.036168813705444 doing MySQL queries and 0.06528115272522 doing PHP things.
Shutdown Queries:
DISABLED