Including Functions.php

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

Memory Before: 4,199.938 KB
Memory After: 6,470.328 KB
Memory Used: 2,270.391 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00982 seconds
Time After: 0.01091 seconds
Time Taken: 0.00109 seconds

Memory Before: 6,470.242 KB
Memory After: 6,473.844 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01101 seconds
Time After: 0.01107 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,473.883 KB
Memory After: 6,474.375 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.01156 seconds
Time After: 0.01212 seconds
Time Taken: 0.00056 seconds

Memory Before: 6,477.469 KB
Memory After: 6,479.750 KB
Memory Used: 2.281 KB

Time Before: 0.01109 seconds
Time After: 0.01294 seconds
Time Taken: 0.00185 seconds

Memory Before: 6,473.484 KB
Memory After: 7,239.758 KB
Memory Used: 766.273 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.01455 seconds
Time After: 0.01464 seconds
Time Taken: 0.00009 seconds

Memory Before: 8,018.766 KB
Memory After: 8,020.766 KB
Memory Used: 2.000 KB

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

Time Before: 0.01509 seconds
Time After: 0.01522 seconds
Time Taken: 0.00013 seconds

Memory Before: 8,036.336 KB
Memory After: 8,038.539 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.01665 seconds
Time After: 0.01719 seconds
Time Taken: 0.00055 seconds

Memory Before: 8,048.266 KB
Memory After: 8,049.742 KB
Memory Used: 1.477 KB

Time Before: 0.01481 seconds
Time After: 0.01729 seconds
Time Taken: 0.00248 seconds

Memory Before: 8,030.313 KB
Memory After: 8,178.375 KB
Memory Used: 148.063 KB

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

Time Before: 0.01763 seconds
Time After: 0.01775 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,192.344 KB
Memory After: 8,194.367 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.02076 seconds
Time After: 0.02085 seconds
Time Taken: 0.00009 seconds

Memory Before: 8,580.492 KB
Memory After: 8,582.469 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.02498 seconds
Time After: 0.02548 seconds
Time Taken: 0.00050 seconds

Memory Before: 9,972.859 KB
Memory After: 9,975.023 KB
Memory Used: 2.164 KB

End call of global.php: 0.025990962982178
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.02885 seconds
Time After: 0.02894 seconds
Time Taken: 0.00009 seconds

Memory Before: 11,479.211 KB
Memory After: 11,481.234 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 = 2946)
LEFT JOIN vb_blog_usercsscache AS blog_usercsscache ON (user.userid = blog_usercsscache.userid)
WHERE user.userid = 2946
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.03269 seconds
Time After: 0.03313 seconds
Time Taken: 0.00044 seconds

Memory Before: 12,580.906 KB
Memory After: 12,582.711 KB
Memory Used: 1.805 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.03381 seconds
Time After: 0.03391 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,636.133 KB
Memory After: 12,638.063 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 >= 1724529600 AND dateline < 1728158400 AND blog.userid = 2946
			GROUP BY period
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1Using temporary; Using filesort
1SIMPLEblogrefdateline,state,userid,pendinguserid4const2Using index condition; Using where

Time Before: 0.03554 seconds
Time After: 0.03575 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,012.211 KB
Memory After: 13,013.914 KB
Memory Used: 1.703 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.03675 seconds
Time After: 0.03753 seconds
Time Taken: 0.00078 seconds

Memory Before: 13,263.070 KB
Memory After: 13,266.922 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 = 2946 AND dateline <= 1725134399
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblograngedateline,state,useriduserid9 1Using index condition; Using where

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

Memory Before: 13,581.172 KB
Memory After: 13,583.000 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 = 2946 AND dateline >= 1727726400
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblogrefdateline,state,useriduserid4const2Using index condition; Using where

Time Before: 0.04435 seconds
Time After: 0.04463 seconds
Time Taken: 0.00028 seconds

Memory Before: 13,583.797 KB
Memory After: 13,585.617 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 = 2946
	 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.04540 seconds
Time After: 0.04562 seconds
Time Taken: 0.00022 seconds

Memory Before: 13,499.586 KB
Memory After: 13,501.820 KB
Memory Used: 2.234 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 = 2946 AND blog_text.blogtextid <> blog.firstblogtextid AND blog_text.state IN ('visible') AND blog.state IN ('visible') AND blog.dateline <= 1730560353 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 1Using 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.04617 seconds
Time After: 0.04645 seconds
Time Taken: 0.00028 seconds

