Including Functions.php

Time Before: 0.00036 seconds
Time After: 0.00042 seconds
Time Taken: 0.00006 seconds

Memory Before: 434.055 KB
Memory After: 501.008 KB
Memory Used: 66.953 KB

Connect to Database on Server: localhost

Time Before: 0.00046 seconds
Time After: 0.00093 seconds
Time Taken: 0.00047 seconds

Memory Before: 500.984 KB
Memory After: 501.875 KB
Memory Used: 0.891 KB

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

Time Before: 0.00163 seconds
Time After: 0.00218 seconds
Time Taken: 0.00056 seconds

Memory Before: 503.656 KB
Memory After: 637.555 KB
Memory Used: 133.898 KB

Time Before: 0.00105 seconds
Time After: 0.01068 seconds
Time Taken: 0.00963 seconds

Memory Before: 501.695 KB
Memory After: 902.422 KB
Memory Used: 400.727 KB

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

Time Before: 0.01126 seconds
Time After: 0.01145 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,060.320 KB
Memory After: 1,076.523 KB
Memory Used: 16.203 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '3c7d60415ea2b632239283a66e8d7d1e'
1SIMPLEsession refuser_activity,guest_lookupguest_lookup83const,const,const2100.00 

Time Before: 0.01218 seconds
Time After: 0.01241 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,065.695 KB
Memory After: 1,082.398 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
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01321 seconds
Time After: 0.01385 seconds
Time Taken: 0.00064 seconds

Memory Before: 1,073.781 KB
Memory After: 1,246.484 KB
Memory Used: 172.703 KB

Time Before: 0.01169 seconds
Time After: 0.01398 seconds
Time Taken: 0.00229 seconds

Memory Before: 1,064.141 KB
Memory After: 1,243.961 KB
Memory Used: 179.820 KB

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

Time Before: 0.03003 seconds
Time After: 0.03023 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,629.906 KB
Memory After: 1,646.156 KB
Memory Used: 16.250 KB

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

Time Before: 0.03092 seconds
Time After: 0.03130 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,630.266 KB
Memory After: 1,758.906 KB
Memory Used: 128.641 KB

End call of global.php: 0.038165092468262
SQL Query
	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 = 7111)
LEFT JOIN blog_usercsscache AS blog_usercsscache ON (user.userid = blog_usercsscache.userid)
WHERE user.userid = 7111 LIMIT 1
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 constPRIMARYPRIMARY4const00.00unique row not found
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.03982 seconds
Time After: 0.04061 seconds
Time Taken: 0.00079 seconds

Memory Before: 2,178.258 KB
Memory After: 2,197.023 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)
1SIMPLEtemplate rangePRIMARYPRIMARY4 123100.00Using where

Time Before: 0.04551 seconds
Time After: 0.04689 seconds
Time Taken: 0.00139 seconds

Memory Before: 2,471.156 KB
Memory After: 2,774.781 KB
Memory Used: 303.625 KB

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

Time Before: 0.05009 seconds
Time After: 0.05032 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,767.602 KB
Memory After: 2,784.023 KB
Memory Used: 16.422 KB

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

Time Before: 0.05094 seconds
Time After: 0.05115 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,783.242 KB
Memory After: 2,799.477 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
1SIMPLEpf ALL    425.00Using where; Using temporary; Using filesort

Time Before: 0.05178 seconds
Time After: 0.05237 seconds
Time Taken: 0.00059 seconds

Memory Before: 2,783.820 KB
Memory After: 2,801.992 KB
Memory Used: 18.172 KB

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

Time Before: 0.05329 seconds
Time After: 0.05360 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,813.250 KB
Memory After: 2,829.469 KB
Memory Used: 16.219 KB

SQL Query
	profilevisits = profilevisits + 1
WHERE userid = 7111

Time Before: 0.05433 seconds
Time After: 0.05619 seconds
Time Taken: 0.00186 seconds

Memory Before: 2,821.531 KB
Memory After: 2,821.531 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 = 7111
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
ORDER BY profilevisitor.dateline DESC
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const1100.00Using where; Using index; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.profilevisitor.visitorid1100.00 

Time Before: 0.05690 seconds
Time After: 0.05720 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,822.539 KB
Memory After: 2,838.320 KB
Memory Used: 15.781 KB

SQL Query
SELECT socialgroup.groupid,, 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
	socialgroupmember.userid = 7111
	AND socialgroupmember.type = 'member'
1SIMPLE         no matching row in const table

Time Before: 0.05844 seconds
Time After: 0.05875 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,826.898 KB
Memory After: 2,842.742 KB
Memory Used: 15.844 KB

SQL Query
	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 = 7111
	AND (visitormessage.state IN ('visible'))

ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
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.05990 seconds
Time After: 0.06040 seconds
Time Taken: 0.00050 seconds

Memory Before: 2,841.500 KB
Memory After: 2,856.719 KB
Memory Used: 15.219 KB

SQL Query
1SIMPLE         No tables used

Time Before: 0.06090 seconds
Time After: 0.06102 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,855.219 KB
Memory After: 2,871.625 KB
Memory Used: 16.406 KB

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

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

Time Before: 0.06153 seconds
Time After: 0.06180 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,862.141 KB
Memory After: 2,878.250 KB
Memory Used: 16.109 KB

SQL Query
FROM user
WHERE referrerid = 7111
	AND usergroupid NOT IN (3,4)
1SIMPLEuser refusergroupid,referreridreferrerid4const177.12Using where

Time Before: 0.06225 seconds
Time After: 0.06251 seconds
Time Taken: 0.00026 seconds

Memory Before: 2,844.125 KB
Memory After: 2,860.531 KB
Memory Used: 16.406 KB

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

Time Before: 0.06425 seconds
Time After: 0.06447 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,920.469 KB
Memory After: 2,936.656 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 <= 1566261759 AND stream.userid IN (7111)
ORDER BY dateline DESC
LIMIT 0, 30
1SIMPLEstream rangedateline,useriduserid8 2100.00Using index condition

Time Before: 0.06510 seconds
Time After: 0.06547 seconds
Time Taken: 0.00036 seconds

Memory Before: 2,921.906 KB
Memory After: 2,938.063 KB
Memory Used: 16.156 KB

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

Time Before: 0.06642 seconds
Time After: 0.06670 seconds
Time Taken: 0.00028 seconds

Memory Before: 2,926.938 KB
Memory After: 2,943.125 KB
Memory Used: 16.188 KB

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

Time Before: 0.06895 seconds
Time After: 0.06921 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,010.625 KB
Memory After: 3,026.844 KB
Memory Used: 16.219 KB

SQL Query
UPDATE session
SET lastactivity = 1566261759, location = 'member.php?u=7111', badlocation = 0
WHERE sessionhash = 'd61cd0879094da9b71c78dadd54e21be'

Time Before: 0.07075 seconds
Time After: 0.07101 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,080.203 KB
Memory After: 3,080.109 KB
Memory Used: -0.094 KB

Page generated in 0.07039999961853 seconds with 24 queries, spending 0.011162996292114 doing MySQL queries and 0.059237003326416 doing PHP things.
Shutdown Queries: