Including Functions.php

Time Before: 0.00076 seconds
Time After: 0.00098 seconds
Time Taken: 0.00022 seconds

Memory Before: 506.922 KB
Memory After: 529.492 KB
Memory Used: 22.570 KB

Connect to Database on Server: localhost

Time Before: 0.00105 seconds
Time After: 0.00134 seconds
Time Taken: 0.00029 seconds

Memory Before: 529.430 KB
Memory After: 530.422 KB
Memory Used: 0.992 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00148 seconds
Time After: 0.00157 seconds
Time Taken: 0.00009 seconds

Memory Before: 530.977 KB
Memory After: 531.500 KB
Memory Used: 0.523 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('userstats','birthdaycache','maxloggedin','iconcache','eventcache','mailqueue','activeblocks','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 21Using where

Time Before: 0.00222 seconds
Time After: 0.00244 seconds
Time Taken: 0.00023 seconds

Memory Before: 534.578 KB
Memory After: 535.484 KB
Memory Used: 0.906 KB

Time Before: 0.00162 seconds
Time After: 0.00466 seconds
Time Taken: 0.00305 seconds

Memory Before: 530.750 KB
Memory After: 1,448.695 KB
Memory Used: 917.945 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('profilefield')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.00571 seconds
Time After: 0.00578 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,927.703 KB
Memory After: 1,928.227 KB
Memory Used: 0.523 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.92.193.89'
	AND idhash = '00bd93eb97c5d4c6cfb8849031967114'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefuser_activity,guest_lookupguest_lookup51const,const,const2Using where

Time Before: 0.00645 seconds
Time After: 0.00695 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,941.453 KB
Memory After: 1,942.094 KB
Memory Used: 0.641 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_holiday AS phrasegroup_holiday,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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 = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.00827 seconds
Time After: 0.00844 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,953.258 KB
Memory After: 1,953.313 KB
Memory Used: 0.055 KB

Time Before: 0.00592 seconds
Time After: 0.00861 seconds
Time Taken: 0.00269 seconds

Memory Before: 1,934.672 KB
Memory After: 2,011.531 KB
Memory Used: 76.859 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes','profilefield')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 2Using where

Time Before: 0.00909 seconds
Time After: 0.00917 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,013.141 KB
Memory After: 2,013.703 KB
Memory Used: 0.563 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 3 AND userselect = 1)
	OR styleid = 3
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.03240 seconds
Time After: 0.03262 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,412.070 KB
Memory After: 2,412.664 KB
Memory Used: 0.594 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (1703,421,476,477,479,480,481,482,478,1358,549,555,1310,551,552,553,554,900,1315,1313,1420,1051,0,0,429,423,422,1700,428,1694,1724,430,431,1688,737,1033,1414,1417,1415,685,1416,1049,0,0,1012,1014,707,708,1418,711,934,976,975,1025,977,534,533,537,1365,1322,1323,1342,1347,1343,1334,1349,1333,1341,1336,1344,1354,1340,1346,1357,1355,1356,1348,1352,1351,1337,1353,1338,1339,1345,1335,1350,1370,1409,1459,1458,1460,1472)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 89Using where

Time Before: 0.03565 seconds
Time After: 0.03591 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,300.828 KB
Memory After: 3,303.023 KB
Memory Used: 2.195 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 1471
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.03884 seconds
Time After: 0.03893 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,492.930 KB
Memory After: 3,493.477 KB
Memory Used: 0.547 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 1470
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.03967 seconds
Time After: 0.03976 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,503.984 KB
Memory After: 3,504.531 KB
Memory Used: 0.547 KB

SQL Query
SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.postusername, thread.postuserid, thread.lastposter, thread.lastposterid, thread.dateline, thread.views, thread.visible, thread.open, user.usergroupid, user.displaygroupid
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
WHERE NOT ISNULL(thread.threadid) AND thread.visible = '1' AND thread.open!='10'  AND thread.forumid NOT IN(3,51)
ORDER BY lastpost DESC
LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadindexPRIMARY,forumid,forumid_lastpostlastpost4 15Using where
1SIMPLEusereq_refPRIMARYPRIMARY4rolandviet_rlvn.thread.lastposterid1 

Time Before: 0.04447 seconds
Time After: 0.04513 seconds
Time Taken: 0.00066 seconds

Memory Before: 3,501.609 KB
Memory After: 3,503.570 KB
Memory Used: 1.961 KB

SQL Query
SELECT userid, usergroupid, displaygroupid, username, posts
FROM user AS user
WHERE posts > '0' 
ORDER BY posts DESC
LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserALL    2410Using where; Using filesort

Time Before: 0.08056 seconds
Time After: 0.08413 seconds
Time Taken: 0.00357 seconds

Memory Before: 3,536.719 KB
Memory After: 3,537.867 KB
Memory Used: 1.148 KB

