Including Functions.php

Time Before: 0.00394 seconds
Time After: 0.00988 seconds
Time Taken: 0.00595 seconds

Memory Before: 3,296.320 KB
Memory After: 5,566.586 KB
Memory Used: 2,270.266 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00995 seconds
Time After: 0.01044 seconds
Time Taken: 0.00049 seconds

Memory Before: 5,566.484 KB
Memory After: 5,570.086 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01057 seconds
Time After: 0.01063 seconds
Time Taken: 0.00005 seconds

Memory Before: 5,570.125 KB
Memory After: 5,570.594 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.01101 seconds
Time After: 0.01145 seconds
Time Taken: 0.00044 seconds

Memory Before: 5,573.469 KB
Memory After: 5,575.758 KB
Memory Used: 2.289 KB

Time Before: 0.01065 seconds
Time After: 0.01215 seconds
Time Taken: 0.00150 seconds

Memory Before: 5,569.727 KB
Memory After: 6,234.414 KB
Memory Used: 664.688 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.01396 seconds
Time After: 0.01404 seconds
Time Taken: 0.00008 seconds

Memory Before: 7,013.516 KB
Memory After: 7,015.516 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.01455 seconds
Time After: 0.01467 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,030.773 KB
Memory After: 7,032.977 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.01600 seconds
Time After: 0.01697 seconds
Time Taken: 0.00096 seconds

Memory Before: 7,042.414 KB
Memory After: 7,043.969 KB
Memory Used: 1.555 KB

Time Before: 0.01423 seconds
Time After: 0.01704 seconds
Time Taken: 0.00282 seconds

Memory Before: 7,024.813 KB
Memory After: 7,117.195 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.01738 seconds
Time After: 0.01749 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,131.266 KB
Memory After: 7,133.289 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.01945 seconds
Time After: 0.01954 seconds
Time Taken: 0.00008 seconds

Memory Before: 7,360.164 KB
Memory After: 7,362.141 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.02063 seconds
Time After: 0.02090 seconds
Time Taken: 0.00027 seconds

Memory Before: 7,587.516 KB
Memory After: 7,589.680 KB
Memory Used: 2.164 KB

End call of global.php: 0.021422147750854
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.02309 seconds
Time After: 0.02326 seconds
Time Taken: 0.00018 seconds

Memory Before: 8,667.117 KB
Memory After: 8,669.289 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.02471 seconds
Time After: 0.02511 seconds
Time Taken: 0.00040 seconds

Memory Before: 8,684.430 KB
Memory After: 8,690.742 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.02634 seconds
Time After: 0.02688 seconds
Time Taken: 0.00054 seconds

Memory Before: 9,018.563 KB
Memory After: 9,021.555 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.02952 seconds
Time After: 0.02971 seconds
Time Taken: 0.00019 seconds

Memory Before: 9,244.203 KB
Memory After: 9,250.203 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 <= 1733574376
	AND enddate >= 1733574376
	AND forumid IN (38,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.03312 seconds
Time After: 0.03328 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,411.133 KB
Memory After: 9,412.734 KB
Memory Used: 1.602 KB

SQL Query
SELECT COUNT(*) AS threads

FROM vb_thread AS thread


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

Time Before: 0.03354 seconds
Time After: 0.03362 seconds
Time Taken: 0.00009 seconds

Memory Before: 9,418.219 KB
Memory After: 9,420.172 KB
Memory Used: 1.953 KB

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


WHERE thread.forumid = 38
	AND thread.lastpost > 1733574376
	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.03381 seconds
Time After: 0.03390 seconds
Time Taken: 0.00010 seconds

Memory Before: 9,418.992 KB
Memory After: 9,420.883 KB
Memory Used: 1.891 KB

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

Time Before: 0.03409 seconds
Time After: 0.03417 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,419.008 KB
Memory After: 9,420.930 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 = 38
	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.03438 seconds
Time After: 0.03448 seconds
Time Taken: 0.00010 seconds

Memory Before: 9,421.133 KB
Memory After: 9,422.859 KB
Memory Used: 1.727 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) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03479 seconds
Time After: 0.03502 seconds
Time Taken: 0.00023 seconds

Memory Before: 9,425.094 KB
Memory After: 9,426.156 KB
Memory Used: 1.063 KB

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

Time Before: 0.03687 seconds
Time After: 0.03700 seconds
Time Taken: 0.00013 seconds

Memory Before: 9,653.977 KB
Memory After: 9,654.234 KB
Memory Used: 0.258 KB

Page generated in 0.036468029022217 seconds with 19 queries, spending 0.0048213005065918 doing MySQL queries and 0.031646728515625 doing PHP things.
Shutdown Queries:
DISABLED