Including Functions.php

Time Before: 0.00037 seconds
Time After: 0.00043 seconds
Time Taken: 0.00006 seconds

Memory Before: 434.133 KB
Memory After: 501.086 KB
Memory Used: 66.953 KB

Connect to Database on Server: localhost

Time Before: 0.00047 seconds
Time After: 0.00098 seconds
Time Taken: 0.00050 seconds

Memory Before: 501.063 KB
Memory After: 501.953 KB
Memory Used: 0.891 KB

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

Time Before: 0.00174 seconds
Time After: 0.00384 seconds
Time Taken: 0.00210 seconds

Memory Before: 503.734 KB
Memory After: 637.633 KB
Memory Used: 133.898 KB

Time Before: 0.00111 seconds
Time After: 0.01290 seconds
Time Taken: 0.01179 seconds

Memory Before: 501.773 KB
Memory After: 902.500 KB
Memory Used: 400.727 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('blogcategorycache')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore constPRIMARYPRIMARY50const1100.00 

Time Before: 0.01356 seconds
Time After: 0.01376 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,060.398 KB
Memory After: 1,076.602 KB
Memory Used: 16.203 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.01438 seconds
Time After: 0.01464 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,065.781 KB
Memory After: 1,082.484 KB
Memory Used: 16.703 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_wol AS phrasegroup_wol,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_messaging AS phrasegroup_messaging,
			phrasegroup_cprofilefield AS phrasegroup_cprofilefield,
			phrasegroup_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_profilefield AS phrasegroup_profilefield,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			phrasegroup_vbblogglobal AS phrasegroup_vbblogglobal,
			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.01560 seconds
Time After: 0.01867 seconds
Time Taken: 0.00307 seconds

Memory Before: 1,073.867 KB
Memory After: 1,246.570 KB
Memory Used: 172.703 KB

Time Before: 0.01389 seconds
Time After: 0.01883 seconds
Time Taken: 0.00494 seconds

Memory Before: 1,064.227 KB
Memory After: 1,244.047 KB
Memory Used: 179.820 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.03692 seconds
Time After: 0.03713 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,630.008 KB
Memory After: 1,646.258 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.03796 seconds
Time After: 0.04063 seconds
Time Taken: 0.00267 seconds

Memory Before: 1,630.367 KB
Memory After: 1,759.008 KB
Memory Used: 128.641 KB

End call of global.php: 0.048160076141357
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usercsscache.cachedcss, IF(usercsscache.cachedcss IS NULL, 0, 1) AS hascachedcss, usercsscache.buildpermissions AS cssbuildpermissions
	, bu.bloguserid, bu.entries, bu.options AS blog_options, bu.subscribeown AS blog_subscribeown, bu.memberids, bu.memberblogids,
bu.subscribeothers AS blog_subscribeothers, bu.title AS blog_title, bu.description AS blog_description, bu.allowsmilie AS blog_allowsmilie, bu.draft AS blog_draft, bu.pending AS blog_pending, bu.options_member, bu.options_guest, bu.options_buddy, bu.options_ignore, bu.uncatentries, bu.moderation AS blog_moderation, bu.deleted AS blog_deleted, bu.akismet_key AS blog_akismet_key, isblogmoderator, bu.comments_moderation AS blog_comments_moderation, bu.lastblog, bu.lastblogid, bu.lastblogtitle, bu.categorycache, bu.tagcloud, bu.sidebar, bu.custompages, bu.customblocks, blockparsed.blocktext, 1 AS blogstyleid, blog_usercsscache.csscolors AS blog_csscolors, blog_usercsscache.cachedcss AS blog_cachedcss, IF(blog_usercsscache.cachedcss IS NULL, 0, 1) AS blog_hascachedcss, blog_usercsscache.buildpermissions AS blog_cssbuildpermissions, IF(blog_subscribeuser.blogsubscribeuserid, 1, 0) AS blogsubscribed
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN sigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN usercsscache AS usercsscache ON (user.userid = usercsscache.userid)

