Including Functions.php

Time Before: 0.00546 seconds
Time After: 0.01322 seconds
Time Taken: 0.00776 seconds

Memory Before: 2,204.539 KB
Memory After: 3,648.031 KB
Memory Used: 1,443.492 KB

Connect to Database on Server: localhost

Time Before: 0.01342 seconds
Time After: 0.01612 seconds
Time Taken: 0.00271 seconds

Memory Before: 3,647.914 KB
Memory After: 3,648.703 KB
Memory Used: 0.789 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 16Using index condition

Time Before: 0.01729 seconds
Time After: 0.01794 seconds
Time Taken: 0.00065 seconds

Memory Before: 3,651.742 KB
Memory After: 3,652.094 KB
Memory Used: 0.352 KB

Time Before: 0.01646 seconds
Time After: 0.01962 seconds
Time Taken: 0.00316 seconds

Memory Before: 3,648.195 KB
Memory After: 4,176.797 KB
Memory Used: 528.602 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.166.212.152'
	AND idhash = 'ce0baf3a9e6ba449ad8b397c4067da2a'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    142Using where

Time Before: 0.02091 seconds
Time After: 0.02112 seconds
Time Taken: 0.00021 seconds

Memory Before: 4,227.984 KB
Memory After: 4,228.383 KB
Memory Used: 0.398 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,
			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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.02192 seconds
Time After: 0.02239 seconds
Time Taken: 0.00047 seconds

Memory Before: 4,238.914 KB
Memory After: 4,238.570 KB
Memory Used: -0.344 KB

Time Before: 0.02035 seconds
Time After: 0.02273 seconds
Time Taken: 0.00238 seconds

Memory Before: 4,223.602 KB
Memory After: 4,356.109 KB
Memory Used: 132.508 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 45 AND userselect = 1)
	OR styleid = 45
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.02802 seconds
Time After: 0.02828 seconds
Time Taken: 0.00026 seconds

Memory Before: 4,481.422 KB
Memory After: 4,481.875 KB
Memory Used: 0.453 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2152,2173,2141,2142,2144,2151,2150,2047,2049,2051,2053,2087,2086,2088,2089,2323,2321,2476,2482,2154,2155,2156,2157,2158,2159,2160,2161,2162,2163,2167,2165,2166,2164,2168,2172,2174,2175,2184,2178,2179,2180,2181,2183,2153,2171,2176,2185,2187,2186,2182,2354,2373,3538,3542,3540,2022,2021,2023,2018,2017,2294,3443,2246,2247,2248,2514,2517,2526,2267,2268,2269,2270,2468,2531,2530,2532,2535)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using index condition

Time Before: 0.02952 seconds
Time After: 0.03047 seconds
Time Taken: 0.00095 seconds

Memory Before: 4,668.031 KB
Memory After: 4,668.133 KB
Memory Used: 0.102 KB

End call of global.php: 0.032496929168701
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(user.displaygroupid=0, user.usergroupid, user.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
	
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)

WHERE user.userid = 11626
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsigpicsystemPRIMARY   1 

Time Before: 0.04082 seconds
Time After: 0.04135 seconds
Time Taken: 0.00053 seconds

Memory Before: 5,797.773 KB
Memory After: 5,796.852 KB
Memory Used: -0.922 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 11626
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.05257 seconds
Time After: 0.05270 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,690.031 KB
Memory After: 7,690.484 KB
Memory Used: 0.453 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 11626
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofileblockprivacyrefPRIMARYPRIMARY4const1 

Time Before: 0.05338 seconds
Time After: 0.05354 seconds
Time Taken: 0.00016 seconds

Memory Before: 7,708.336 KB
Memory After: 7,708.813 KB
Memory Used: 0.477 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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpfcsystemPRIMARY   0const row not found
1SIMPLEpfALL    7Using where; Using filesort

Time Before: 0.05399 seconds
Time After: 0.05426 seconds
Time Taken: 0.00027 seconds

Memory Before: 7,709.055 KB
Memory After: 7,709.344 KB
Memory Used: 0.289 KB

SQL Query
SELECT album.*,
	picture.pictureid, picture.extension, picture.idhash, album.moderation,
	picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height
	
FROM album AS album
LEFT JOIN picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0)

WHERE album.userid = 11626
	AND album.state IN ('public')
	AND album.visible > 0
	
ORDER BY album.lastpicturedate DESC
LIMIT 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEalbumrefuseriduserid4const1Using where
1SIMPLEpictureeq_refPRIMARYPRIMARY4sambees_sammourco.album.coverpictureid1Using where

Time Before: 0.05639 seconds
Time After: 0.05662 seconds
Time Taken: 0.00023 seconds

Memory Before: 7,866.109 KB
Memory After: 7,866.211 KB
Memory Used: 0.102 KB

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

Time Before: 0.05682 seconds
Time After: 0.05707 seconds
Time Taken: 0.00025 seconds

Memory Before: 7,866.125 KB
Memory After: 7,866.477 KB
Memory Used: 0.352 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 = 11626
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.profilevisitor.visitorid1 

Time Before: 0.05769 seconds
Time After: 0.05793 seconds
Time Taken: 0.00024 seconds

Memory Before: 7,867.445 KB
Memory After: 7,867.609 KB
Memory Used: 0.164 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 = 11626
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using index condition; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.groupid1 

Time Before: 0.05874 seconds
Time After: 0.05927 seconds
Time Taken: 0.00053 seconds

Memory Before: 7,872.430 KB
Memory After: 7,872.430 KB
Memory Used: 0.000 KB

SQL Query
SELECT COUNT(*) AS albumcount, SUM(album.visible) AS picturecount
FROM album AS album
WHERE album.userid = 11626
	AND album.state IN ('public')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEalbumrefuseriduserid4const1Using where

Time Before: 0.06400 seconds
Time After: 0.06418 seconds
Time Taken: 0.00018 seconds

Memory Before: 8,370.523 KB
Memory After: 8,370.914 KB
Memory Used: 0.391 KB

SQL Query
UPDATE session
SET lastactivity = 1527238858, location = '/vb/member.php?u=11626&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '97b30b8c5de2388400fc0f75651b426c'

Time Before: 0.06743 seconds
Time After: 0.06776 seconds
Time Taken: 0.00034 seconds

Memory Before: 8,698.352 KB
Memory After: 8,698.570 KB
Memory Used: 0.219 KB

Page generated in 0.066643953323364 seconds with 15 queries, spending 0.0081100463867188 doing MySQL queries and 0.058533906936646 doing PHP things.
Shutdown Queries:
DISABLED