Including Functions.php

Time Before: 0.00018 seconds
Time After: 0.00020 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.00023 seconds
Time After: 0.00051 seconds
Time Taken: 0.00029 seconds

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

SQL Query
SET @@sql_mode = ''

Time Before: 0.00060 seconds
Time After: 0.00067 seconds
Time Taken: 0.00007 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.00105 seconds
Time After: 0.00129 seconds
Time Taken: 0.00024 seconds

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

Time Before: 0.00068 seconds
Time After: 0.00562 seconds
Time Taken: 0.00493 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.00583 seconds
Time After: 0.00605 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.225.54.147'
	AND idhash = 'feb509ed9a46a65838cadf902b61bb3c'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1161Using where

Time Before: 0.00634 seconds
Time After: 0.00721 seconds
Time Taken: 0.00087 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.00757 seconds
Time After: 0.00767 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,165.313 KB
Memory After: 1,310.258 KB
Memory Used: 144.945 KB

Time Before: 0.00614 seconds
Time After: 0.00773 seconds
Time Taken: 0.00159 seconds

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

Time Before: 0.00939 seconds
Time After: 0.00961 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,365.977 KB
Memory After: 1,382.297 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.00984 seconds
Time After: 0.01004 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,368.719 KB
Memory After: 1,385.289 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.01033 seconds
Time After: 0.01042 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,373.680 KB
Memory After: 1,470.188 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.01144 seconds
Time After: 0.01172 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,526.703 KB
Memory After: 1,840.258 KB
Memory Used: 313.555 KB

End call of global.php: 0.012630939483643
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.01372 seconds
Time After: 0.02410 seconds
Time Taken: 0.01038 seconds

Memory Before: 1,893.398 KB
Memory After: 2,881.617 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.02920 seconds
Time After: 0.03068 seconds
Time Taken: 0.00148 seconds

Memory Before: 5,679.555 KB
Memory After: 5,692.547 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 (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
1SIMPLEpostrangePRIMARYPRIMARY4 40Using 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.03808 seconds
Time After: 0.05817 seconds
Time Taken: 0.02009 seconds

Memory Before: 5,716.734 KB
Memory After: 5,943.109 KB
Memory Used: 226.375 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.05978 seconds
Time After: 0.06337 seconds
Time Taken: 0.00359 seconds

Memory Before: 2,838.969 KB
Memory After: 3,138.344 KB
Memory Used: 299.375 KB

Time after parsing all posts: 0.17193388938904 Memory After: 3,318KB
SQL Query
UPDATE session
SET lastactivity = 1734928753, location = '/showthread.php?explain=1&mode=threaded&p=2578933', inforum = 13, inthread = 162335
WHERE sessionhash = '511cfacd716227592636b276be7d772f'

Time Before: 0.19814 seconds
Time After: 0.19829 seconds
Time Taken: 0.00014 seconds

Memory Before: 3,899.641 KB
Memory After: 3,899.563 KB
Memory Used: -0.078 KB

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

Time Before: 0.19831 seconds
Time After: 0.19867 seconds
Time Taken: 0.00036 seconds

Memory Before: 3,897.219 KB
Memory After: 3,897.266 KB
Memory Used: 0.047 KB

Page generated in 0.19759202003479 seconds with 15 queries, spending 0.038624286651611 doing MySQL queries and 0.15896773338318 doing PHP things.
Shutdown Queries:
DISABLED