LEFT JOIN blog_user AS bu ON (bu.bloguserid = user.userid)
LEFT JOIN blog_custom_block_parsed AS blockparsed ON (blockparsed.userid = user.userid AND blockparsed.styleid = 1 AND blockparsed.languageid = 1)
LEFT JOIN blog_subscribeuser AS blog_subscribeuser ON (user.userid = blog_subscribeuser.bloguserid AND blog_subscribeuser.userid = 7073)
LEFT JOIN blog_usercsscache AS blog_usercsscache ON (user.userid = blog_usercsscache.userid)
WHERE user.userid = 7073 LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEavatar constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEcustomprofilepic constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEusercsscache constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEbu constPRIMARYPRIMARY4const1100.00 
1SIMPLEblockparsed constPRIMARYPRIMARY12const,const,const00.00unique row not found
1SIMPLEblog_subscribeuser constbloguserid,useridbloguserid8const,const00.00unique row not found
1SIMPLEblog_usercsscache constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.05044 seconds
Time After: 0.05131 seconds
Time Taken: 0.00087 seconds

Memory Before: 2,178.359 KB
Memory After: 2,197.125 KB
Memory Used: 18.766 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (14,78,79,67,51,60,0,20,80,81,109,4,3,574,603,564,565,567,573,572,399,400,401,402,158,159,403,408,404,405,406,409,410,411,412,413,464,466,468,470,472,520,519,522,523,526,527,769,939,945,578,576,579,581,580,582,583,584,585,586,587,588,593,590,592,589,591,602,604,605,614,596,607,608,609,610,612,575,601,606,615,611,617,616,613,693,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,85)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 123100.00Using where

Time Before: 0.05622 seconds
Time After: 0.05762 seconds
Time Taken: 0.00140 seconds

Memory Before: 2,480.000 KB
Memory After: 2,783.625 KB
Memory Used: 303.625 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 7073
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEusernote refuseriduserid4const1100.00 

Time Before: 0.06073 seconds
Time After: 0.06096 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,776.445 KB
Memory After: 2,792.867 KB
Memory Used: 16.422 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 7073
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofileblockprivacy refPRIMARYPRIMARY4const1100.00 

Time Before: 0.06146 seconds
Time After: 0.06166 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,792.086 KB
Memory After: 2,808.320 KB
Memory Used: 16.234 KB

SQL Query
SELECT pf.profilefieldcategoryid, pfc.location, pf.*
FROM profilefield AS pf
LEFT JOIN profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 
		AND pf.hidden = 0
ORDER BY pfc.displayorder, pf.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpf ALL    425.00Using where; Using temporary; Using filesort
1SIMPLEpfc eq_refPRIMARYPRIMARY2vb_local.pf.profilefieldcategoryid1100.00 

Time Before: 0.06226 seconds
Time After: 0.06289 seconds
Time Taken: 0.00062 seconds

Memory Before: 2,792.664 KB
Memory After: 2,810.836 KB
Memory Used: 18.172 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.06371 seconds
Time After: 0.06405 seconds
Time Taken: 0.00034 seconds

Memory Before: 2,822.094 KB
Memory After: 2,838.313 KB
Memory Used: 16.219 KB

SQL Query
UPDATE user SET
	profilevisits = profilevisits + 1
WHERE userid = 7073

Time Before: 0.06483 seconds
Time After: 0.06664 seconds
Time Taken: 0.00181 seconds

Memory Before: 2,830.406 KB
Memory After: 2,830.406 KB
Memory Used: 0.000 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, user.infractiongroupid
	
FROM profilevisitor AS profilevisitor
INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid)

WHERE profilevisitor.userid = 7073
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const1100.00Using where; Using index; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.profilevisitor.visitorid1100.00 

