Including Functions.php

Time Before: 0.01249 seconds
Time After: 0.02759 seconds
Time Taken: 0.01510 seconds

Memory Before: 857.734 KB
Memory After: 893.836 KB
Memory Used: 36.102 KB

Connect to Database on Server: localhost

Time Before: 0.02821 seconds
Time After: 0.03066 seconds
Time Taken: 0.00246 seconds

Memory Before: 893.719 KB
Memory After: 894.500 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.03525 seconds
Time After: 0.03876 seconds
Time Taken: 0.00350 seconds

Memory Before: 943.992 KB
Memory After: 944.336 KB
Memory Used: 0.344 KB

Time Before: 0.03092 seconds
Time After: 0.04490 seconds
Time Taken: 0.01398 seconds

Memory Before: 894.000 KB
Memory After: 3,222.867 KB
Memory Used: 2,328.867 KB

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

Time Before: 0.04837 seconds
Time After: 0.04882 seconds
Time Taken: 0.00045 seconds

Memory Before: 3,282.180 KB
Memory After: 3,282.680 KB
Memory Used: 0.500 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '54.160.245.121'
	AND idhash = 'f2a2e1797468635f58fa3cec86656031'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    150Using where

Time Before: 0.09034 seconds
Time After: 0.09054 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,353.102 KB
Memory After: 3,353.508 KB
Memory Used: 0.406 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.09161 seconds
Time After: 0.09217 seconds
Time Taken: 0.00057 seconds

Memory Before: 3,363.984 KB
Memory After: 3,363.773 KB
Memory Used: -0.211 KB

Time Before: 0.08938 seconds
Time After: 0.09246 seconds
Time Taken: 0.00308 seconds

Memory Before: 3,348.719 KB
Memory After: 3,503.219 KB
Memory Used: 154.500 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.09737 seconds
Time After: 0.09760 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,829.148 KB
Memory After: 3,829.578 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.09959 seconds
Time After: 0.10079 seconds
Time Taken: 0.00120 seconds

Memory Before: 4,142.922 KB
Memory After: 4,142.875 KB
Memory Used: -0.047 KB

End call of global.php: 0.163990020752
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.17451 seconds
Time After: 0.17480 seconds
Time Taken: 0.00029 seconds

Memory Before: 4,634.172 KB
Memory After: 4,634.547 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.17658 seconds
Time After: 0.17687 seconds
Time Taken: 0.00029 seconds

Memory Before: 4,751.945 KB
Memory After: 4,752.281 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 <= 1513052440
	AND enddate >= 1513052440
	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.18096 seconds
Time After: 0.18115 seconds
Time Taken: 0.00019 seconds

Memory Before: 4,865.430 KB
Memory After: 4,865.453 KB
Memory Used: 0.023 KB

SQL Query
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1513052440 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,const27573 

Time Before: 0.18173 seconds
Time After: 0.28851 seconds
Time Taken: 0.10678 seconds

Memory Before: 4,873.813 KB
Memory After: 4,874.156 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,const2 

Time Before: 0.28914 seconds
Time After: 0.28927 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,874.430 KB
Memory After: 4,874.836 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,const27573Using where

Time Before: 0.28975 seconds
Time After: 0.29057 seconds
Time Taken: 0.00082 seconds

Memory Before: 4,876.773 KB
Memory After: 4,876.984 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.29102 seconds
Time After: 0.29114 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,899.125 KB
Memory After: 4,899.586 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,214674,214664,214680,214678,214588,214627,214616,214650,214656,212718,214654,213480,214667,214673,214670,214671,214661,214668,214666,214652,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.54270 seconds
Time After: 0.54398 seconds
Time Taken: 0.00127 seconds

Memory Before: 4,885.563 KB
Memory After: 4,885.164 KB
Memory Used: -0.398 KB

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

Time Before: 0.60729 seconds
Time After: 0.60759 seconds
Time Taken: 0.00030 seconds

Memory Before: 5,772.055 KB
Memory After: 5,772.250 KB
Memory Used: 0.195 KB

Page generated in 0.605020046234 seconds with 15 queries, spending 0.118794679642 doing MySQL queries and 0.486225366592 doing PHP things.
Shutdown Queries:
DISABLED