Including Functions.php

Time Before: 0.00713 seconds
Time After: 0.01526 seconds
Time Taken: 0.00813 seconds

Memory Before: 1,778.656 KB
Memory After: 2,973.406 KB
Memory Used: 1,194.750 KB

Connect to Database on Server: localhost

Time Before: 0.01534 seconds
Time After: 0.01571 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,973.391 KB
Memory After: 2,980.922 KB
Memory Used: 7.531 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01583 seconds
Time After: 0.01591 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,981.625 KB
Memory After: 2,982.188 KB
Memory Used: 0.563 KB

Datastore Setup
SQL Query
SELECT *
FROM vbulletin_datastore
WHERE title IN ('iconcache','mailqueue','prefixcache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_datastore rangePRIMARYPRIMARY52 17100.00Using index condition

Time Before: 0.01630 seconds
Time After: 0.01659 seconds
Time Taken: 0.00029 seconds

Memory Before: 2,985.555 KB
Memory After: 3,051.531 KB
Memory Used: 65.977 KB

Time Before: 0.01593 seconds
Time After: 0.01729 seconds
Time Taken: 0.00135 seconds

Memory Before: 2,981.430 KB
Memory After: 3,457.773 KB
Memory Used: 476.344 KB

SQL Query
SELECT *
FROM vbulletin_datastore
WHERE title IN ('profilefield')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.01936 seconds
Time After: 0.01944 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,030.992 KB
Memory After: 4,033.508 KB
Memory Used: 2.516 KB

Session Handling
SQL Query
SELECT *
FROM vbulletin_session
WHERE userid = 0
	AND host = '34.236.38.146'
	AND idhash = 'dec358efcb04439eaf716ffa0ae457de'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_session refuser_activity,guest_lookupguest_lookup55const,const,const2100.00 

Time Before: 0.02003 seconds
Time After: 0.02014 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,049.609 KB
Memory After: 4,056.250 KB
Memory Used: 6.641 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_prefix AS phrasegroup_prefix,
			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 vbulletin_language
WHERE languageid = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_language systemPRIMARY   1100.00 

Time Before: 0.02061 seconds
Time After: 0.02089 seconds
Time Taken: 0.00027 seconds

Memory Before: 4,061.977 KB
Memory After: 4,068.250 KB
Memory Used: 6.273 KB

Time Before: 0.01967 seconds
Time After: 0.02099 seconds
Time Taken: 0.00133 seconds

Memory Before: 4,042.391 KB
Memory After: 4,111.750 KB
Memory Used: 69.359 KB

SQL Query
SELECT *
FROM vbulletin_datastore
WHERE title IN ('routes','profilefield')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_datastore rangePRIMARYPRIMARY52 2100.00Using index condition

Time Before: 0.02144 seconds
Time After: 0.02155 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,120.008 KB
Memory After: 4,122.555 KB
Memory Used: 2.547 KB

SQL Query
SELECT *
FROM vbulletin_style
WHERE (styleid = 3 AND userselect = 1)
	OR styleid = 3
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_style constPRIMARYPRIMARY2const1100.00 

Time Before: 0.02453 seconds
Time After: 0.02475 seconds
Time Taken: 0.00022 seconds

Memory Before: 4,472.586 KB
Memory After: 4,478.430 KB
Memory Used: 5.844 KB

End call of global.php: 0.025542974472046
SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM vbulletin_moderator AS moderator
INNER JOIN vbulletin_user AS user USING(userid)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEmoderator ALLuserid_forumid   83100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.moderator.userid1100.00 

Time Before: 0.02758 seconds
Time After: 0.02803 seconds
Time Taken: 0.00046 seconds

Memory Before: 5,243.102 KB
Memory After: 5,253.367 KB
Memory Used: 10.266 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 vbulletin_forum AS forum

LEFT JOIN vbulletin_user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN vbulletin_userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    7100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.forum.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,relationid,useridPRIMARY9const,arborday_vbulletin.user.userid,const1100.00 

Time Before: 0.02906 seconds
Time After: 0.02928 seconds
Time Taken: 0.00022 seconds

Memory Before: 5,469.258 KB
Memory After: 5,475.688 KB
Memory Used: 6.430 KB

SQL Query
SELECT title, template
FROM vbulletin_template
WHERE templateid IN (74,1164,1552,1554,1553,1175,1176,1172,1174,1171,1173,1167,1642,1592,1542,958,1930,1602,1672,0,0,79,73,72,77,78,973,976,80,81,82,1358,1654,1304,1308,1305,1306,1307,1670,0,0,1633,1635,1328,1329,1331,1332,1555,1597,1596,1646,1598,1155,1154,1158)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_template rangePRIMARYPRIMARY4 52100.00Using index condition

Time Before: 0.03023 seconds
Time After: 0.03065 seconds
Time Taken: 0.00042 seconds

Memory Before: 5,659.789 KB
Memory After: 5,663.000 KB
Memory Used: 3.211 KB

SQL Query
SELECT *
FROM vbulletin_navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_navigation ALL    27100.00Using where; Using filesort

Time Before: 0.03298 seconds
Time After: 0.03313 seconds
Time Taken: 0.00015 seconds

Memory Before: 5,804.813 KB
Memory After: 5,812.836 KB
Memory Used: 8.023 KB

SQL Query
SELECT
	announcement.announcementid, startdate, title, announcement.views,
	user.username, user.userid, user.usertitle, user.customtitle, user.usergroupid,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM vbulletin_announcement AS announcement

LEFT JOIN vbulletin_user AS user ON(user.userid = announcement.userid)

WHERE startdate <= 1566729447
	AND enddate >= 1566729447
	AND forumid IN (41,36,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.03487 seconds
Time After: 0.03499 seconds
Time Taken: 0.00012 seconds

Memory Before: 5,915.219 KB
Memory After: 5,919.141 KB
Memory Used: 3.922 KB

SQL Query
SELECT COUNT(*) AS threads

FROM vbulletin_thread AS thread


WHERE thread.forumid = 41
	AND sticky = 0
	
	 AND visible IN (1,2)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,forumid_lastpostforumid6 301100.00Using where; Using index

Time Before: 0.03537 seconds
Time After: 0.03563 seconds
Time Taken: 0.00026 seconds

Memory Before: 5,924.172 KB
Memory After: 5,926.070 KB
Memory Used: 1.898 KB

SQL Query
SELECT COUNT(*) AS newthread
FROM vbulletin_thread AS thread


WHERE thread.forumid = 41
	AND thread.lastpost > 1566729447
	AND open <> 10
	AND sticky = 0
	
	 AND visible IN (1,2)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,forumid_lastpost,lastpostforumid_lastpost6 15.00Using index condition; Using where

Time Before: 0.03589 seconds
Time After: 0.03601 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,924.891 KB
Memory After: 5,926.750 KB
Memory Used: 1.859 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM vbulletin_thread AS thread
WHERE forumid = 41
	AND sticky = 1
	
	 AND visible IN (1,2)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,forumid_lastpostforumid6 2100.00Using index condition

Time Before: 0.03624 seconds
Time After: 0.03635 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,924.969 KB
Memory After: 5,927.383 KB
Memory Used: 2.414 KB

SQL Query
SELECT  thread.threadid,
	thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views
	
FROM vbulletin_thread AS thread


WHERE forumid = 41
	AND sticky = 0
	
	 AND visible IN (1,2)
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,forumid_lastpostforumid_lastpost2const5762.00Using where

Time Before: 0.03663 seconds
Time After: 0.03684 seconds
Time Taken: 0.00020 seconds

Memory Before: 5,926.805 KB
Memory After: 5,931.180 KB
Memory Used: 4.375 KB

SQL Query
SELECT 
	IF(votenum >= 1, votenum, 0) AS votenum,
	IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
 post.pagetext AS preview,
	thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
	thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
	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
	
	, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
	
	
	
FROM vbulletin_thread AS thread
	LEFT JOIN vbulletin_user AS user ON (user.userid = thread.lastposterid)
	LEFT JOIN vbulletin_userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
	LEFT JOIN vbulletin_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
	
	
	LEFT JOIN vbulletin_post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0,10669,10537,9540,10670,10668,10665,10666,10659,10291,10378,10250,10387,10339,10362,10354,10353,10187,10347,10324,10328) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 21100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.thread.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,relationid,useridPRIMARY9const,arborday_vbulletin.user.userid,const1100.00 
1SIMPLEdeletionlog eq_refPRIMARY,typePRIMARY5arborday_vbulletin.thread.threadid,const1100.00 
1SIMPLEpost eq_refPRIMARYPRIMARY4arborday_vbulletin.thread.firstpostid1100.00 

Time Before: 0.03744 seconds
Time After: 0.03808 seconds
Time Taken: 0.00064 seconds

Memory Before: 5,931.750 KB
Memory After: 5,946.578 KB
Memory Used: 14.828 KB

SQL Query
UPDATE vbulletin_session
SET lastactivity = 1566729447, location = 'forumdisplay.php?f=41', inforum = 41, badlocation = 0
WHERE sessionhash = '08095d8ac063b538ef7021ffbdb136b2'

Time Before: 0.06350 seconds
Time After: 0.06369 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,564.195 KB
Memory After: 6,564.477 KB
Memory Used: 0.281 KB

Page generated in 0.062817811965942 seconds with 18 queries, spending 0.004385232925415 doing MySQL queries and 0.058432579040527 doing PHP things.
Shutdown Queries:
DISABLED