Time Before: 0.06719 seconds
Time After: 0.06750 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,831.414 KB
Memory After: 2,847.195 KB
Memory Used: 15.781 KB

SQL Query
SELECT socialgroup.groupid, socialgroup.name, socialgroup.description, socialgroup.dateline, sgicon.dateline AS icondateline,
	sgicon.thumbnail_width AS iconthumb_width, sgicon.thumbnail_height AS iconthumb_height
FROM socialgroupmember AS socialgroupmember
INNER JOIN socialgroup AS socialgroup ON
	(socialgroup.groupid = socialgroupmember.groupid)
LEFT JOIN socialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid
WHERE
	socialgroupmember.userid = 7073
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.06844 seconds
Time After: 0.06874 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,835.773 KB
Memory After: 2,851.617 KB
Memory Used: 15.844 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS
	visitormessage.*, user.*, visitormessage.ipaddress AS messageipaddress
	
	
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
	
FROM visitormessage AS visitormessage
LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)

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


WHERE visitormessage.userid = 7073
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvisitormessage refuseriduserid4const1100.00Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.visitormessage.postuserid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2vb_local.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4vb_local.user.userid1100.00 

Time Before: 0.06976 seconds
Time After: 0.07026 seconds
Time Taken: 0.00050 seconds

Memory Before: 2,850.375 KB
Memory After: 2,865.594 KB
Memory Used: 15.219 KB

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

Time Before: 0.07084 seconds
Time After: 0.07098 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,864.094 KB
Memory After: 2,880.500 KB
Memory Used: 16.406 KB

SQL Query
SELECT COUNT(*) AS messages, MAX(visitormessage.dateline) AS dateline
FROM visitormessage AS visitormessage

WHERE visitormessage.userid = 7073
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvisitormessage refpostuserid,useriduserid4const1100.00Using index condition; Using where

Time Before: 0.07147 seconds
Time After: 0.07174 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,871.016 KB
Memory After: 2,887.125 KB
Memory Used: 16.109 KB

SQL Query
SELECT COUNT(*) AS count
FROM user
WHERE referrerid = 7073
	AND usergroupid NOT IN (3,4)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusergroupid,referreridreferrerid4const177.12Using where

Time Before: 0.07219 seconds
Time After: 0.07243 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,853.000 KB
Memory After: 2,869.406 KB
Memory Used: 16.406 KB

SQL Query
SELECT relationid
FROM userlist
WHERE
	userid IN (7073)
		AND
	type = 'buddy'
		AND
	friend = 'yes'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuserlist refPRIMARY,useridPRIMARY4const1100.00Using where

Time Before: 0.07421 seconds
Time After: 0.07444 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,929.359 KB
Memory After: 2,945.547 KB
Memory Used: 16.188 KB

SQL Query
SELECT stream.*, type.section, type.type
FROM activitystream AS stream
LEFT JOIN activitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1566303072 AND stream.userid IN (7073)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstream rangedateline,useriduserid8 12100.00Using index condition
1SIMPLEtype eq_refPRIMARYPRIMARY4vb_local.stream.typeid1100.00 

Time Before: 0.07506 seconds
Time After: 0.07559 seconds
Time Taken: 0.00054 seconds

Memory Before: 2,930.797 KB
Memory After: 2,949.305 KB
Memory Used: 18.508 KB

SQL Query
SELECT
	IF (bu.title <> '', bu.title, user.username) AS blog_title,
	blog.blogid, blog.title AS title, blog.userid, blog.state, blog.options, blog.views, blog.comments_visible, blog.postedby_userid,
	bt.pagetext,
	bu.options_member, bu.options_guest, bu.options_buddy, options_ignore, bu.memberids, bu.memberblogids,
	user.username, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, user.infractiongroupid, user.usergroupid, user.membergroupids
	
FROM blog AS blog
INNER JOIN blog_user AS bu ON (bu.bloguserid = blog.userid)
INNER JOIN user AS user ON (user.userid = blog.userid)
INNER JOIN blog_text AS bt ON (bt.blogtextid = blog.firstblogtextid)


