Including Functions.php

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

Memory Before: 431.617 KB
Memory After: 433.453 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00023 seconds
Time After: 0.00052 seconds
Time Taken: 0.00029 seconds

Memory Before: 433.438 KB
Memory After: 434.328 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00061 seconds
Time After: 0.00067 seconds
Time Taken: 0.00006 seconds

Memory Before: 434.375 KB
Memory After: 434.430 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.00098 seconds
Time After: 0.00124 seconds
Time Taken: 0.00026 seconds

Memory Before: 435.969 KB
Memory After: 653.148 KB
Memory Used: 217.180 KB

Time Before: 0.00069 seconds
Time After: 0.00597 seconds
Time Taken: 0.00528 seconds

Memory Before: 434.219 KB
Memory After: 969.883 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.00622 seconds
Time After: 0.00646 seconds
Time Taken: 0.00024 seconds

Memory Before: 971.617 KB
Memory After: 1,355.938 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = '2b940616c4e31331e14d4124b9021120'
	AND lastactivity > 1742155624
	AND idhash = '610ff0e6798c956842a3b97522a71f8c'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.00675 seconds
Time After: 0.00691 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,162.156 KB
Memory After: 1,178.727 KB
Memory Used: 16.570 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.00731 seconds
Time After: 0.00745 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,168.109 KB
Memory After: 1,313.055 KB
Memory Used: 144.945 KB

Time Before: 0.00655 seconds
Time After: 0.00750 seconds
Time Taken: 0.00096 seconds

Memory Before: 1,159.680 KB
Memory After: 1,238.164 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 = 1227592
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00919 seconds
Time After: 0.00947 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,368.586 KB
Memory After: 1,384.906 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 144150
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

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

Memory Before: 1,371.422 KB
Memory After: 1,387.992 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.01010 seconds
Time After: 0.01021 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,376.375 KB
Memory After: 1,472.883 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.01124 seconds
Time After: 0.01157 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,529.398 KB
Memory After: 1,842.953 KB
Memory Used: 313.555 KB

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

Time Before: 0.01356 seconds
Time After: 0.01870 seconds
Time Taken: 0.00514 seconds

Memory Before: 1,896.016 KB
Memory After: 2,371.234 KB
Memory Used: 475.219 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 = 144150) LEFT JOIN modsys_licences AS licence ON(licence.modsys_licencesid = modification.mod_licence) 
WHERE post.postid IN (1227592)
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.02464 seconds
Time After: 0.04137 seconds
Time Taken: 0.01673 seconds

Memory Before: 3,581.773 KB
Memory After: 3,654.539 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,1221081,1221082,1221107,1221113,1221188,1221201,1221211,1221222,1221252,1221255,1221317,1221318,1221330,1221356,1221373,1221616,1221806,1221982,1222026,1222270,1222335,1222778,1222945,1223185,1226493,1227517,1227592,1228259,1228310,1228848,1228865,1229560,1230373,1231070,1232403,1235136,1237835,1237888,1237962,1238086,1238149,1239496,1240096,1240168,1244851,1244998,1246287,1247058,1247138,1247339,1247387,1248915,1250390,1251649,1255490,1255599,1257353,1257457,1258020,1258191,1258217,1258265,1262662,1262679,1262972,1263369,1266572,1276460,1276680,1276740,1277245,1277257,1279885,1286394,1287706,1287709,1288105,1288133,1288523,1288773,1288885,1289155,1292998,1293369,1293372,1293825,1294181,1304793,1304810,1304913,1304922,1305248,1309616,1309766,1310063,1310588,1311029,1311325,1311559,1311988,1312895,1315286,1322798,1322980,1323006,1323380,1328546,1328553,1329037,1329104,1329176,1329398,1329470,1334207,1334209,1334212,1336712,1338226,1338314,1338808,1340435,1347017,1348971,1349969,1350041,1350201,1361249,1361835,1362012,1369795,1391400,1391989,1394737,1399985,1413259,1701092,1701149,1701203,1702891,1703138,1766664,1766801,1767248,1769977,1770320,1772313,1776153,1786348,1786349,1787253,1788338,1788435,1788473,1795858,1796831,1797851,1797864,1807424,1807577,2037389,2037829,2040554,2040584,2042081,2043041,2044511,2044896,2049640,2049805,2049964,2056259,2059744,2059840,2059841,2176022,2209932,2297355,2375084,2387120,2530882) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 181Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post_thanks.userid1Using where

Time Before: 0.04291 seconds
Time After: 0.04404 seconds
Time Taken: 0.00113 seconds

Memory Before: 2,062.914 KB
Memory After: 2,093.539 KB
Memory Used: 30.625 KB

Time after parsing all posts: 0.044990062713623 Memory After: 2,026KB
SQL Query
UPDATE session
SET location = '/showthread.php?explain=1&p=1227592', inforum = 13, inthread = 144150
WHERE sessionhash = '2b940616c4e31331e14d4124b9021120'

Time Before: 0.04668 seconds
Time After: 0.04690 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,303.844 KB
Memory After: 2,303.766 KB
Memory Used: -0.078 KB

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

Time Before: 0.04692 seconds
Time After: 0.04761 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,301.570 KB
Memory After: 2,301.617 KB
Memory Used: 0.047 KB

Page generated in 0.046485900878906 seconds with 14 queries, spending 0.025910139083862 doing MySQL queries and 0.020575761795044 doing PHP things.
Shutdown Queries:
DISABLED