Including Functions.php

Time Before: 0.00390 seconds
Time After: 0.00976 seconds
Time Taken: 0.00587 seconds

Memory Before: 4,199.805 KB
Memory After: 6,470.117 KB
Memory Used: 2,270.313 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00983 seconds
Time After: 0.01040 seconds
Time Taken: 0.00056 seconds

Memory Before: 6,470.016 KB
Memory After: 6,473.617 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01053 seconds
Time After: 0.01058 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,473.656 KB
Memory After: 6,474.125 KB
Memory Used: 0.469 KB

Datastore Setup
SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('smiliecache','bbcodecache','blogcategorycache','blogstats','blogfeatured_settings','blogfeatured_entries','blogtagcloud','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY150 21Using index condition

Time Before: 0.01103 seconds
Time After: 0.01144 seconds
Time Taken: 0.00041 seconds

Memory Before: 6,477.242 KB
Memory After: 6,479.523 KB
Memory Used: 2.281 KB

Time Before: 0.01061 seconds
Time After: 0.01225 seconds
Time Taken: 0.00165 seconds

Memory Before: 6,473.258 KB
Memory After: 7,236.125 KB
Memory Used: 762.867 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.01383 seconds
Time After: 0.01390 seconds
Time Taken: 0.00007 seconds

Memory Before: 8,015.156 KB
Memory After: 8,017.156 KB
Memory Used: 2.000 KB

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

Time Before: 0.01436 seconds
Time After: 0.01449 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,032.750 KB
Memory After: 8,034.953 KB
Memory Used: 2.203 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_vbblogglobal AS phrasegroup_vbblogglobal,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_vbblogcat AS phrasegroup_vbblogcat,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			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.01585 seconds
Time After: 0.01682 seconds
Time Taken: 0.00096 seconds

Memory Before: 8,044.664 KB
Memory After: 8,046.141 KB
Memory Used: 1.477 KB

Time Before: 0.01408 seconds
Time After: 0.01693 seconds
Time Taken: 0.00285 seconds

Memory Before: 8,026.727 KB
Memory After: 8,174.766 KB
Memory Used: 148.039 KB

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

Time Before: 0.01725 seconds
Time After: 0.01736 seconds
Time Taken: 0.00011 seconds

Memory Before: 8,188.758 KB
Memory After: 8,190.781 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.02016 seconds
Time After: 0.02025 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,576.883 KB
Memory After: 8,578.859 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.02426 seconds
Time After: 0.02448 seconds
Time Taken: 0.00022 seconds

Memory Before: 9,969.328 KB
Memory After: 9,971.492 KB
Memory Used: 2.164 KB

End call of global.php: 0.025036096572876
SQL Query
SELECT data, expires, locktime, serialized
FROM vb_cache
WHERE cacheid = 'cms_priv_user_0'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_cacheconstPRIMARYPRIMARY66const1 

Time Before: 0.02783 seconds
Time After: 0.02794 seconds
Time Taken: 0.00011 seconds

Memory Before: 11,475.766 KB
Memory After: 11,477.789 KB
Memory Used: 2.023 KB

SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight
	, bu.bloguserid, bu.entries, bu.options AS blog_options, bu.subscribeown AS blog_subscribeown, bu.memberids, bu.memberblogids,
bu.subscribeothers AS blog_subscribeothers, bu.title AS blog_title, bu.description AS blog_description, bu.allowsmilie AS blog_allowsmilie, bu.draft AS blog_draft, bu.pending AS blog_pending, bu.options_member, bu.options_guest, bu.options_buddy, bu.options_ignore, bu.uncatentries, bu.moderation AS blog_moderation, bu.deleted AS blog_deleted, bu.akismet_key AS blog_akismet_key, isblogmoderator, bu.comments_moderation AS blog_comments_moderation, bu.lastblog, bu.lastblogid, bu.lastblogtitle, bu.categorycache, bu.tagcloud, bu.sidebar, bu.custompages, bu.customblocks, blockparsed.blocktext, 1 AS blogstyleid, blog_usercsscache.csscolors AS blog_csscolors, blog_usercsscache.cachedcss AS blog_cachedcss, IF(blog_usercsscache.cachedcss IS NULL, 0, 1) AS blog_hascachedcss, blog_usercsscache.buildpermissions AS blog_cssbuildpermissions, IF(blog_subscribeuser.blogsubscribeuserid, 1, 0) AS blogsubscribed
FROM vb_user AS user
LEFT JOIN vb_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vb_avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN vb_customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) 

