Including Functions.php

Time Before: 0.00392 seconds
Time After: 0.00996 seconds
Time Taken: 0.00605 seconds

Memory Before: 4,199.695 KB
Memory After: 6,469.969 KB
Memory Used: 2,270.273 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.01003 seconds
Time After: 0.01059 seconds
Time Taken: 0.00056 seconds

Memory Before: 6,469.883 KB
Memory After: 6,473.484 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01073 seconds
Time After: 0.01078 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,473.523 KB
Memory After: 6,474.016 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.01123 seconds
Time After: 0.01172 seconds
Time Taken: 0.00049 seconds

Memory Before: 6,477.109 KB
Memory After: 6,479.391 KB
Memory Used: 2.281 KB

Time Before: 0.01081 seconds
Time After: 0.01256 seconds
Time Taken: 0.00176 seconds

Memory Before: 6,473.125 KB
Memory After: 7,236.016 KB
Memory Used: 762.891 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.01440 seconds
Time After: 0.01448 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,015.031 KB
Memory After: 8,017.031 KB
Memory Used: 2.000 KB

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

Time Before: 0.01494 seconds
Time After: 0.01507 seconds
Time Taken: 0.00013 seconds

Memory Before: 8,031.820 KB
Memory After: 8,034.023 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.01618 seconds
Time After: 0.01662 seconds
Time Taken: 0.00044 seconds

Memory Before: 8,043.750 KB
Memory After: 8,045.227 KB
Memory Used: 1.477 KB

Time Before: 0.01465 seconds
Time After: 0.01673 seconds
Time Taken: 0.00208 seconds

Memory Before: 8,025.797 KB
Memory After: 8,173.852 KB
Memory Used: 148.055 KB

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

Time Before: 0.01705 seconds
Time After: 0.01716 seconds
Time Taken: 0.00011 seconds

Memory Before: 8,187.836 KB
Memory After: 8,189.859 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.02002 seconds
Time After: 0.02011 seconds
Time Taken: 0.00009 seconds

Memory Before: 8,575.945 KB
Memory After: 8,577.938 KB
Memory Used: 1.992 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.02414 seconds
Time After: 0.02432 seconds
Time Taken: 0.00019 seconds

Memory Before: 9,968.477 KB
Memory After: 9,970.641 KB
Memory Used: 2.164 KB

End call of global.php: 0.024900913238525
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.02772 seconds
Time After: 0.02780 seconds
Time Taken: 0.00008 seconds

Memory Before: 11,474.852 KB
Memory After: 11,476.875 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.03087 seconds
Time After: 0.03097 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,564.898 KB
Memory After: 12,566.828 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 <= 1728704975
	AND blog.pending = 0
	AND blog.dateline >= 1726112975
	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.03146 seconds
Time After: 0.03176 seconds
Time Taken: 0.00030 seconds

Memory Before: 12,569.984 KB
Memory After: 12,571.734 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 <= 1728704975
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.dateline >= 1728100175
	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.03221 seconds
Time After: 0.03249 seconds
Time Taken: 0.00028 seconds

Memory Before: 12,571.289 KB
Memory After: 12,572.898 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.03421 seconds
Time After: 0.03456 seconds
Time Taken: 0.00035 seconds

Memory Before: 12,843.102 KB
Memory After: 12,845.023 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.03494 seconds
Time After: 0.03523 seconds
Time Taken: 0.00029 seconds

Memory Before: 12,844.102 KB
Memory After: 12,846.023 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.03633 seconds
Time After: 0.03706 seconds
Time Taken: 0.00074 seconds

Memory Before: 13,100.969 KB
Memory After: 13,104.820 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 >= 1708804800 AND dateline < 1712433600
			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.04013 seconds
Time After: 0.04034 seconds
Time Taken: 0.00022 seconds

Memory Before: 13,408.500 KB
Memory After: 13,410.258 KB
Memory Used: 1.758 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 <= 1709236799
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogALLdateline,state,userid   172Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04386 seconds
Time After: 0.04433 seconds
Time Taken: 0.00047 seconds

Memory Before: 13,421.289 KB
Memory After: 13,423.141 KB
Memory Used: 1.852 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 dateline >= 1711915200
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblograngedateline,state,useridstate5 1Using index condition; Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04459 seconds
Time After: 0.04471 seconds
Time Taken: 0.00012 seconds

Memory Before: 13,423.930 KB
Memory After: 13,425.773 KB
Memory Used: 1.844 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 >= 1709236800 AND blog.dateline < 1711915200 AND options_guest & 1 AND ~blog.options & 8 AND state IN('visible') AND blog.pending = 0 AND blog.dateline <= 1728704975
				
			
			ORDER BY blog.dateline DESC
			LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblograngedateline,state,userid,pendingdateline4 1Using index condition; Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04546 seconds
Time After: 0.04564 seconds
Time Taken: 0.00018 seconds

Memory Before: 13,402.336 KB
Memory After: 13,404.000 KB
Memory Used: 1.664 KB

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

Time Before: 0.04577 seconds
Time After: 0.04582 seconds
Time Taken: 0.00004 seconds

Memory Before: 13,402.727 KB
Memory After: 13,404.797 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 (1040)
ORDER BY blogid, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_categoryuserrefPRIMARYPRIMARY4const1Using index; Using temporary; Using filesort
1SIMPLEblog_categoryeq_refPRIMARYPRIMARY4zabvo_db.blog_categoryuser.blogcategoryid1 
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.blog_categoryuser.userid1 

Time Before: 0.04610 seconds
Time After: 0.04623 seconds
Time Taken: 0.00013 seconds

Memory Before: 13,406.641 KB
Memory After: 13,408.250 KB
Memory Used: 1.609 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 (1040)


ORDER BY blog.dateline DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_textparsedsystemPRIMARY   0const row not found
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblogconstPRIMARYPRIMARY4const1 
1SIMPLEblog_textconstPRIMARYPRIMARY4const1 
1SIMPLEblog_editlogconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEbuconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.04680 seconds
Time After: 0.04714 seconds
Time Taken: 0.00034 seconds

Memory Before: 13,412.922 KB
Memory After: 13,415.430 KB
Memory Used: 2.508 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.05082 seconds
Time After: 0.05093 seconds
Time Taken: 0.00011 seconds

Memory Before: 14,417.289 KB
Memory After: 14,419.313 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.05558 seconds
Time After: 0.05582 seconds
Time Taken: 0.00024 seconds

Memory Before: 15,341.617 KB
Memory After: 15,347.617 KB
Memory Used: 6.000 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1728704975, location = '/blog.php?do=list&m=3&y=2024&explain=1', incalendar = 0, badlocation = 0
WHERE sessionhash = '087e2ad02a2a93f8929bf37a4edf756d'

Time Before: 0.05808 seconds
Time After: 0.05827 seconds
Time Taken: 0.00019 seconds

Memory Before: 15,687.555 KB
Memory After: 15,687.781 KB
Memory Used: 0.227 KB

Page generated in 0.057596921920776 seconds with 25 queries, spending 0.0062882900238037 doing MySQL queries and 0.051308631896973 doing PHP things.
Shutdown Queries:
DISABLED