Including Functions.php

Time Before: 0.00428 seconds
Time After: 0.01071 seconds
Time Taken: 0.00643 seconds

Memory Before: 1,778.852 KB
Memory After: 2,973.563 KB
Memory Used: 1,194.711 KB

Connect to Database on Server: localhost

Time Before: 0.01079 seconds
Time After: 0.01114 seconds
Time Taken: 0.00036 seconds

Memory Before: 2,973.547 KB
Memory After: 2,981.047 KB
Memory Used: 7.500 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01126 seconds
Time After: 0.01133 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,981.734 KB
Memory After: 2,982.297 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.01171 seconds
Time After: 0.01198 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,985.656 KB
Memory After: 3,051.633 KB
Memory Used: 65.977 KB

Time Before: 0.01135 seconds
Time After: 0.01269 seconds
Time Taken: 0.00134 seconds

Memory Before: 2,981.539 KB
Memory After: 3,457.898 KB
Memory Used: 476.359 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.01474 seconds
Time After: 0.01481 seconds
Time Taken: 0.00007 seconds

Memory Before: 4,031.156 KB
Memory After: 4,033.672 KB
Memory Used: 2.516 KB

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

Time Before: 0.01540 seconds
Time After: 0.01551 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,050.336 KB
Memory After: 4,056.977 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.01597 seconds
Time After: 0.01622 seconds
Time Taken: 0.00025 seconds

Memory Before: 4,062.719 KB
Memory After: 4,068.992 KB
Memory Used: 6.273 KB

Time Before: 0.01504 seconds
Time After: 0.01632 seconds
Time Taken: 0.00128 seconds

Memory Before: 4,043.055 KB
Memory After: 4,112.492 KB
Memory Used: 69.438 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.01678 seconds
Time After: 0.01688 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,120.750 KB
Memory After: 4,123.297 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.01992 seconds
Time After: 0.02015 seconds
Time Taken: 0.00023 seconds

Memory Before: 4,473.250 KB
Memory After: 4,479.094 KB
Memory Used: 5.844 KB

End call of global.php: 0.02099084854126
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.02305 seconds
Time After: 0.02349 seconds
Time Taken: 0.00044 seconds

Memory Before: 5,243.727 KB
Memory After: 5,253.992 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.02450 seconds
Time After: 0.02471 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,469.656 KB
Memory After: 5,476.086 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.02570 seconds
Time After: 0.02609 seconds
Time Taken: 0.00039 seconds

Memory Before: 5,660.195 KB
Memory After: 5,663.406 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.02828 seconds
Time After: 0.02844 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,804.773 KB
Memory After: 5,812.781 KB
Memory Used: 8.008 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 <= 1560714202
	AND enddate >= 1560714202
	AND forumid IN (43,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.03019 seconds
Time After: 0.03031 seconds
Time Taken: 0.00012 seconds

Memory Before: 5,915.188 KB
Memory After: 5,919.125 KB
Memory Used: 3.938 KB

SQL Query
SELECT COUNT(*) AS threads

FROM vbulletin_thread AS thread


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

Time Before: 0.03061 seconds
Time After: 0.03109 seconds
Time Taken: 0.00048 seconds

Memory Before: 5,924.156 KB
Memory After: 5,926.055 KB
Memory Used: 1.898 KB

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


WHERE thread.forumid = 43
	AND thread.lastpost > 1560714202
	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.03132 seconds
Time After: 0.03144 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,924.875 KB
Memory After: 5,926.734 KB
Memory Used: 1.859 KB

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

Time Before: 0.03165 seconds
Time After: 0.03175 seconds
Time Taken: 0.00010 seconds

Memory Before: 5,924.953 KB
Memory After: 5,927.344 KB
Memory Used: 2.391 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 = 43
	AND sticky = 0
	
	 AND visible IN (1,2)
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 1180, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,forumid_lastpostforumid6 872100.00Using index condition; Using filesort

Time Before: 0.03201 seconds
Time After: 0.03562 seconds
Time Taken: 0.00360 seconds

Memory Before: 5,926.813 KB
Memory After: 5,931.188 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,7778,7777,7772,7762,7771,7764,7766,7765,7728,7752,7761,7743,7753,7027,7075,7718,7737,7724,7735,7749) 
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.03621 seconds
Time After: 0.03678 seconds
Time Taken: 0.00057 seconds

Memory Before: 5,931.656 KB
Memory After: 5,946.508 KB
Memory Used: 14.852 KB

SQL Query
UPDATE vbulletin_session
SET lastactivity = 1560714202, location = 'forumdisplay.php?f=43&page=60', inforum = 43, badlocation = 0
WHERE sessionhash = '83b6f00a3fcdccd6b31bb7071e4f93dd'

Time Before: 0.07267 seconds
Time After: 0.07285 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,646.328 KB
Memory After: 6,646.594 KB
Memory Used: 0.266 KB

Page generated in 0.071846961975098 seconds with 18 queries, spending 0.0078194141387939 doing MySQL queries and 0.064027547836304 doing PHP things.
Shutdown Queries:
DISABLED