Including Functions.php

Time Before: 0.01106 seconds
Time After: 0.02391 seconds
Time Taken: 0.01285 seconds

Memory Before: 857.344 KB
Memory After: 893.430 KB
Memory Used: 36.086 KB

Connect to Database on Server: localhost

Time Before: 0.02409 seconds
Time After: 0.02628 seconds
Time Taken: 0.00219 seconds

Memory Before: 893.320 KB
Memory After: 894.102 KB
Memory Used: 0.781 KB

Datastore Setup
SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY50 16Using where

Time Before: 0.03063 seconds
Time After: 0.03281 seconds
Time Taken: 0.00218 seconds

Memory Before: 943.656 KB
Memory After: 944.000 KB
Memory Used: 0.344 KB

Time Before: 0.02649 seconds
Time After: 0.03825 seconds
Time Taken: 0.01176 seconds

Memory Before: 893.594 KB
Memory After: 3,220.984 KB
Memory Used: 2,327.391 KB

SQL Query
SELECT varname, value 
FROM `vb_awc_settings`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_awc_settingsALL    457 

Time Before: 0.04130 seconds
Time After: 0.04169 seconds
Time Taken: 0.00039 seconds

Memory Before: 3,280.273 KB
Memory After: 3,280.773 KB
Memory Used: 0.500 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '54.80.236.48'
	AND idhash = '1235173a7b8cacba5a6b2ddc00da8039'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    255Using where

Time Before: 0.07796 seconds
Time After: 0.07820 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,351.273 KB
Memory After: 3,351.672 KB
Memory Used: 0.398 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,
			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 vb_language
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_languagesystemPRIMARY   1 

Time Before: 0.07927 seconds
Time After: 0.07975 seconds
Time Taken: 0.00048 seconds

Memory Before: 3,362.141 KB
Memory After: 3,361.906 KB
Memory Used: -0.234 KB

Time Before: 0.07715 seconds
Time After: 0.08002 seconds
Time Taken: 0.00286 seconds

Memory Before: 3,346.883 KB
Memory After: 3,501.313 KB
Memory Used: 154.430 KB

SQL Query
SELECT *
FROM vb_style
WHERE (styleid = 37 AND userselect = 1)
	OR styleid = 37
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_styleconstPRIMARYPRIMARY2const1 

Time Before: 0.08452 seconds
Time After: 0.08470 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,827.273 KB
Memory After: 3,827.703 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (11105,10819,9851,11552,11551,11205,6479,6480,5889,6472,11209,11211,11195,11208,11196,11197,11210,11212,11207,11601,11611,11540,9836,3541,9853,1556,11107,8169,11104,11103,11380,9852,11332,11333,11334,11600,11603,11612,11353,11354,11355,11356,11554,11617,11616,11618,9837,7334,7335,11176,11177,11179,11180,11342,10729,10731,10726,10751,10732,10733,10734,10735,10790,10789,10795,10796,9571,9573,9575,9577,9579,9583,9571,9573,9575,9577,9579,9583,1557,5837,4543,4545,6473,6474,9344,9345,9346,10131,9584,9585,9586,9701,11622,9809,10814,10818,10859,10858)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 92Using where

Time Before: 0.08651 seconds
Time After: 0.08746 seconds
Time Taken: 0.00095 seconds

Memory Before: 4,141.078 KB
Memory After: 4,141.031 KB
Memory Used: -0.047 KB

End call of global.php: 0.117238998413
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM vb_forum AS forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    69 

Time Before: 0.12671 seconds
Time After: 0.12702 seconds
Time Taken: 0.00031 seconds

Memory Before: 4,632.773 KB
Memory After: 4,633.148 KB
Memory Used: 0.375 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM vb_moderator AS moderator
INNER JOIN vb_user AS user USING(userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorALLuserid_forumid   14 
1SIMPLEusereq_refPRIMARY,useridPRIMARY4thecodec_CCForum.moderator.userid1 

Time Before: 0.12867 seconds
Time After: 0.12898 seconds
Time Taken: 0.00030 seconds

Memory Before: 4,750.586 KB
Memory After: 4,750.922 KB
Memory Used: 0.336 KB

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

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

WHERE startdate <= 1508338348
	AND enddate >= 1508338348
	AND forumid IN (64,63,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEannouncementrangeforumid,startdatestartdate6 1Using where; Using filesort
1SIMPLEusereq_refPRIMARY,useridPRIMARY4thecodec_CCForum.announcement.userid1 

Time Before: 0.13245 seconds
Time After: 0.13262 seconds
Time Taken: 0.00018 seconds

Memory Before: 4,860.391 KB
Memory After: 4,860.414 KB
Memory Used: 0.023 KB

SQL Query
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1508338348 AND open <> 10, 1, 0)) AS newthread

FROM vb_thread AS thread


WHERE forumid = 64
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const28631 

Time Before: 0.13314 seconds
Time After: 0.23960 seconds
Time Taken: 0.10646 seconds

Memory Before: 4,868.773 KB
Memory After: 4,869.117 KB
Memory Used: 0.344 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM vb_thread AS thread
WHERE forumid = 64
	AND sticky = 1
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const3 

Time Before: 0.24022 seconds
Time After: 0.24034 seconds
Time Taken: 0.00013 seconds

Memory Before: 4,869.391 KB
Memory After: 4,869.797 KB
Memory Used: 0.406 KB

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


WHERE forumid = 64
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 240, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const28631Using where

Time Before: 0.24082 seconds
Time After: 0.24170 seconds
Time Taken: 0.00088 seconds

Memory Before: 4,871.734 KB
Memory After: 4,871.945 KB
Memory Used: 0.211 KB

SQL Query
SELECT title, description, fieldid, forums, display FROM vb_thread_fields_admin ORDER BY display
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_thread_fields_adminALL    8Using filesort

Time Before: 0.24217 seconds
Time After: 0.24228 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,894.086 KB
Memory After: 4,894.547 KB
Memory Used: 0.461 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, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
	thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, hiddencount, deletedcount
	
	
	
	
	, thread.field1 AS field1
FROM vb_thread AS thread
	
	
	
	LEFT JOIN vb_post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0,214664,214680,214678,214588,214627,214616,214650,214656,212718,214654,213480,214667,214673,214670,214671,214661,214668,214666,214652,214662,130241,208091,211599) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 24Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4thecodec_CCForum.thread.firstpostid1 

Time Before: 0.49362 seconds
Time After: 0.49488 seconds
Time Taken: 0.00126 seconds

Memory Before: 4,880.523 KB
Memory After: 4,880.125 KB
Memory Used: -0.398 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1508338348, location = '/forumz/forumdisplay.php?f=64&page=13&explain=1', inforum = 64, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'b292ef2b6997a938154edbeb6d55ea7c'

Time Before: 0.55729 seconds
Time After: 0.55750 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,762.273 KB
Memory After: 5,762.469 KB
Memory Used: 0.195 KB

Page generated in 0.555449962616 seconds with 15 queries, spending 0.116460323334 doing MySQL queries and 0.438989639282 doing PHP things.
Shutdown Queries:
DISABLED