Including Functions.php

Time Before: 0.00397 seconds
Time After: 0.00972 seconds
Time Taken: 0.00575 seconds

Memory Before: 4,198.453 KB
Memory After: 6,468.719 KB
Memory Used: 2,270.266 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00980 seconds
Time After: 0.01050 seconds
Time Taken: 0.00070 seconds

Memory Before: 6,468.633 KB
Memory After: 6,472.234 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01062 seconds
Time After: 0.01068 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,472.273 KB
Memory After: 6,472.766 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.01110 seconds
Time After: 0.01155 seconds
Time Taken: 0.00045 seconds

Memory Before: 6,475.859 KB
Memory After: 6,478.141 KB
Memory Used: 2.281 KB

Time Before: 0.01070 seconds
Time After: 0.01232 seconds
Time Taken: 0.00162 seconds

Memory Before: 6,471.875 KB
Memory After: 7,234.719 KB
Memory Used: 762.844 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.01390 seconds
Time After: 0.01397 seconds
Time Taken: 0.00007 seconds

Memory Before: 8,013.789 KB
Memory After: 8,015.789 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.01444 seconds
Time After: 0.01456 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,030.516 KB
Memory After: 8,032.719 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.01566 seconds
Time After: 0.01629 seconds
Time Taken: 0.00063 seconds

Memory Before: 8,042.438 KB
Memory After: 8,043.914 KB
Memory Used: 1.477 KB

Time Before: 0.01413 seconds
Time After: 0.01641 seconds
Time Taken: 0.00228 seconds

Memory Before: 8,024.555 KB
Memory After: 8,172.555 KB
Memory Used: 148.000 KB

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

Time Before: 0.01677 seconds
Time After: 0.01688 seconds
Time Taken: 0.00011 seconds

Memory Before: 8,186.523 KB
Memory After: 8,188.547 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.01971 seconds
Time After: 0.01980 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,574.609 KB
Memory After: 8,576.570 KB
Memory Used: 1.961 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.02369 seconds
Time After: 0.02387 seconds
Time Taken: 0.00018 seconds

Memory Before: 9,966.742 KB
Memory After: 9,968.906 KB
Memory Used: 2.164 KB

End call of global.php: 0.024435997009277
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.02721 seconds
Time After: 0.02732 seconds
Time Taken: 0.00011 seconds

Memory Before: 11,473.125 KB
Memory After: 11,475.148 KB
Memory Used: 2.023 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.03027 seconds
Time After: 0.03036 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,563.133 KB
Memory After: 12,565.063 KB
Memory Used: 1.930 KB

SQL Query
SELECT
	blog.blogid, blog.title, blog.dateline, blog.state, blog.options AS blogoptions, user.*, blog.postedby_userid, blog.postedby_username,
	blog_user.title AS blogtitle, blog_user.bloguserid,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid, options_ignore, options_buddy, options_member, options_guest, blog_user.bloguserid
,avatar.avatarpath, 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_user AS user ON (user.userid = blog.postedby_userid)
LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.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.state IN('visible')
	AND blog.dateline <= 1728504137
	AND blog.pending = 0
	AND blog.dateline >= 1725912137
	AND options_guest & 1
	AND ~blog.options & 8

ORDER BY blog.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblograngedateline,state,userid,pendingdateline4 1Using index condition; Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog.postedby_userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4zabvo_db.user.userid1 

Time Before: 0.03088 seconds
Time After: 0.03118 seconds
Time Taken: 0.00030 seconds

Memory Before: 12,568.219 KB
Memory After: 12,569.969 KB
Memory Used: 1.750 KB