Memory Before: 13,537.531 KB
Memory After: 13,538.820 KB
Memory Used: 1.289 KB

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


FROM vb_blog AS blog


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

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

Time Before: 0.04703 seconds
Time After: 0.04716 seconds
Time Taken: 0.00013 seconds

Memory Before: 13,544.945 KB
Memory After: 13,546.781 KB
Memory Used: 1.836 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.04840 seconds
Time After: 0.04854 seconds
Time Taken: 0.00014 seconds

Memory Before: 13,682.273 KB
Memory After: 13,684.297 KB
Memory Used: 2.023 KB

SQL Query
SELECT tagcontent.tagid, tag.tagtext, COUNT(*) AS searchcount
FROM vb_tagcontent AS tagcontent
INNER JOIN vb_tag AS tag ON (tagcontent.tagid = tag.tagid)
INNER JOIN vb_blog AS blog ON (tagcontent.contenttypeid = 15 AND tagcontent.contentid = blog.blogid)
INNER JOIN vb_blog_user AS blog_user ON (blog.userid = blog_user.bloguserid)

WHERE blog.dateline <= 1730560353 AND blog.pending = 0 AND blog.state = 'visible' AND ~blog.options & 8 AND blog.userid = 2946
AND tagcontent.dateline > 1699024353
GROUP BY tagcontent.tagid, tag.tagtext
ORDER BY searchcount DESC
LIMIT 70
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1Using index; Using temporary; Using filesort
1SIMPLEblograngePRIMARY,dateline,state,userid,pendinguserid9 1Using index condition; Using where
1SIMPLEtagcontentrefPRIMARY,id_type_user,datelineid_type_user8zabvo_db.blog.blogid,const2Using where
1SIMPLEtageq_refPRIMARYPRIMARY4zabvo_db.tagcontent.tagid1 

Time Before: 0.05016 seconds
Time After: 0.05045 seconds
Time Taken: 0.00029 seconds

Memory Before: 13,754.672 KB
Memory After: 13,756.141 KB
Memory Used: 1.469 KB

SQL Query
UPDATE vb_blog_user SET
	tagcloud = 'a:3:{s:4:\"tags\";a:0:{}s:5:\"count\";i:0;s:8:\"dateline\";i:1730560353;}'
WHERE bloguserid = 2946

Time Before: 0.05224 seconds
Time After: 0.05251 seconds
Time Taken: 0.00027 seconds

Memory Before: 14,372.539 KB
Memory After: 14,372.844 KB
Memory Used: 0.305 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 >= 1725134400 AND blog.dateline < 1727726400 AND blog.userid = 2946 AND ~blog.options & 8 AND state IN('visible') AND blog.pending = 0 AND blog.dateline <= 1730560353
				
			
			ORDER BY blog.dateline DESC
			LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogrefdateline,state,userid,pendinguserid4const2Using where
1SIMPLEblog_userconstPRIMARYPRIMARY4const1Using index

Time Before: 0.05495 seconds
Time After: 0.05545 seconds
Time Taken: 0.00051 seconds

Memory Before: 14,319.313 KB
Memory After: 14,320.938 KB
Memory Used: 1.625 KB

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

Time Before: 0.05560 seconds
Time After: 0.05566 seconds
Time Taken: 0.00005 seconds

Memory Before: 14,319.703 KB
Memory After: 14,321.773 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.05790 seconds
Time After: 0.05817 seconds
Time Taken: 0.00027 seconds

Memory Before: 14,699.422 KB
Memory After: 14,705.422 KB
Memory Used: 6.000 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1730560353, location = 'blog.php?u=2946', badlocation = 0
WHERE sessionhash = '93793a362f147149b99808196a895ee5'

Time Before: 0.06045 seconds
Time After: 0.06061 seconds
Time Taken: 0.00016 seconds

Memory Before: 15,016.758 KB
Memory After: 15,017.023 KB
Memory Used: 0.266 KB

Page generated in 0.059940814971924 seconds with 25 queries, spending 0.0075457096099854 doing MySQL queries and 0.052395105361938 doing PHP things.
Shutdown Queries:
DISABLED