Including Functions.php

Time Before: 0.00401 seconds
Time After: 0.01029 seconds
Time Taken: 0.00628 seconds

Memory Before: 4,198.180 KB
Memory After: 6,468.430 KB
Memory Used: 2,270.250 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.01036 seconds
Time After: 0.01099 seconds
Time Taken: 0.00063 seconds

Memory Before: 6,468.344 KB
Memory After: 6,471.945 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01113 seconds
Time After: 0.01118 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,471.984 KB
Memory After: 6,472.477 KB
Memory Used: 0.492 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.01163 seconds
Time After: 0.01229 seconds
Time Taken: 0.00066 seconds

Memory Before: 6,475.570 KB
Memory After: 6,477.852 KB
Memory Used: 2.281 KB

Time Before: 0.01121 seconds
Time After: 0.01376 seconds
Time Taken: 0.00256 seconds

Memory Before: 6,471.586 KB
Memory After: 7,234.422 KB
Memory Used: 762.836 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.01560 seconds
Time After: 0.01571 seconds
Time Taken: 0.00010 seconds

Memory Before: 8,013.469 KB
Memory After: 8,015.469 KB
Memory Used: 2.000 KB

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

Time Before: 0.01622 seconds
Time After: 0.01634 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,031.086 KB
Memory After: 8,033.289 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.01753 seconds
Time After: 0.01849 seconds
Time Taken: 0.00096 seconds

Memory Before: 8,043.008 KB
Memory After: 8,044.484 KB
Memory Used: 1.477 KB

Time Before: 0.01592 seconds
Time After: 0.01860 seconds
Time Taken: 0.00268 seconds

Memory Before: 8,025.063 KB
Memory After: 8,173.109 KB
Memory Used: 148.047 KB

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

Time Before: 0.01896 seconds
Time After: 0.01908 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,187.109 KB
Memory After: 8,189.133 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.02194 seconds
Time After: 0.02203 seconds
Time Taken: 0.00009 seconds

Memory Before: 8,575.031 KB
Memory After: 8,577.008 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.02614 seconds
Time After: 0.02639 seconds
Time Taken: 0.00025 seconds

Memory Before: 9,967.203 KB
Memory After: 9,969.367 KB
Memory Used: 2.164 KB

End call of global.php: 0.026963949203491
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.02982 seconds
Time After: 0.02991 seconds
Time Taken: 0.00009 seconds

Memory Before: 11,473.570 KB
Memory After: 11,475.594 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.03082 seconds
Time After: 0.03126 seconds
Time Taken: 0.00044 seconds

Memory Before: 11,504.461 KB
Memory After: 11,506.273 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.03190 seconds
Time After: 0.03201 seconds
Time Taken: 0.00011 seconds

Memory Before: 11,556.344 KB
Memory After: 11,558.273 KB
Memory Used: 1.930 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS
	blog_text.username AS postusername, blog_text.ipaddress AS blogipaddress, blog_text.state, blog_text.dateline, blog_text.pagetext, blog_text.allowsmilie, blog_text.blogtextid, blog_text.title,
	blog.pending, blog.userid AS blog_userid, blog.blogid, blog.title AS entrytitle, blog.state AS blog_state, blog.firstblogtextid, blog.options AS blogoptions, blog_user.memberids, blog_user.memberblogids, blog.postedby_userid, blog.postedby_username,
	user2.usergroupid AS blog_usergroupid, user2.infractiongroupids AS blog_infractiongroupids, user2.membergroupids AS blog_membergroupids,
	user.*,
	blog_user.title AS blogtitle,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid, options_ignore, options_buddy, options_member, options_guest,
	blog_editlog.userid AS edit_userid, blog_editlog.dateline AS edit_dateline, blog_editlog.reason AS edit_reason, blog_editlog.username AS edit_username
,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight




FROM vb_blog_text AS blog_text
LEFT JOIN vb_blog AS blog ON (blog.blogid = blog_text.blogid)
LEFT JOIN vb_user AS user ON (user.userid = blog_text.userid)
LEFT JOIN vb_user AS user2 ON (user2.userid = blog.userid)
LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
LEFT JOIN vb_blog_editlog AS blog_editlog ON (blog_editlog.blogtextid = blog_text.blogtextid)




LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE blog_text.bloguserid = 5
	AND blog.state IN('visible')
	AND blog.dateline <= 1725766095
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND options_guest & 1
	AND ~blog.options & 8
ORDER BY blog_text.dateline DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblog_textrefblogid,bloguseridbloguserid4const8Using where
1SIMPLEblog_editlogeq_refPRIMARYPRIMARY4zabvo_db.blog_text.blogtextid1 
1SIMPLEblogeq_refPRIMARY,dateline,state,userid,pendingPRIMARY4zabvo_db.blog_text.blogid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_text.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4zabvo_db.user.userid1 
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where
1SIMPLEuser2eq_refPRIMARYPRIMARY4zabvo_db.blog.userid1 

Time Before: 0.03619 seconds
Time After: 0.03675 seconds
Time Taken: 0.00056 seconds

Memory Before: 12,951.844 KB
Memory After: 12,953.742 KB
Memory Used: 1.898 KB

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

Time Before: 0.03694 seconds
Time After: 0.03700 seconds
Time Taken: 0.00005 seconds

Memory Before: 12,948.422 KB
Memory After: 12,950.492 KB
Memory Used: 2.070 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (2981,3016,3084,3033,2979,2978,2977,3497,3495,3061,3062,3045,2985,2986,2988,3063,3067,3068,3064,3065,3066,3069,3070,3071,3073,3074,3075,3076,3072,3081,3078,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 95Using index condition

Time Before: 0.03900 seconds
Time After: 0.03967 seconds
Time Taken: 0.00067 seconds

Memory Before: 13,290.055 KB
Memory After: 13,293.781 KB
Memory Used: 3.727 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM vb_cache
WHERE cacheid = 'vb_types.types'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_cacheconstPRIMARYPRIMARY66const1 

Time Before: 0.04300 seconds
Time After: 0.04310 seconds
Time Taken: 0.00010 seconds

Memory Before: 13,678.141 KB
Memory After: 13,680.164 KB
Memory Used: 2.023 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 >= 1724529600 AND dateline < 1725766095 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.04859 seconds
Time After: 0.04884 seconds
Time Taken: 0.00025 seconds

Memory Before: 14,523.906 KB
Memory After: 14,525.602 KB
Memory Used: 1.695 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 <= 1725134399
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblograngedateline,state,useriduserid9 7Using index condition; Using where

Time Before: 0.05476 seconds
Time After: 0.05495 seconds
Time Taken: 0.00020 seconds

Memory Before: 14,557.484 KB
Memory After: 14,559.313 KB
Memory Used: 1.828 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.05582 seconds
Time After: 0.05605 seconds
Time Taken: 0.00023 seconds

Memory Before: 14,475.438 KB
Memory After: 14,477.680 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 <= 1725766095 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.05667 seconds
Time After: 0.05697 seconds
Time Taken: 0.00030 seconds

Memory Before: 14,513.391 KB
Memory After: 14,514.703 KB
Memory Used: 1.313 KB

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


FROM vb_blog AS blog


WHERE blog.dateline <= 1725766095 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.05766 seconds
Time After: 0.05781 seconds
Time Taken: 0.00015 seconds

Memory Before: 14,520.258 KB
Memory After: 14,522.289 KB
Memory Used: 2.031 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.06179 seconds
Time After: 0.06201 seconds
Time Taken: 0.00023 seconds

Memory Before: 14,523.633 KB
Memory After: 14,529.641 KB
Memory Used: 6.008 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1725766095, location = '/blog.php?5-Gans&do=comments&explain=1', badlocation = 0
WHERE sessionhash = '17664ae547909bb8bd00ab436881cf1e'

Time Before: 0.06428 seconds
Time After: 0.06444 seconds
Time Taken: 0.00016 seconds

Memory Before: 14,848.188 KB
Memory After: 14,848.430 KB
Memory Used: 0.242 KB

Page generated in 0.063807010650635 seconds with 22 queries, spending 0.006514310836792 doing MySQL queries and 0.057292699813843 doing PHP things.
Shutdown Queries:
DISABLED