Including Functions.php

Time Before: 0.00481 seconds
Time After: 0.01407 seconds
Time Taken: 0.00926 seconds

Memory Before: 3,296.508 KB
Memory After: 5,566.867 KB
Memory Used: 2,270.359 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.01413 seconds
Time After: 0.01461 seconds
Time Taken: 0.00048 seconds

Memory Before: 5,566.766 KB
Memory After: 5,570.367 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01473 seconds
Time After: 0.01478 seconds
Time Taken: 0.00005 seconds

Memory Before: 5,570.406 KB
Memory After: 5,570.875 KB
Memory Used: 0.469 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.01603 seconds
Time After: 0.01644 seconds
Time Taken: 0.00042 seconds

Memory Before: 5,573.750 KB
Memory After: 5,576.039 KB
Memory Used: 2.289 KB

Time Before: 0.01480 seconds
Time After: 0.01811 seconds
Time Taken: 0.00331 seconds

Memory Before: 5,570.008 KB
Memory After: 6,234.680 KB
Memory Used: 664.672 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.02029 seconds
Time After: 0.02037 seconds
Time Taken: 0.00008 seconds

Memory Before: 7,013.766 KB
Memory After: 7,015.766 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.02086 seconds
Time After: 0.02099 seconds
Time Taken: 0.00013 seconds

Memory Before: 7,031.047 KB
Memory After: 7,033.250 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.02212 seconds
Time After: 0.02253 seconds
Time Taken: 0.00042 seconds

Memory Before: 7,042.680 KB
Memory After: 7,044.234 KB
Memory Used: 1.555 KB

Time Before: 0.02056 seconds
Time After: 0.02264 seconds
Time Taken: 0.00208 seconds

Memory Before: 7,025.086 KB
Memory After: 7,117.461 KB
Memory Used: 92.375 KB

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

Time Before: 0.02302 seconds
Time After: 0.02313 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,131.531 KB
Memory After: 7,133.555 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.02537 seconds
Time After: 0.02545 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,360.469 KB
Memory After: 7,362.445 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.02667 seconds
Time After: 0.02691 seconds
Time Taken: 0.00024 seconds

Memory Before: 7,587.773 KB
Memory After: 7,589.938 KB
Memory Used: 2.164 KB

End call of global.php: 0.027657032012939
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.02998 seconds
Time After: 0.03015 seconds
Time Taken: 0.00017 seconds

Memory Before: 8,667.367 KB
Memory After: 8,669.539 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.03064 seconds
Time After: 0.03100 seconds
Time Taken: 0.00036 seconds

Memory Before: 8,684.664 KB
Memory After: 8,690.969 KB
Memory Used: 6.305 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.03260 seconds
Time After: 0.03314 seconds
Time Taken: 0.00054 seconds

Memory Before: 9,018.875 KB
Memory After: 9,021.867 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.03602 seconds
Time After: 0.03623 seconds
Time Taken: 0.00021 seconds

Memory Before: 9,244.383 KB
Memory After: 9,250.383 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 <= 1733575657
	AND enddate >= 1733575657
	AND forumid IN (11,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.04010 seconds
Time After: 0.04024 seconds
Time Taken: 0.00014 seconds

Memory Before: 9,411.367 KB
Memory After: 9,412.969 KB
Memory Used: 1.602 KB

SQL Query
SELECT COUNT(*) AS threads

FROM vb_thread AS thread


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

Time Before: 0.04049 seconds
Time After: 0.04058 seconds
Time Taken: 0.00009 seconds

Memory Before: 9,418.453 KB
Memory After: 9,420.406 KB
Memory Used: 1.953 KB

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


WHERE thread.forumid = 11
	AND thread.lastpost > 1733575657
	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.04076 seconds
Time After: 0.04086 seconds
Time Taken: 0.00010 seconds

Memory Before: 9,419.227 KB
Memory After: 9,421.117 KB
Memory Used: 1.891 KB

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

Time Before: 0.04110 seconds
Time After: 0.04118 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,419.242 KB
Memory After: 9,421.164 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 = 11
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,forumid_lastpostforumid6const,const,const1Using where

Time Before: 0.04137 seconds
Time After: 0.04148 seconds
Time Taken: 0.00011 seconds

Memory Before: 9,421.367 KB
Memory After: 9,423.164 KB
Memory Used: 1.797 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,129) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 2Using 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.04181 seconds
Time After: 0.04208 seconds
Time Taken: 0.00027 seconds

Memory Before: 9,425.828 KB
Memory After: 9,427.164 KB
Memory Used: 1.336 KB

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

Time Before: 0.04693 seconds
Time After: 0.04709 seconds
Time Taken: 0.00016 seconds

Memory Before: 10,127.211 KB
Memory After: 10,127.469 KB
Memory Used: 0.258 KB

Page generated in 0.046479940414429 seconds with 19 queries, spending 0.0042288303375244 doing MySQL queries and 0.042251110076904 doing PHP things.
Shutdown Queries:
DISABLED