End call of global.php: 0.089946031570435
SQL Query
SELECT
	user.username, (user.options & 512) AS invisible, user.usergroupid, user.lastvisit,
	session.userid, session.inforum, session.lastactivity, session.badlocation,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
	
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)

WHERE session.lastactivity > 1542629247
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 18Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4rolandviet_rlvn.session.userid1 

Time Before: 0.09065 seconds
Time After: 0.09115 seconds
Time Taken: 0.00050 seconds

Memory Before: 3,586.180 KB
Memory After: 3,588.227 KB
Memory Used: 2.047 KB

SQL Query
SELECT forum.forumid, forum.lastpost, forum.lastposter, forum.lastposterid, forum.lastthread, forum.lastthreadid, forum.lasticonid, forum.threadcount, forum.replycount, forum.lastpostid, forum.lastprefixid, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
	user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
	
FROM forum AS forum

LEFT JOIN user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    52 
1SIMPLEusereq_refPRIMARYPRIMARY4rolandviet_rlvn.forum.lastposterid1 
1SIMPLEuserlisteq_refPRIMARY,relationid,useridPRIMARY9const,rolandviet_rlvn.user.userid,const1Using where

Time Before: 0.09202 seconds
Time After: 0.09297 seconds
Time Taken: 0.00095 seconds

Memory Before: 3,591.586 KB
Memory After: 3,599.289 KB
Memory Used: 7.703 KB

SQL Query
SELECT contenttype.contenttypeid AS itemid
	
FROM contenttype AS contenttype
	INNER JOIN package AS package
	ON package.packageid = contenttype.packageid LEFT JOIN product AS product
	ON product.productid = package.productid 
WHERE
	1 = 1 AND (product.active = '1' OR package.productid = 'vbulletin')  AND contenttype.cantag = '1'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpackageALLPRIMARY   3 
1SIMPLEproducteq_refPRIMARYPRIMARY27rolandviet_rlvn.package.productid1Using where
1SIMPLEcontenttyperefpackageclasspackageclass4rolandviet_rlvn.package.packageid1Using where

Time Before: 0.23809 seconds
Time After: 0.23819 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,118.750 KB
Memory After: 4,119.008 KB
Memory Used: 0.258 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.23989 seconds
Time After: 0.24000 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,233.750 KB
Memory After: 4,234.289 KB
Memory Used: 0.539 KB

SQL Query
SELECT data.tagid, data.tagtext, SUM(data.searchcount) AS searchcount
FROM
	(
SELECT tagcontent.tagid, tag.tagtext, COUNT(*) AS searchcount
FROM tagcontent AS tagcontent
INNER JOIN tag AS tag ON (tagcontent.tagid = tag.tagid) INNER JOIN thread AS thread ON (tagcontent.contentid = thread.threadid)
WHERE tagcontent.contenttypeid IN (2) AND
	tagcontent.dateline > 1511094147 AND thread.open <> 10 AND thread.visible = 1 AND thread.forumid IN (3,1,2,4,5,51,6,7,8,9,10,11,12,13,14,15,17,16,18,19,20,21,22,23,24,25,26,27,28,38,39,40,41,42,43,44,29,30,31,32,56,57,46,50,47,48,49,33,34,35,36,37)
GROUP BY tagcontent.tagid, tag.tagtext
					) AS data
GROUP BY data.tagid, data.tagtext
ORDER BY searchcount DESC
LIMIT 30
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYALL    120Using temporary; Using filesort
2DERIVEDtagcontentrangePRIMARY,id_type_user,datelinedateline4 160Using index condition; Using where; Using temporary; Using filesort
2DERIVEDthreadeq_refPRIMARY,forumid,forumid_lastpostPRIMARY4rolandviet_rlvn.tagcontent.contentid1Using where
2DERIVEDtageq_refPRIMARYPRIMARY4rolandviet_rlvn.tagcontent.tagid1 

Time Before: 0.24160 seconds
Time After: 0.24315 seconds
Time Taken: 0.00156 seconds

Memory Before: 4,298.680 KB
Memory After: 4,299.445 KB
Memory Used: 0.766 KB

SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    41Using where; Using filesort

Time Before: 0.24790 seconds
Time After: 0.24801 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,331.453 KB
Memory After: 4,336.445 KB
Memory Used: 4.992 KB

SQL Query
UPDATE session
SET lastactivity = 1542630147, location = '/forum.php?explain=1', inforum = 0, badlocation = 0
WHERE sessionhash = '42592f44d5e26eda5bb8ee1fd5bf123c'

Time Before: 0.25620 seconds
Time After: 0.25646 seconds
Time Taken: 0.00026 seconds

Memory Before: 5,484.836 KB
Memory After: 5,485.063 KB
Memory Used: 0.227 KB

Page generated in 0.25309109687805 seconds with 19 queries, spending 0.0099015235900879 doing MySQL queries and 0.24318957328796 doing PHP things.
Shutdown Queries:
DISABLED