WHERE
	blog.blogid IN (65,64,63,62,61,60,59,58,55,39,36)
		AND
	blog.pending = 0
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog rangePRIMARY,userid,pendingPRIMARY4 1198.02Using index condition; Using where
1SIMPLEbu eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 
1SIMPLEbt eq_refPRIMARYPRIMARY4vb_local.blog.firstblogtextid1100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 

Time Before: 0.07664 seconds
Time After: 0.07738 seconds
Time Taken: 0.00074 seconds

Memory Before: 2,979.031 KB
Memory After: 3,034.977 KB
Memory Used: 55.945 KB

SQL Query
SELECT u.*
	, av.avatarpath, NOT ISNULL(cu.userid) AS hascustomavatar,
		cu.dateline AS avatardateline, cu.width AS avwidth, cu.height AS avheight, cu.height_thumb AS avheight_thumb,
		cu.width_thumb AS avwidth_thumb, NOT ISNULL(cu.filedata_thumb) AS filedata_thumb
		
FROM user AS u

	LEFT JOIN avatar AS av ON(av.avatarid = u.avatarid)
	LEFT JOIN customavatar AS cu ON(cu.userid = u.userid)
	
WHERE u.userid IN (7073)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEu constPRIMARYPRIMARY4const1100.00 
1SIMPLEav constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEcu constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.07805 seconds
Time After: 0.07845 seconds
Time Taken: 0.00039 seconds

Memory Before: 3,065.305 KB
Memory After: 3,082.820 KB
Memory Used: 17.516 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.08326 seconds
Time After: 0.08350 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,973.078 KB
Memory After: 2,989.266 KB
Memory Used: 16.188 KB

SQL Query
SELECT blog.blogid, blog.attach
FROM blog AS blog

WHERE blog.state IN('visible')
	AND blog.dateline <= 1566303072
	AND blog.pending = 0
	AND blog.userid = 7073
	AND ~blog.options & 8
ORDER BY blog.dateline DESC
LIMIT 5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog refdateline,state,userid,pendingstate1const110.99Using where

Time Before: 0.08417 seconds
Time After: 0.08466 seconds
Time Taken: 0.00049 seconds

Memory Before: 2,973.281 KB
Memory After: 2,989.734 KB
Memory Used: 16.453 KB

SQL Query
SELECT blogid, title, blog_category.blogcategoryid, blog_categoryuser.userid, blog_category.userid AS creatorid
FROM blog_categoryuser AS blog_categoryuser
LEFT JOIN blog_category AS blog_category ON (blog_category.blogcategoryid = blog_categoryuser.blogcategoryid)
WHERE blogid IN (65,64,63,62,61)
ORDER BY blogid, displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog_categoryuser indexPRIMARYblogcategoryid4 1100.00Using where; Using index; Using temporary; Using filesort
1SIMPLEblog_category eq_refPRIMARYPRIMARY4vb_local.blog_categoryuser.blogcategoryid1100.00 

Time Before: 0.08522 seconds
Time After: 0.08552 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,991.664 KB
Memory After: 3,007.508 KB
Memory Used: 15.844 KB

SQL Query
SELECT blog.*, blog.options AS blogoptions, blog_text.pagetext, blog_text.allowsmilie, blog_text.ipaddress, blog_text.reportthreadid, ipdata.ip AS blogipaddress,
	blog_editlog.userid AS edit_userid, blog_editlog.dateline AS edit_dateline, blog_editlog.reason AS edit_reason, blog_editlog.username AS edit_username,
	user.*, userfield.*, usertextfield.*,
	IF(blog_user.title <> '', blog_user.title, user.username) AS blogtitle
	
	
	
FROM blog AS blog
INNER JOIN blog_text AS blog_text ON (blog_text.blogtextid = blog.firstblogtextid)
INNER JOIN blog_user AS blog_user ON (blog.userid = blog_user.bloguserid)
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 user AS user ON (blog.userid = user.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)


WHERE blog.blogid IN (65,64,63,62,61)
ORDER BY blog.dateline DESC
LIMIT 5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog rangePRIMARY,useridPRIMARY4 5100.00Using index condition; Using temporary; Using filesort
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 
1SIMPLEblog_text eq_refPRIMARYPRIMARY4vb_local.blog.firstblogtextid1100.00 
1SIMPLEipdata eq_refipidipid4vb_local.blog_text.ipaddress1100.00 
1SIMPLEblog_editlog ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 
1SIMPLEuserfield eq_refPRIMARYPRIMARY4vb_local.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4vb_local.user.userid1100.00 

Time Before: 0.08702 seconds
Time After: 0.08912 seconds
Time Taken: 0.00211 seconds

Memory Before: 3,034.680 KB
Memory After: 3,069.914 KB
Memory Used: 35.234 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.09080 seconds
Time After: 0.09102 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,223.211 KB
Memory After: 3,239.664 KB
Memory Used: 16.453 KB

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.09205 seconds
Time After: 0.09225 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,281.086 KB
Memory After: 3,297.539 KB
Memory Used: 16.453 KB

SQL Query
SELECT
	blog_text.username AS postusername, ipdata.ip AS blogipaddress, blog_text.state, blog_text.blogtextid, blog_text.title, blog_text.dateline, blog_text.pagetext, blog_text.allowsmilie,
	blog.userid AS blog_userid, blog.blogid, blog.title AS entrytitle, blog.state AS blog_state, blog.firstblogtextid, blog.options AS blogoptions, blog_user.memberids, blog_user.memberblogids, blog.postedby_userid, blog.postedby_username,
	user2.usergroupid AS blog_usergroupid, user2.infractiongroupids AS blog_inractiongroupids, user2.membergroupids AS blog_membergroupids,
	user.*,
	blog_user.title AS blogtitle,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid, options_ignore, options_buddy, options_member, options_guest, blog.userid AS blog_userid,
	blog.state AS blog_state, blog.firstblogtextid
,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 ipdata AS ipdata ON (blog_text.ipaddress = ipdata.ipid)
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 <= 1566303072
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.bloguserid = 7073
	AND ~blog.options & 8
ORDER BY blog_text.dateline DESC
LIMIT 5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEblog_text refblogid,bloguseridbloguserid4const1133.33Using where
1SIMPLEipdata eq_refipidipid4vb_local.blog_text.ipaddress1100.00 
1SIMPLEblog eq_refPRIMARY,dateline,state,userid,pendingPRIMARY4vb_local.blog_text.blogid15.00Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.blog_text.userid1100.00 
1SIMPLEuser2 eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 
1SIMPLEblog_user eq_refPRIMARYPRIMARY4vb_local.blog.userid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2vb_local.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4vb_local.user.userid1100.00 

Time Before: 0.09995 seconds
Time After: 0.10129 seconds
Time Taken: 0.00134 seconds

Memory Before: 3,316.641 KB
Memory After: 3,330.859 KB
Memory Used: 14.219 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.10429 seconds
Time After: 0.10459 seconds
Time Taken: 0.00030 seconds

Memory Before: 3,274.664 KB
Memory After: 3,290.883 KB
Memory Used: 16.219 KB

SQL Query
UPDATE session
SET lastactivity = 1566303072, location = 'member.php?u=7073', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'eb34bd1fe69cc3ad6b6709878f2c67ad'

Time Before: 0.10610 seconds
Time After: 0.10636 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,373.188 KB
Memory After: 3,373.063 KB
Memory Used: -0.125 KB

Page generated in 0.10567903518677 seconds with 32 queries, spending 0.023616552352905 doing MySQL queries and 0.082062482833862 doing PHP things.
Shutdown Queries:
DISABLED