LEFT JOIN vb_blog_user AS bu ON (bu.bloguserid = user.userid)
LEFT JOIN vb_blog_custom_block_parsed AS blockparsed ON (blockparsed.userid = user.userid AND blockparsed.styleid = 1 AND blockparsed.languageid = 4)
LEFT JOIN vb_blog_subscribeuser AS blog_subscribeuser ON (user.userid = blog_subscribeuser.bloguserid AND blog_subscribeuser.userid = 5)
LEFT JOIN vb_blog_usercsscache AS blog_usercsscache ON (user.userid = blog_usercsscache.userid)
WHERE user.userid = 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblockparsedsystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEbuconstPRIMARYPRIMARY4const1 
1SIMPLEblog_subscribeuserconstbloguserid,useridbloguserid8const,const0unique row not found
1SIMPLEblog_usercsscachesystemPRIMARY   1 

Time Before: 0.03152 seconds
Time After: 0.03201 seconds
Time Taken: 0.00049 seconds

Memory Before: 12,577.375 KB
Memory After: 12,579.188 KB
Memory Used: 1.813 KB

SQL Query
SELECT bm.userid, bm.permissions, bm.type, user.username
FROM vb_blog_moderator AS bm
INNER JOIN vb_user AS user USING (userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03276 seconds
Time After: 0.03288 seconds
Time Taken: 0.00012 seconds

Memory Before: 12,631.586 KB
Memory After: 12,633.516 KB
Memory Used: 1.930 KB

SQL Query
SELECT COUNT(*) AS total,
			FROM_UNIXTIME(dateline - -3600, '%c-%e-%Y') AS period
			FROM vb_blog AS blog
			LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
			WHERE options_guest & 1 AND ~blog.options & 8 AND state IN('visible') AND dateline >= 1719086400 AND dateline < 1722715200 AND blog.userid = 5
			GROUP BY period
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1Using temporary; Using filesort
1SIMPLEblogrefdateline,state,userid,pendinguserid4const2Using index condition; Using where

Time Before: 0.03503 seconds
Time After: 0.03530 seconds
Time Taken: 0.00027 seconds

Memory Before: 13,007.641 KB
Memory After: 13,009.336 KB
Memory Used: 1.695 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (2981,3016,3084,3033,2979,2978,2977,3497,3495,3046,3067,3019,3020,3021,3028,3061,3062,3068,3064,3065,3066,3063,3069,3070,3071,3073,3074,3075,3076,3072,3081,3078,2974,3719,3721,3036,3027,3035,3989,715,4322,4323,0,0,980,974,3381,978,979,977,4312,981,982,4318,3696,3992,903,3646,3643,3644,3645,4008,0,0,3971,3973,3666,3667,3669,3670,3893,3935,3934,3984,3936,3493,3492,3496,3480,3485,3481,3487,3488,3483,3484,3486,3426,3428,3430,3432,3434,3659,3654,3657,3658,3738,3739,3660,3655,3652,3653,3980,3054,0,0,0,0,2921,2922)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 102Using index condition

Time Before: 0.03637 seconds
Time After: 0.03711 seconds
Time Taken: 0.00074 seconds

Memory Before: 13,258.516 KB
Memory After: 13,262.367 KB
Memory Used: 3.852 KB

SQL Query
SELECT MAX(dateline) AS dateline
			FROM vb_blog AS blog
			LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
			WHERE options_guest & 1 AND ~blog.options & 8 AND state IN('visible') AND blog.userid = 5 AND dateline <= 1719777599
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblograngedateline,state,useriduserid9 7Using index condition; Using where

Time Before: 0.04342 seconds
Time After: 0.04360 seconds
Time Taken: 0.00018 seconds

Memory Before: 13,576.430 KB
Memory After: 13,578.258 KB
Memory Used: 1.828 KB

SQL Query
SELECT MIN(dateline) AS dateline
				FROM vb_blog AS blog
				LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
				WHERE options_guest & 1 AND ~blog.options & 8 AND state IN('visible') AND blog.userid = 5 AND dateline >= 1722456000
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblogrefdateline,state,useriduserid4const2Using index condition; Using where

Time Before: 0.04390 seconds
Time After: 0.04406 seconds
Time Taken: 0.00017 seconds

Memory Before: 13,579.055 KB
Memory After: 13,580.875 KB
Memory Used: 1.820 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, blog_visitor.visible
	
FROM vb_blog_visitor AS blog_visitor
INNER JOIN vb_user AS user ON (user.userid = blog_visitor.visitorid)

WHERE blog_visitor.userid = 5
	 AND (visible = 1 OR blog_visitor.visitorid = 0)
	
ORDER BY blog_visitor.dateline DESC
LIMIT 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_visitorrefPRIMARY,useriduserid4const11Using where
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_visitor.visitorid1 

Time Before: 0.04479 seconds
Time After: 0.04501 seconds
Time Taken: 0.00023 seconds

Memory Before: 13,494.828 KB
Memory After: 13,497.070 KB
Memory Used: 2.242 KB

SQL Query
SELECT blog.blogid, lastblogtextid AS blogtextid, blog_text.userid, blog_text.state, IF(blog_text.userid = 0, blog_text.username, user.username) AS username, blog.blogid, blog.title
,avatar.avatarpath, user.avatarrevision, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight

FROM vb_blog AS blog
LEFT JOIN vb_blog_text AS blog_text ON (blog.lastblogtextid = blog_text.blogtextid)
LEFT JOIN vb_user AS user ON (blog_text.userid = user.userid)
LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE blog.userid = 5 AND blog_text.blogtextid <> blog.firstblogtextid AND blog_text.state IN ('visible') AND blog.state IN ('visible') AND blog.dateline <= 1728500745 AND blog.pending = 0 AND ~blog.options & 8

ORDER BY blog.lastcomment DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblograngedateline,state,userid,pendinguserid9 7Using index condition; Using where; Using filesort
1SIMPLEblog_texteq_refPRIMARYPRIMARY4zabvo_db.blog.lastblogtextid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_text.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4zabvo_db.user.userid1 

Time Before: 0.04559 seconds
Time After: 0.04589 seconds
Time Taken: 0.00029 seconds

Memory Before: 13,532.828 KB
Memory After: 13,534.125 KB
Memory Used: 1.297 KB

SQL Query
SELECT blog.blogid, blog.title, blog.dateline, blog.state, blog.pending


FROM vb_blog AS blog


WHERE blog.dateline <= 1728500745 AND blog.pending = 0 AND blog.userid = 5 AND blog.state IN ('visible') AND ~blog.options & 8

ORDER BY blog.dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblograngedateline,state,userid,pendinguserid9 7Using index condition; Using where

Time Before: 0.04648 seconds
Time After: 0.04662 seconds
Time Taken: 0.00014 seconds

Memory Before: 13,540.039 KB
Memory After: 13,542.070 KB
Memory Used: 2.031 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS attach, blog.blogid, blog.dateline, blog.rating
				
				
				FROM vb_blog AS blog
				
				LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
				
				WHERE blog.dateline >= 1719777600 AND blog.dateline < 1722456000 AND blog.userid = 5 AND ~blog.options & 8 AND state IN('visible') AND blog.pending = 0 AND blog.dateline <= 1728500745
				
			
			ORDER BY blog.dateline DESC
			LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogrefdateline,state,userid,pendinguserid4const2Using where
1SIMPLEblog_userconstPRIMARYPRIMARY4const1Using index

Time Before: 0.04986 seconds
Time After: 0.05004 seconds
Time Taken: 0.00018 seconds

Memory Before: 13,513.625 KB
Memory After: 13,515.250 KB
Memory Used: 1.625 KB

SQL Query
SELECT FOUND_ROWS()
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       No tables used

Time Before: 0.05019 seconds
Time After: 0.05024 seconds
Time Taken: 0.00005 seconds

Memory Before: 13,514.031 KB
Memory After: 13,516.102 KB
Memory Used: 2.070 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.05237 seconds
Time After: 0.05259 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,894.234 KB
Memory After: 13,900.234 KB
Memory Used: 6.000 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1728500745, location = 'blog.php?u=5', badlocation = 0
WHERE sessionhash = '2615c3271c8ff04812133e794c07db61'

Time Before: 0.05481 seconds
Time After: 0.05498 seconds
Time Taken: 0.00017 seconds

Memory Before: 14,214.680 KB
Memory After: 14,214.961 KB
Memory Used: 0.281 KB

Page generated in 0.054341077804565 seconds with 22 queries, spending 0.0059432983398438 doing MySQL queries and 0.048397779464722 doing PHP things.
Shutdown Queries:
DISABLED