Including Functions.php

Time Before: 0.00067 seconds
Time After: 0.00077 seconds
Time Taken: 0.00010 seconds

Memory Before: 454.398 KB
Memory After: 521.352 KB
Memory Used: 66.953 KB

Connect to Database on Server: localhost

Time Before: 0.00083 seconds
Time After: 0.00138 seconds
Time Taken: 0.00055 seconds

Memory Before: 521.328 KB
Memory After: 522.219 KB
Memory Used: 0.891 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','blogcategorycache','blogstats','blogfeatured_settings','blogfeatured_entries','blogtagcloud','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore ALLPRIMARY   3369.70Using where

Time Before: 0.00234 seconds
Time After: 0.00341 seconds
Time Taken: 0.00107 seconds

Memory Before: 524.313 KB
Memory After: 667.492 KB
Memory Used: 143.180 KB

Time Before: 0.00158 seconds
Time After: 0.01642 seconds
Time Taken: 0.01484 seconds

Memory Before: 522.039 KB
Memory After: 981.406 KB
Memory Used: 459.367 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '34.239.158.107'
	AND idhash = '613d28032e6bc98d55618606671d6a7a'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refuser_activity,guest_lookupguest_lookup83const,const,const2100.00 

Time Before: 0.01764 seconds
Time After: 0.01800 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,144.094 KB
Memory After: 1,160.797 KB
Memory Used: 16.703 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 language
WHERE languageid = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01893 seconds
Time After: 0.02328 seconds
Time Taken: 0.00436 seconds

Memory Before: 1,152.047 KB
Memory After: 1,260.688 KB
Memory Used: 108.641 KB

Time Before: 0.01696 seconds
Time After: 0.02346 seconds
Time Taken: 0.00649 seconds

Memory Before: 1,140.320 KB
Memory After: 1,252.555 KB
Memory Used: 112.234 KB

SQL Query
SELECT MAX(permissions & 1) AS perm
FROM cms_permissions
WHERE nodeid = 1 AND usergroupid IN (1)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcms_permissions constusergroupid,nodeidusergroupid8const,const1100.00 

Time Before: 0.03873 seconds
Time After: 0.03896 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,461.281 KB
Memory After: 1,477.531 KB
Memory Used: 16.250 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.03995 seconds
Time After: 0.04375 seconds
Time Taken: 0.00380 seconds

Memory Before: 1,528.883 KB
Memory After: 1,657.523 KB
Memory Used: 128.641 KB

End call of global.php: 0.052462100982666
SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'cms_priv_user_0'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcache constPRIMARYPRIMARY66const1100.00 

Time Before: 0.05333 seconds
Time After: 0.05360 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,000.289 KB
Memory After: 2,016.742 KB
Memory Used: 16.453 KB

SQL Query
SELECT bm.userid, bm.permissions, bm.type, user.username
FROM blog_moderator AS bm
INNER JOIN user AS user USING (userid)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEbm ALLuserid   1100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.bm.userid1100.00 

Time Before: 0.05463 seconds
Time After: 0.05495 seconds
Time Taken: 0.00033 seconds

Memory Before: 2,030.031 KB
Memory After: 2,046.219 KB
Memory Used: 16.188 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, user.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 blog AS blog 
LEFT JOIN user AS user ON (user.userid = blog.postedby_userid)
INNER JOIN user AS user2 ON (user2.userid = blog.userid)
LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

WHERE blog.state IN('visible')
	AND blog.dateline <= 1566304301
	AND blog.pending = 0
	AND blog.dateline >= 1563625901
	AND options_guest & 1
	AND ~blog.options & 8

ORDER BY blog.dateline DESC
LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog refdateline,state,userid,pendingstate1const118.71Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog.postedby_userid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2vb_local.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4vb_local.user.userid1100.00 
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using where
1SIMPLEuser2 eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using index

Time Before: 0.05658 seconds
Time After: 0.05795 seconds
Time Taken: 0.00136 seconds

