Including Functions.php

Time Before: 0.00375 seconds
Time After: 0.00933 seconds
Time Taken: 0.00558 seconds

Memory Before: 3,296.625 KB
Memory After: 5,566.930 KB
Memory Used: 2,270.305 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00939 seconds
Time After: 0.01016 seconds
Time Taken: 0.00078 seconds

Memory Before: 5,566.844 KB
Memory After: 5,570.461 KB
Memory Used: 3.617 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01033 seconds
Time After: 0.01039 seconds
Time Taken: 0.00005 seconds

Memory Before: 5,570.500 KB
Memory After: 5,570.992 KB
Memory Used: 0.492 KB

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

Time Before: 0.01078 seconds
Time After: 0.01122 seconds
Time Taken: 0.00044 seconds

Memory Before: 5,573.844 KB
Memory After: 5,576.133 KB
Memory Used: 2.289 KB

Time Before: 0.01041 seconds
Time After: 0.01190 seconds
Time Taken: 0.00149 seconds

Memory Before: 5,570.102 KB
Memory After: 6,234.758 KB
Memory Used: 664.656 KB

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

Time Before: 0.01352 seconds
Time After: 0.01359 seconds
Time Taken: 0.00008 seconds

Memory Before: 7,013.867 KB
Memory After: 7,015.867 KB
Memory Used: 2.000 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '18.97.14.87'
	AND idhash = '3baccf9796c876a91b207ca555fa88a5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionrefguest_lookup,user_activityguest_lookup145const,const,const2Using where

Time Before: 0.01409 seconds
Time After: 0.01420 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,031.125 KB
Memory After: 7,033.328 KB
Memory Used: 2.203 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 vb_language
WHERE languageid = 4
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_languageconstPRIMARYPRIMARY2const1 

Time Before: 0.01524 seconds
Time After: 0.01558 seconds
Time Taken: 0.00034 seconds

Memory Before: 7,042.766 KB
Memory After: 7,044.320 KB
Memory Used: 1.555 KB

Time Before: 0.01379 seconds
Time After: 0.01566 seconds
Time Taken: 0.00187 seconds

Memory Before: 7,025.164 KB
Memory After: 7,117.547 KB
Memory Used: 92.383 KB

SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('routes','profilefield')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY150 2Using index condition

Time Before: 0.01597 seconds
Time After: 0.01607 seconds
Time Taken: 0.00010 seconds

Memory Before: 7,131.625 KB
Memory After: 7,133.648 KB
Memory Used: 2.023 KB

SQL Query
SELECT MAX(permissions & 1) AS perm
FROM vb_cms_permissions
WHERE nodeid = 1 AND usergroupid IN (1)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_cms_permissionsconstusergroupid,nodeidusergroupid8const,const1 

Time Before: 0.01803 seconds
Time After: 0.01812 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,360.531 KB
Memory After: 7,362.508 KB
Memory Used: 1.977 KB

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

Time Before: 0.01913 seconds
Time After: 0.01937 seconds
Time Taken: 0.00024 seconds

Memory Before: 7,587.836 KB
Memory After: 7,590.000 KB
Memory Used: 2.164 KB

End call of global.php: 0.019855976104736
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   4 
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.moderator.userid1 

Time Before: 0.02206 seconds
Time After: 0.02226 seconds
Time Taken: 0.00020 seconds

Memory Before: 8,667.492 KB
Memory After: 8,669.664 KB
Memory Used: 2.172 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 vb_forum AS forum

LEFT JOIN vb_user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN vb_userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    32 
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.forum.lastposterid1 
1SIMPLEuserlisteq_refPRIMARY,relationid,useridPRIMARY9const,zabvo_db.user.userid,const1Using where

Time Before: 0.02319 seconds
Time After: 0.02360 seconds
Time Taken: 0.00040 seconds

