Including Functions.php

Time Before: 0.00392 seconds
Time After: 0.01067 seconds
Time Taken: 0.00675 seconds

Memory Before: 4,198.969 KB
Memory After: 6,469.234 KB
Memory Used: 2,270.266 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.01073 seconds
Time After: 0.01134 seconds
Time Taken: 0.00061 seconds

Memory Before: 6,469.148 KB
Memory After: 6,472.750 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01150 seconds
Time After: 0.01156 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,472.789 KB
Memory After: 6,473.281 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.01199 seconds
Time After: 0.01247 seconds
Time Taken: 0.00048 seconds

Memory Before: 6,476.375 KB
Memory After: 6,478.656 KB
Memory Used: 2.281 KB

Time Before: 0.01158 seconds
Time After: 0.01327 seconds
Time Taken: 0.00169 seconds

Memory Before: 6,472.391 KB
Memory After: 7,235.281 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.01484 seconds
Time After: 0.01491 seconds
Time Taken: 0.00007 seconds

Memory Before: 8,014.289 KB
Memory After: 8,016.289 KB
Memory Used: 2.000 KB

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

Time Before: 0.01542 seconds
Time After: 0.01556 seconds
Time Taken: 0.00015 seconds

Memory Before: 8,031.016 KB
Memory After: 8,033.219 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.01669 seconds
Time After: 0.01719 seconds
Time Taken: 0.00050 seconds

Memory Before: 8,042.945 KB
Memory After: 8,044.422 KB
Memory Used: 1.477 KB

Time Before: 0.01507 seconds
Time After: 0.01734 seconds
Time Taken: 0.00227 seconds

Memory Before: 8,025.055 KB
Memory After: 8,173.047 KB
Memory Used: 147.992 KB

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

Time Before: 0.01777 seconds
Time After: 0.01789 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,187.039 KB
Memory After: 8,189.063 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.02074 seconds
Time After: 0.02082 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,575.328 KB
Memory After: 8,577.305 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.02496 seconds
Time After: 0.02526 seconds
Time Taken: 0.00030 seconds

Memory Before: 9,967.422 KB
Memory After: 9,969.586 KB
Memory Used: 2.164 KB

End call of global.php: 0.025783061981201
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.02855 seconds
Time After: 0.02864 seconds
Time Taken: 0.00008 seconds

Memory Before: 11,473.906 KB
Memory After: 11,475.930 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.03164 seconds
Time After: 0.03173 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,563.172 KB
Memory After: 12,565.102 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 <= 1725824697
	AND blog.pending = 0
	AND blog.dateline >= 1723146297
	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.03223 seconds
Time After: 0.03252 seconds
Time Taken: 0.00029 seconds

Memory Before: 12,568.258 KB
Memory After: 12,570.008 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 <= 1725824697
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.dateline >= 1725219897
	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.03295 seconds
Time After: 0.03325 seconds
Time Taken: 0.00030 seconds

Memory Before: 12,569.563 KB
Memory After: 12,571.172 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.03448 seconds
Time After: 0.03481 seconds
Time Taken: 0.00033 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.03517 seconds
Time After: 0.03547 seconds
Time Taken: 0.00030 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.03649 seconds
Time After: 0.03722 seconds
Time Taken: 0.00073 seconds

Memory Before: 13,097.180 KB
Memory After: 13,101.031 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 >= 1724529600 AND dateline < 1725824697
			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.04026 seconds
Time After: 0.04051 seconds
Time Taken: 0.00025 seconds

Memory Before: 13,404.703 KB
Memory After: 13,406.430 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 <= 1725134399
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogALLdateline,state,userid   172Using where
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04682 seconds
Time After: 0.04732 seconds
Time Taken: 0.00050 seconds

Memory Before: 13,417.070 KB
Memory After: 13,418.922 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
				
				LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
				
				WHERE blog.ratingnum >= 2 AND options_guest & 1 AND ~blog.options & 8 AND state IN('visible') AND blog.pending = 0 AND blog.dateline <= 1725824697
				
			
			ORDER BY blog.rating DESC, blog.blogid
			LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblograngedateline,state,userid,rating,pendingrating4 8Using index condition; Using where; Using filesort
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.04811 seconds
Time After: 0.04832 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,398.484 KB
Memory After: 13,400.375 KB
Memory Used: 1.891 KB

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

Time Before: 0.04845 seconds
Time After: 0.04849 seconds
Time Taken: 0.00005 seconds

Memory Before: 13,399.141 KB
Memory After: 13,401.211 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 (6,12,24,42,1,44)
ORDER BY blogid, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_categoryuserrangePRIMARYPRIMARY4 6Using 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.04881 seconds
Time After: 0.04903 seconds
Time Taken: 0.00022 seconds

Memory Before: 13,404.383 KB
Memory After: 13,406.148 KB
Memory Used: 1.766 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 (6,12,24,42,1,44)


ORDER BY blog.rating DESC, blog.blogid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_textparsedsystemPRIMARY   0const row not found
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblograngePRIMARYPRIMARY4 6Using 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.04959 seconds
Time After: 0.05011 seconds
Time Taken: 0.00052 seconds

Memory Before: 13,414.992 KB
Memory After: 13,422.734 KB
Memory Used: 7.742 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.05400 seconds
Time After: 0.05410 seconds
Time Taken: 0.00010 seconds

Memory Before: 14,423.359 KB
Memory After: 14,425.383 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.06946 seconds
Time After: 0.06966 seconds
Time Taken: 0.00020 seconds

Memory Before: 15,452.203 KB
Memory After: 15,458.203 KB
Memory Used: 6.000 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1725824697, location = '/blog.php?do=list&blogtype=best&explain=1', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'c987bed73bee766e757611ab04c37c4d'

Time Before: 0.07204 seconds
Time After: 0.07223 seconds
Time Taken: 0.00019 seconds

Memory Before: 15,872.664 KB
Memory After: 15,872.859 KB
Memory Used: 0.195 KB

Page generated in 0.071552038192749 seconds with 24 queries, spending 0.0067446231842041 doing MySQL queries and 0.064807415008545 doing PHP things.
Shutdown Queries:
DISABLED