Memory Before: 2,034.000 KB
Memory After: 2,065.508 KB
Memory Used: 31.508 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (12,47,115,64,10,9,8,536,534,77,98,50,51,52,59,92,93,99,95,96,97,94,100,101,102,104,105,106,107,103,112,109,5,758,760,67,58,66,967,999,1000,1020,0,0,426,420,419,424,425,423,422,427,428,429,735,1009,681,685,682,683,684,1039,0,0,1019,980,705,706,708,709,932,1051,1033,983,984,532,531,535,519,524,520,526,527,522,523,525,464,466,468,470,472,698,693,696,697,777,778,699,694,691,692,990,85,0,0,0,0)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 100100.00Using where

Time Before: 0.06331 seconds
Time After: 0.06488 seconds
Time Taken: 0.00157 seconds

Memory Before: 2,218.125 KB
Memory After: 2,481.977 KB
Memory Used: 263.852 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, user.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 blog_text AS blog_text
LEFT JOIN blog AS blog ON (blog.blogid = blog_text.blogid)
LEFT JOIN user AS user ON (user.userid = blog_text.userid)
INNER JOIN user AS user2 ON (user2.userid = blog.userid)
LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

WHERE blog.state IN('visible')
	AND blog.dateline <= 1566304301
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.dateline >= 1565699501
	AND options_guest & 1
	AND ~blog.options & 8

ORDER BY blog_text.dateline DESC
LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog_text rangeblogid,datelinedateline4 133.33Using index condition; Using where
1SIMPLEblog eq_refPRIMARY,dateline,state,userid,pendingPRIMARY4vb_local.blog_text.blogid15.00Using where
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog_text.userid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2vb_local.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4vb_local.user.userid1100.00 
1SIMPLEuser2 eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using index

Time Before: 0.07173 seconds
Time After: 0.07245 seconds
Time Taken: 0.00072 seconds

Memory Before: 2,508.117 KB
Memory After: 2,522.836 KB
Memory Used: 14.719 KB

SQL Query
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'blog_no_comments' AND languageid IN (-1, 0, 1)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEphrase rangename_lang_type,languageidname_lang_type276 3100.00Using index condition
1SIMPLEphrasetype constPRIMARYPRIMARY20const1100.00 

Time Before: 0.07308 seconds
Time After: 0.07349 seconds
Time Taken: 0.00040 seconds

Memory Before: 2,504.836 KB
Memory After: 2,521.023 KB
Memory Used: 16.188 KB

SQL Query
SELECT COUNT(*) AS total,
			FROM_UNIXTIME(dateline - 0, '%c-%e-%Y') AS period
			FROM blog AS blog
			LEFT JOIN 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 >= 1563667200 AND dateline < 1566304301
			GROUP BY period
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog refdateline,state,userid,pendingstate1const1186.14Using index condition; Using where; Using temporary; Using filesort
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using where

Time Before: 0.07422 seconds
Time After: 0.07575 seconds
Time Taken: 0.00153 seconds

Memory Before: 2,510.258 KB
Memory After: 2,526.953 KB
Memory Used: 16.695 KB

SQL Query
SELECT MAX(dateline) AS dateline
			FROM blog AS blog
			LEFT JOIN 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 <= 1564617599
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog refdateline,state,useridstate1const1199.01Using index condition; Using where
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using where

Time Before: 0.08100 seconds
Time After: 0.08201 seconds
Time Taken: 0.00101 seconds

Memory Before: 2,545.430 KB
Memory After: 2,561.648 KB
Memory Used: 16.219 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS attach, blog.blogid, blog.dateline, blog.rating
				
				
				FROM blog AS blog
				
				LEFT JOIN 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 <= 1566304301
				
			
			ORDER BY blog.dateline DESC
			LIMIT 0, 5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog refdateline,state,userid,pendingstate1const119.90Using where
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using where

