Including Functions.php

Time Before: 0.00624 seconds
Time After: 0.01560 seconds
Time Taken: 0.00936 seconds

Memory Before: 4,199.016 KB
Memory After: 6,469.234 KB
Memory Used: 2,270.219 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.01569 seconds
Time After: 0.01679 seconds
Time Taken: 0.00111 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.01696 seconds
Time After: 0.01703 seconds
Time Taken: 0.00007 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.01759 seconds
Time After: 0.01822 seconds
Time Taken: 0.00064 seconds

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

Time Before: 0.01706 seconds
Time After: 0.01902 seconds
Time Taken: 0.00196 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.02070 seconds
Time After: 0.02078 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,014.297 KB
Memory After: 8,016.297 KB
Memory Used: 2.000 KB

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

Time Before: 0.02126 seconds
Time After: 0.02139 seconds
Time Taken: 0.00013 seconds

Memory Before: 8,031.086 KB
Memory After: 8,033.289 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.02203 seconds
Time After: 0.02248 seconds
Time Taken: 0.00045 seconds

Memory Before: 8,042.992 KB
Memory After: 8,044.469 KB
Memory Used: 1.477 KB

Time Before: 0.02095 seconds
Time After: 0.02258 seconds
Time Taken: 0.00163 seconds

Memory Before: 8,025.063 KB
Memory After: 8,173.094 KB
Memory Used: 148.031 KB

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

Time Before: 0.02291 seconds
Time After: 0.02302 seconds
Time Taken: 0.00011 seconds

Memory Before: 8,187.086 KB
Memory After: 8,189.109 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.02593 seconds
Time After: 0.02601 seconds
Time Taken: 0.00008 seconds

Memory Before: 8,575.258 KB
Memory After: 8,577.234 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.03149 seconds
Time After: 0.03193 seconds
Time Taken: 0.00045 seconds

Memory Before: 9,967.375 KB
Memory After: 9,969.539 KB
Memory Used: 2.164 KB

End call of global.php: 0.032723903656006
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.03603 seconds
Time After: 0.03611 seconds
Time Taken: 0.00009 seconds

Memory Before: 11,473.773 KB
Memory After: 11,475.797 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.03977 seconds
Time After: 0.03987 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,563.000 KB
Memory After: 12,564.930 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 <= 1725765451
	AND blog.pending = 0
	AND blog.dateline >= 1723087051
	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.04048 seconds
Time After: 0.04081 seconds
Time Taken: 0.00033 seconds

Memory Before: 12,568.086 KB
Memory After: 12,569.836 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 <= 1725765451
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.dateline >= 1725160651
	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.04133 seconds
Time After: 0.04162 seconds
Time Taken: 0.00029 seconds

Memory Before: 12,569.391 KB
Memory After: 12,571.000 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.04304 seconds
Time After: 0.04340 seconds
Time Taken: 0.00036 seconds

Memory Before: 12,841.234 KB
Memory After: 12,843.156 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.04381 seconds
Time After: 0.04414 seconds
Time Taken: 0.00032 seconds

Memory Before: 12,842.234 KB
Memory After: 12,844.156 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.04540 seconds
Time After: 0.04627 seconds
Time Taken: 0.00087 seconds

Memory Before: 13,096.672 KB
Memory After: 13,100.523 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 < 1725765451
			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.04957 seconds
Time After: 0.04976 seconds
Time Taken: 0.00019 seconds

Memory Before: 13,404.180 KB
Memory After: 13,405.906 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.05333 seconds
Time After: 0.05384 seconds
Time Taken: 0.00052 seconds

Memory Before: 13,416.547 KB
Memory After: 13,418.398 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 options_guest & 1 AND ~blog.options & 8 AND state IN('visible') AND blog.pending = 0 AND blog.dateline <= 1725765451
				
			
			ORDER BY blog.dateline DESC
			LIMIT 105, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblogALLdateline,state,userid,pending   172Using where; Using filesort
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.blog.userid1Using where

Time Before: 0.05469 seconds
Time After: 0.05524 seconds
Time Taken: 0.00055 seconds

Memory Before: 13,398.008 KB
Memory After: 13,399.891 KB
Memory Used: 1.883 KB

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

Time Before: 0.05540 seconds
Time After: 0.05545 seconds
Time Taken: 0.00006 seconds

Memory Before: 13,398.742 KB
Memory After: 13,400.813 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 (973,971,972,970,969)
ORDER BY blogid, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_categoryuserrangePRIMARYPRIMARY4 5Using 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.05593 seconds
Time After: 0.05614 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,403.633 KB
Memory After: 13,405.227 KB
Memory Used: 1.594 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 (973,971,972,970,969)


ORDER BY blog.dateline DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblog_textparsedsystemPRIMARY   0const row not found
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEblograngePRIMARYPRIMARY4 5Using 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.05698 seconds
Time After: 0.05751 seconds
Time Taken: 0.00053 seconds

Memory Before: 13,410.016 KB
Memory After: 13,416.719 KB
Memory Used: 6.703 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.06277 seconds
Time After: 0.06289 seconds
Time Taken: 0.00012 seconds

Memory Before: 14,435.625 KB
Memory After: 14,437.648 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.08012 seconds
Time After: 0.08039 seconds
Time Taken: 0.00027 seconds

Memory Before: 15,445.914 KB
Memory After: 15,451.914 KB
Memory Used: 6.000 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1725765451, location = '/blog.php?do=list&page=8&explain=1', incalendar = 0, badlocation = 0
WHERE sessionhash = '17664ae547909bb8bd00ab436881cf1e'

Time Before: 0.08292 seconds
Time After: 0.08311 seconds
Time Taken: 0.00019 seconds

Memory Before: 15,858.266 KB
Memory After: 15,858.500 KB
Memory Used: 0.234 KB

Page generated in 0.082360982894897 seconds with 24 queries, spending 0.0081126689910889 doing MySQL queries and 0.074248313903809 doing PHP things.
Shutdown Queries:
DISABLED