Including Functions.php

Time Before: 0.00383 seconds
Time After: 0.00961 seconds
Time Taken: 0.00577 seconds

Memory Before: 3,296.898 KB
Memory After: 5,567.195 KB
Memory Used: 2,270.297 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00967 seconds
Time After: 0.01062 seconds
Time Taken: 0.00095 seconds

Memory Before: 5,567.109 KB
Memory After: 5,570.711 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01075 seconds
Time After: 0.01082 seconds
Time Taken: 0.00006 seconds

Memory Before: 5,570.750 KB
Memory After: 5,571.242 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.01127 seconds
Time After: 0.01172 seconds
Time Taken: 0.00046 seconds

Memory Before: 5,574.094 KB
Memory After: 5,576.383 KB
Memory Used: 2.289 KB

Time Before: 0.01084 seconds
Time After: 0.01242 seconds
Time Taken: 0.00158 seconds

Memory Before: 5,570.352 KB
Memory After: 6,235.023 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.01403 seconds
Time After: 0.01412 seconds
Time Taken: 0.00008 seconds

Memory Before: 7,014.133 KB
Memory After: 7,016.133 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.01462 seconds
Time After: 0.01477 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,031.391 KB
Memory After: 7,033.594 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.01599 seconds
Time After: 0.01638 seconds
Time Taken: 0.00040 seconds

Memory Before: 7,043.047 KB
Memory After: 7,044.602 KB
Memory Used: 1.555 KB

Time Before: 0.01430 seconds
Time After: 0.01646 seconds
Time Taken: 0.00216 seconds

Memory Before: 7,025.430 KB
Memory After: 7,117.828 KB
Memory Used: 92.398 KB

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

Time Before: 0.01680 seconds
Time After: 0.01692 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,131.906 KB
Memory After: 7,133.930 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.01886 seconds
Time After: 0.01896 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,360.867 KB
Memory After: 7,362.844 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.02005 seconds
Time After: 0.02026 seconds
Time Taken: 0.00021 seconds

Memory Before: 7,588.188 KB
Memory After: 7,590.352 KB
Memory Used: 2.164 KB

End call of global.php: 0.020807027816772
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.02245 seconds
Time After: 0.02264 seconds
Time Taken: 0.00019 seconds

Memory Before: 8,667.727 KB
Memory After: 8,669.898 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.02317 seconds
Time After: 0.02356 seconds
Time Taken: 0.00038 seconds

Memory Before: 8,685.008 KB
Memory After: 8,691.320 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.02479 seconds
Time After: 0.02525 seconds
Time Taken: 0.00046 seconds

Memory Before: 9,019.156 KB
Memory After: 9,022.148 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.02802 seconds
Time After: 0.02823 seconds
Time Taken: 0.00022 seconds

Memory Before: 9,244.891 KB
Memory After: 9,250.891 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 <= 1733574065
	AND enddate >= 1733574065
	AND forumid IN (33,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.03171 seconds
Time After: 0.03185 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,411.820 KB
Memory After: 9,413.422 KB
Memory Used: 1.602 KB

SQL Query
SELECT COUNT(*) AS threads

FROM vb_thread AS thread


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

Time Before: 0.03214 seconds
Time After: 0.03225 seconds
Time Taken: 0.00011 seconds

Memory Before: 9,418.906 KB
Memory After: 9,420.859 KB
Memory Used: 1.953 KB

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


WHERE thread.forumid = 33
	AND thread.lastpost > 1733574065
	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.03243 seconds
Time After: 0.03253 seconds
Time Taken: 0.00010 seconds

Memory Before: 9,419.680 KB
Memory After: 9,421.570 KB
Memory Used: 1.891 KB

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

Time Before: 0.03272 seconds
Time After: 0.03281 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,419.695 KB
Memory After: 9,421.617 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 = 33
	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.03300 seconds
Time After: 0.03313 seconds
Time Taken: 0.00012 seconds

Memory Before: 9,421.820 KB
Memory After: 9,423.680 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,187,170) 
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.03350 seconds
Time After: 0.03387 seconds
Time Taken: 0.00037 seconds

Memory Before: 9,426.297 KB
Memory After: 9,427.906 KB
Memory Used: 1.609 KB

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

Time Before: 0.03965 seconds
Time After: 0.03994 seconds
Time Taken: 0.00029 seconds

Memory Before: 10,152.641 KB
Memory After: 10,152.898 KB
Memory Used: 0.258 KB

Page generated in 0.039231061935425 seconds with 19 queries, spending 0.004976749420166 doing MySQL queries and 0.034254312515259 doing PHP things.
Shutdown Queries:
DISABLED