Time Before: 0.08847 seconds
Time After: 0.08955 seconds
Time Taken: 0.00108 seconds

Memory Before: 2,521.984 KB
Memory After: 2,538.344 KB
Memory Used: 16.359 KB

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

Time Before: 0.09004 seconds
Time After: 0.09016 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,537.594 KB
Memory After: 2,554.000 KB
Memory Used: 16.406 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 blog_categoryuser AS blog_categoryuser
LEFT JOIN blog_category AS blog_category ON (blog_category.blogcategoryid = blog_categoryuser.blogcategoryid)
INNER JOIN user AS user ON (user.userid = blog_categoryuser.userid)
WHERE blogid IN (101,100,99,98,97)
ORDER BY blogid, displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog_categoryuser indexPRIMARY,useridblogcategoryid4 1100.00Using where; Using index; Using temporary; Using filesort
1SIMPLEblog_category eq_refPRIMARYPRIMARY4vb_local.blog_categoryuser.blogcategoryid1100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog_categoryuser.userid1100.00 

Time Before: 0.09240 seconds
Time After: 0.09276 seconds
Time Taken: 0.00036 seconds

Memory Before: 2,542.969 KB
Memory After: 2,558.813 KB
Memory Used: 15.844 KB

SQL Query
SELECT
	blog.*, blog.options AS blogoptions,
	blog_text.pagetext, ipdata.ip 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 blog AS blog
INNER JOIN blog_text AS blog_text ON (blog.firstblogtextid = blog_text.blogtextid)
LEFT JOIN ipdata AS ipdata ON (blog_text.ipaddress = ipdata.ipid)
LEFT JOIN blog_editlog AS blog_editlog ON (blog_editlog.blogtextid = blog.firstblogtextid)
LEFT JOIN blog_textparsed AS blog_textparsed ON(blog_textparsed.blogtextid = blog_text.blogtextid AND blog_textparsed.styleid = 1 AND blog_textparsed.languageid = 1)

LEFT JOIN user AS user ON (blog.postedby_userid = user.userid)
INNER JOIN user AS user2 ON (blog.userid = user2.userid)
LEFT JOIN customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid)
LEFT JOIN blog_user AS bu ON (bu.bloguserid = blog.userid)


LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)



WHERE blog.blogid IN (101,100,99,98,97)


ORDER BY blog.dateline DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog rangePRIMARY,useridPRIMARY4 5100.00Using index condition; Using temporary; Using filesort
1SIMPLEblog_text eq_refPRIMARYPRIMARY4vb_local.blog.firstblogtextid1100.00 
1SIMPLEipdata eq_refipidipid4vb_local.blog_text.ipaddress1100.00 
1SIMPLEuser2 eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00Using index
1SIMPLEblog_editlog ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEblog_textparsed ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog.postedby_userid1100.00 
1SIMPLEcustomprofilepic ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEbu eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 
1SIMPLEavatar ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatar ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)

Time Before: 0.09437 seconds
Time After: 0.09666 seconds
Time Taken: 0.00228 seconds

Memory Before: 2,567.063 KB
Memory After: 2,617.547 KB
Memory Used: 50.484 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcache constPRIMARYPRIMARY66const1100.00 

Time Before: 0.09824 seconds
Time After: 0.09847 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,672.172 KB
Memory After: 2,688.625 KB
Memory Used: 16.453 KB

SQL Query
UPDATE session
SET lastactivity = 1566304301, location = '/blog.php?do=list&explain=1', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'eb34bd1fe69cc3ad6b6709878f2c67ad'

Time Before: 0.11496 seconds
Time After: 0.11530 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,044.813 KB
Memory After: 3,044.688 KB
Memory Used: -0.125 KB

Page generated in 0.11445808410645 seconds with 19 queries, spending 0.021978139877319 doing MySQL queries and 0.092479944229126 doing PHP things.
Shutdown Queries:
DISABLED