SQL Query
SELECT blog.blogid, user.username, blogtextid, blog.title, blog_text.dateline, blog_text.pagetext, user.*, blog_user.title AS blogtitle, blog_text.title AS commenttitle,
	blog_text.state,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid, options_ignore, options_buddy, options_member, options_guest
	,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_blog_user AS blog_user ON (blog_user.bloguserid = blog.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.state IN('visible')
	AND blog.dateline <= 1728504137
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.dateline >= 1727899337
	AND options_guest & 1
	AND ~blog.options & 8

ORDER BY blog_text.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblog_textrangeblogid,datelinedateline4 2Using index condition; Using where
1SIMPLEblogeq_refPRIMARY,dateline,state,userid,pendingPRIMARY4zabvo_db.blog_text.blogid1Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_text.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4zabvo_db.user.userid1 

Time Before: 0.03161 seconds
Time After: 0.03187 seconds
Time Taken: 0.00026 seconds

Memory Before: 12,569.523 KB
Memory After: 12,571.133 KB
Memory Used: 1.609 KB

SQL Query
SELECT text, languageid, special
FROM vb_phrase AS phrase
LEFT JOIN vb_phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'blog_no_entries' AND languageid IN (-1, 0, 4)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEphraserangename_lang_type,languageidname_lang_type816 3Using index condition
1SIMPLEvb_phrasetypeeq_refPRIMARYPRIMARY60zabvo_db.phrase.fieldname1Using where

Time Before: 0.03487 seconds
Time After: 0.03521 seconds
Time Taken: 0.00034 seconds

Memory Before: 12,841.375 KB
Memory After: 12,843.297 KB
Memory Used: 1.922 KB

SQL Query
SELECT text, languageid, special
FROM vb_phrase AS phrase
LEFT JOIN vb_phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'blog_no_comments' AND languageid IN (-1, 0, 4)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEphraserangename_lang_type,languageidname_lang_type816 3Using index condition
1SIMPLEvb_phrasetypeeq_refPRIMARYPRIMARY60zabvo_db.phrase.fieldname1Using where

Time Before: 0.03556 seconds
Time After: 0.03583 seconds
Time Taken: 0.00027 seconds

Memory Before: 12,842.375 KB
Memory After: 12,844.297 KB
Memory Used: 1.922 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.03683 seconds
Time After: 0.03756 seconds
Time Taken: 0.00072 seconds

Memory Before: 13,097.398 KB
Memory After: 13,101.250 KB
Memory Used: 3.852 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 >= 1726948800 AND dateline < 1728504137
			GROUP BY period
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblograngedateline,state,userid,pendingdateline4 1Using index condition; Using where; Using temporary; Using filesort
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04059 seconds
Time After: 0.04076 seconds
Time Taken: 0.00017 seconds

Memory Before: 13,404.969 KB
Memory After: 13,406.695 KB
Memory Used: 1.727 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 dateline <= 1727726399
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogALLdateline,state,userid   172Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04436 seconds
Time After: 0.04491 seconds
Time Taken: 0.00054 seconds

Memory Before: 13,417.320 KB
Memory After: 13,419.172 KB
Memory Used: 1.852 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS attach, blog.blogid, blog.dateline, blog.rating
				
				
				FROM vb_blog AS blog
				INNER JOIN vb_blog_categoryuser AS blog_categoryuser ON (blog_categoryuser.blogid = blog.blogid AND blog_categoryuser.blogcategoryid = 2)
				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.pending = 0 AND blog.dateline <= 1728504137
				
			
			ORDER BY blog.dateline DESC
			LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_categoryuserrefPRIMARY,blogcategoryidblogcategoryid4const4Using temporary; Using filesort
1SIMPLEblogeq_refPRIMARY,dateline,state,userid,pendingPRIMARY4zabvo_db.blog_categoryuser.blogid1Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04642 seconds
Time After: 0.04671 seconds
Time Taken: 0.00029 seconds

Memory Before: 13,399.383 KB
Memory After: 13,401.055 KB
Memory Used: 1.672 KB

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

Time Before: 0.04686 seconds
Time After: 0.04692 seconds
Time Taken: 0.00006 seconds

Memory Before: 13,399.430 KB
Memory After: 13,401.500 KB
Memory Used: 2.070 KB

SQL Query
SELECT blog_categoryuser.blogid, blog_category.title, blog_category.blogcategoryid, blog_categoryuser.userid, blog_category.userid AS creatorid,
	user.usergroupid, user.membergroupids, user.infractiongroupids
FROM vb_blog_categoryuser AS blog_categoryuser
LEFT JOIN vb_blog_category AS blog_category ON (blog_category.blogcategoryid = blog_categoryuser.blogcategoryid)
LEFT JOIN vb_user AS user ON (user.userid = blog_categoryuser.userid)
WHERE blogid IN (862,25,12)
ORDER BY blogid, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_categoryuserrangePRIMARYPRIMARY4 4Using where; Using index; Using temporary; Using filesort
1SIMPLEblog_categoryALLPRIMARY   3Using where; Using join buffer (Block Nested Loop)
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_categoryuser.userid1 

Time Before: 0.04749 seconds
Time After: 0.04771 seconds
Time Taken: 0.00023 seconds

Memory Before: 13,403.898 KB
Memory After: 13,405.781 KB
Memory Used: 1.883 KB

SQL Query
SELECT
	blog.*, blog.options AS blogoptions,
	blog_text.pagetext, blog_text.ipaddress AS blogipaddress, blog_text.allowsmilie, blog_text.htmlstate,
	user.*,
	bu.title AS blogtitle, bu.memberids, bu.options_member, bu.options_guest, bu.options_buddy, bu.bloguserid,
	blog_textparsed.pagetexthtml, blog_textparsed.hasimages,
	blog_editlog.userid AS edit_userid, blog_editlog.dateline AS edit_dateline, blog_editlog.reason AS edit_reason, blog_editlog.username AS edit_username,
	customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight


,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight



FROM vb_blog AS blog
INNER JOIN vb_blog_text AS blog_text ON (blog.firstblogtextid = blog_text.blogtextid)
LEFT JOIN vb_blog_editlog AS blog_editlog ON (blog_editlog.blogtextid = blog.firstblogtextid)
LEFT JOIN vb_blog_textparsed AS blog_textparsed ON(blog_textparsed.blogtextid = blog_text.blogtextid AND blog_textparsed.styleid = 1 AND blog_textparsed.languageid = 4)

LEFT JOIN vb_user AS user ON (blog.postedby_userid = user.userid)
LEFT JOIN vb_customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid)
LEFT JOIN vb_blog_user AS bu ON (bu.bloguserid = blog.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.blogid IN (862,25,12)


ORDER BY blog.dateline DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_textparsedsystemPRIMARY   0const row not found
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblograngePRIMARYPRIMARY4 3Using index condition; Using filesort
1SIMPLEblog_texteq_refPRIMARYPRIMARY4zabvo_db.blog.firstblogtextid1 
1SIMPLEblog_editlogeq_refPRIMARYPRIMARY4zabvo_db.blog.firstblogtextid1 
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog.postedby_userid1 
1SIMPLEcustomprofilepiceq_refPRIMARYPRIMARY4zabvo_db.user.userid1 
1SIMPLEbueq_refPRIMARYPRIMARY4zabvo_db.blog.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4zabvo_db.user.userid1 

Time Before: 0.04865 seconds
Time After: 0.04916 seconds
Time Taken: 0.00051 seconds

Memory Before: 13,418.133 KB
Memory After: 13,422.734 KB
Memory Used: 4.602 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.05363 seconds
Time After: 0.05372 seconds
Time Taken: 0.00009 seconds

Memory Before: 14,441.352 KB
Memory After: 14,443.375 KB
Memory Used: 2.023 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.06282 seconds
Time After: 0.06304 seconds
Time Taken: 0.00022 seconds

Memory Before: 15,404.203 KB
Memory After: 15,410.203 KB
Memory Used: 6.000 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1728504137, location = '/blog.php?blogcategoryid=2&explain=1', badlocation = 0
WHERE sessionhash = '2615c3271c8ff04812133e794c07db61'

Time Before: 0.06522 seconds
Time After: 0.06538 seconds
Time Taken: 0.00016 seconds

Memory Before: 15,783.539 KB
Memory After: 15,783.781 KB
Memory Used: 0.242 KB

Page generated in 0.06472110748291 seconds with 24 queries, spending 0.0067579746246338 doing MySQL queries and 0.057963132858276 doing PHP things.
Shutdown Queries:
DISABLED