Including Functions.php

Time Before: 0.00643 seconds
Time After: 0.01629 seconds
Time Taken: 0.00986 seconds

Memory Before: 4,199.977 KB
Memory After: 6,470.328 KB
Memory Used: 2,270.352 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.01637 seconds
Time After: 0.01692 seconds
Time Taken: 0.00056 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.01708 seconds
Time After: 0.01714 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.01768 seconds
Time After: 0.01821 seconds
Time Taken: 0.00053 seconds

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

Time Before: 0.01717 seconds
Time After: 0.01972 seconds
Time Taken: 0.00254 seconds

Memory Before: 6,473.484 KB
Memory After: 7,236.352 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.02219 seconds
Time After: 0.02227 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,015.398 KB
Memory After: 8,017.398 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.02297 seconds
Time After: 0.02310 seconds
Time Taken: 0.00013 seconds

Memory Before: 8,032.977 KB
Memory After: 8,035.180 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.02420 seconds
Time After: 0.02468 seconds
Time Taken: 0.00048 seconds

Memory Before: 8,044.898 KB
Memory After: 8,046.375 KB
Memory Used: 1.477 KB

Time Before: 0.02257 seconds
Time After: 0.02481 seconds
Time Taken: 0.00224 seconds

Memory Before: 8,026.953 KB
Memory After: 8,175.000 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.02523 seconds
Time After: 0.02536 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,188.992 KB
Memory After: 8,191.016 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.02970 seconds
Time After: 0.02978 seconds
Time Taken: 0.00009 seconds

Memory Before: 8,577.109 KB
Memory After: 8,579.086 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.03636 seconds
Time After: 0.03657 seconds
Time Taken: 0.00021 seconds

Memory Before: 9,969.500 KB
Memory After: 9,971.664 KB
Memory Used: 2.164 KB

End call of global.php: 0.03740382194519
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.04128 seconds
Time After: 0.04138 seconds
Time Taken: 0.00010 seconds

Memory Before: 11,475.891 KB
Memory After: 11,477.914 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.04702 seconds
Time After: 0.04749 seconds
Time Taken: 0.00046 seconds

Memory Before: 12,577.492 KB
Memory After: 12,579.297 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.04849 seconds
Time After: 0.04860 seconds
Time Taken: 0.00011 seconds

Memory Before: 12,632.750 KB
Memory After: 12,634.680 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 >= 1721505600 AND dateline < 1725134400 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.05091 seconds
Time After: 0.05111 seconds
Time Taken: 0.00020 seconds

Memory Before: 13,008.828 KB
Memory After: 13,010.531 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.05267 seconds
Time After: 0.05375 seconds
Time Taken: 0.00109 seconds

Memory Before: 13,259.648 KB
Memory After: 13,263.500 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 <= 1722455999
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblograngedateline,state,useriduserid9 1Using index condition; Using where

Time Before: 0.06393 seconds
Time After: 0.06411 seconds
Time Taken: 0.00019 seconds

Memory Before: 13,577.508 KB
Memory After: 13,579.336 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 >= 1725134400
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_userconstPRIMARYPRIMARY4const1 
1SIMPLEblogrefdateline,state,useriduserid4const2Using index condition; Using where

Time Before: 0.06447 seconds
Time After: 0.06463 seconds
Time Taken: 0.00016 seconds

Memory Before: 13,580.133 KB
Memory After: 13,581.953 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,useriduserid4const10Using where
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_visitor.visitorid1 

Time Before: 0.06568 seconds
Time After: 0.06588 seconds
Time Taken: 0.00020 seconds

Memory Before: 13,496.016 KB
Memory After: 13,498.250 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 <= 1728478244 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.06661 seconds
Time After: 0.06687 seconds
Time Taken: 0.00026 seconds

Memory Before: 13,533.961 KB
Memory After: 13,535.250 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 <= 1728478244 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.06768 seconds
Time After: 0.06781 seconds
Time Taken: 0.00013 seconds

Memory Before: 13,541.375 KB
Memory After: 13,543.211 KB
Memory Used: 1.836 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 >= 1722456000 AND blog.dateline < 1725134400 AND blog.userid = 2946 AND ~blog.options & 8 AND state IN('visible') AND blog.pending = 0 AND blog.dateline <= 1728478244
				
			
			ORDER BY blog.dateline DESC
			LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogrefdateline,state,userid,pendinguserid4const2Using where
1SIMPLEblog_userconstPRIMARYPRIMARY4const1Using index

Time Before: 0.07213 seconds
Time After: 0.07230 seconds
Time Taken: 0.00016 seconds

Memory Before: 13,513.078 KB
Memory After: 13,514.703 KB
Memory Used: 1.625 KB

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

Time Before: 0.07249 seconds
Time After: 0.07254 seconds
Time Taken: 0.00005 seconds

Memory Before: 13,513.469 KB
Memory After: 13,515.539 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.07570 seconds
Time After: 0.07591 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,893.531 KB
Memory After: 13,899.531 KB
Memory Used: 6.000 KB

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

Time Before: 0.07960 seconds
Time After: 0.07979 seconds
Time Taken: 0.00019 seconds

Memory Before: 14,207.203 KB
Memory After: 14,207.469 KB
Memory Used: 0.266 KB

Page generated in 0.078872919082642 seconds with 22 queries, spending 0.0057709217071533 doing MySQL queries and 0.073101997375488 doing PHP things.
Shutdown Queries:
DISABLED