Memory Before: 8,684.789 KB
Memory After: 8,691.102 KB
Memory Used: 6.313 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (893,3502,3890,3892,3891,3513,3514,3510,3512,3509,3511,3505,3980,3930,3880,3989,715,4322,4323,0,0,980,974,3381,978,979,977,4312,981,982,4318,3696,3992,3642,3646,3643,3644,3645,4008,0,0,3971,3973,3666,3667,3669,3670,3893,3935,3934,3984,3936,3493,3492,3496,3054,2921,2922)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 55Using index condition

Time Before: 0.02480 seconds
Time After: 0.02528 seconds
Time Taken: 0.00048 seconds

Memory Before: 9,018.953 KB
Memory After: 9,021.945 KB
Memory Used: 2.992 KB

SQL Query
SELECT *
FROM vb_navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_navigationALL    36Using where; Using filesort

Time Before: 0.02776 seconds
Time After: 0.02795 seconds
Time Taken: 0.00019 seconds

Memory Before: 9,244.500 KB
Memory After: 9,250.500 KB
Memory Used: 6.000 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 vb_announcement AS announcement

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

WHERE startdate <= 1733569599
	AND enddate >= 1733569599
	AND forumid IN (12,3,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03133 seconds
Time After: 0.03147 seconds
Time Taken: 0.00013 seconds

Memory Before: 9,411.383 KB
Memory After: 9,412.984 KB
Memory Used: 1.602 KB

SQL Query
SELECT COUNT(*) AS threads

FROM vb_thread AS thread


WHERE thread.forumid = 12
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,forumid_lastpostforumid6const,const,const2Using index

Time Before: 0.03172 seconds
Time After: 0.03181 seconds
Time Taken: 0.00009 seconds

Memory Before: 9,418.469 KB
Memory After: 9,420.422 KB
Memory Used: 1.953 KB

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


WHERE thread.forumid = 12
	AND thread.lastpost > 1733569599
	AND open <> 10
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,forumid_lastpost,lastpostforumid10 1Using index condition; Using where

Time Before: 0.03199 seconds
Time After: 0.03208 seconds
Time Taken: 0.00009 seconds

Memory Before: 9,419.242 KB
Memory After: 9,421.133 KB
Memory Used: 1.891 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM vb_thread AS thread
WHERE forumid = 12
	AND sticky = 1
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,forumid_lastpostforumid6const,const,const1 

Time Before: 0.03226 seconds
Time After: 0.03233 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,419.258 KB
Memory After: 9,421.180 KB
Memory Used: 1.922 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 vb_thread AS thread


WHERE forumid = 12
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,forumid_lastpostforumid6const,const,const2Using where

Time Before: 0.03252 seconds
Time After: 0.03263 seconds
Time Taken: 0.00012 seconds

Memory Before: 9,421.383 KB
Memory After: 9,423.242 KB
Memory Used: 1.859 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
	
	
	
	
	
FROM vb_thread AS thread
	LEFT JOIN vb_user AS user ON (user.userid = thread.lastposterid)
	LEFT JOIN vb_userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
	
	
	
	LEFT JOIN vb_post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0,81,163) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 3Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.thread.lastposterid1 
1SIMPLEuserlisteq_refPRIMARY,relationid,useridPRIMARY9const,zabvo_db.user.userid,const1Using where
1SIMPLEposteq_refPRIMARYPRIMARY4zabvo_db.thread.firstpostid1 

Time Before: 0.03297 seconds
Time After: 0.03326 seconds
Time Taken: 0.00029 seconds

Memory Before: 9,425.859 KB
Memory After: 9,427.469 KB
Memory Used: 1.609 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1733569599, location = 'forumdisplay.php?f=12', inforum = 12, badlocation = 0
WHERE sessionhash = '29e87835cf1fe3464a4d893b247bce8b'

Time Before: 0.03896 seconds
Time After: 0.03918 seconds
Time Taken: 0.00022 seconds

Memory Before: 10,150.281 KB
Memory After: 10,150.539 KB
Memory Used: 0.258 KB

Page generated in 0.038571119308472 seconds with 19 queries, spending 0.0045185089111328 doing MySQL queries and 0.034052610397339 doing PHP things.
Shutdown Queries:
DISABLED