Including Functions.php

Time Before: 0.00044 seconds
Time After: 0.00051 seconds
Time Taken: 0.00007 seconds

Memory Before: 425.648 KB
Memory After: 428.289 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00057 seconds
Time After: 0.00085 seconds
Time Taken: 0.00028 seconds

Memory Before: 428.242 KB
Memory After: 429.133 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00107 seconds
Time After: 0.00116 seconds
Time Taken: 0.00009 seconds

Memory Before: 429.156 KB
Memory After: 429.211 KB
Memory Used: 0.055 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
1SIMPLEdatastorerangePRIMARYPRIMARY152 16Using where

Time Before: 0.00161 seconds
Time After: 0.00232 seconds
Time Taken: 0.00071 seconds

Memory Before: 430.484 KB
Memory After: 517.117 KB
Memory Used: 86.633 KB

Time Before: 0.00118 seconds
Time After: 0.00606 seconds
Time Taken: 0.00488 seconds

Memory Before: 429.000 KB
Memory After: 713.242 KB
Memory Used: 284.242 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.159.51.118'
	AND idhash = '7bbfb1aad25531d49fc84661f1a182ff'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    764Using where

Time Before: 0.00663 seconds
Time After: 0.00870 seconds
Time Taken: 0.00207 seconds

Memory Before: 718.953 KB
Memory After: 735.516 KB
Memory Used: 16.563 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_reputationlevel AS phrasegroup_reputationlevel,
			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.00948 seconds
Time After: 0.00971 seconds
Time Taken: 0.00022 seconds

Memory Before: 726.914 KB
Memory After: 835.539 KB
Memory Used: 108.625 KB

Time Before: 0.00630 seconds
Time After: 0.00984 seconds
Time Taken: 0.00354 seconds

Memory Before: 716.703 KB
Memory After: 830.734 KB
Memory Used: 114.031 KB

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

Time Before: 0.01360 seconds
Time After: 0.01368 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,025.523 KB
Memory After: 1,074.086 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17545,17566,17534,17535,17537,17544,17543,17440,17442,17444,17446,17480,17479,17481,17482,17716,17714,17869,17875,17547,17548,17549,17550,17551,17552,17553,17554,17555,17556,17560,17558,17559,17557,17561,17565,17567,17568,17577,17571,17572,17573,17574,17576,17546,17564,17569,17578,17580,17579,17575,17747,17766,11515,10694,17912,17415,17414,17416,17411,17410,17687,9293,17639,17640,17641,17907,17910,17919,17660,17661,17662,17663,17861,17924,17923,17925,17928)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using where

Time Before: 0.01501 seconds
Time After: 0.01530 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,162.313 KB
Memory After: 1,308.461 KB
Memory Used: 146.148 KB

End call of global.php: 0.016387939453125
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 = 8
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const1 
1SIMPLEcustomavatarsystemPRIMARY   1 
1SIMPLEcustomprofilepicsystemPRIMARY   1 

Time Before: 0.01741 seconds
Time After: 0.01819 seconds
Time Taken: 0.00078 seconds

Memory Before: 1,337.305 KB
Memory After: 1,355.305 KB
Memory Used: 18.000 KB

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

Time Before: 0.01919 seconds
Time After: 0.01927 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,403.648 KB
Memory After: 1,420.055 KB
Memory Used: 16.406 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 8
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.01966 seconds
Time After: 0.01974 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,413.188 KB
Memory After: 1,429.305 KB
Memory Used: 16.117 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    11Using where; Using filesort

Time Before: 0.02000 seconds
Time After: 0.02008 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,413.641 KB
Memory After: 1,431.578 KB
Memory Used: 17.938 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 = 8
	AND album.state IN ('public')
	AND album.visible > 0
	
ORDER BY album.lastpicturedate DESC
LIMIT 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02083 seconds
Time After: 0.02090 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,436.328 KB
Memory After: 1,452.180 KB
Memory Used: 15.852 KB

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

Time Before: 0.02097 seconds
Time After: 0.02894 seconds
Time Taken: 0.00797 seconds

Memory Before: 1,436.297 KB
Memory After: 1,436.297 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 = 8
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02950 seconds
Time After: 0.02970 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,436.930 KB
Memory After: 1,452.844 KB
Memory Used: 15.914 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 = 8
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03036 seconds
Time After: 0.03047 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,439.859 KB
Memory After: 1,455.711 KB
Memory Used: 15.852 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 = 8
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03153 seconds
Time After: 0.03197 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,519.055 KB
Memory After: 1,534.531 KB
Memory Used: 15.477 KB

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

Time Before: 0.03218 seconds
Time After: 0.03228 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,533.469 KB
Memory After: 1,549.922 KB
Memory Used: 16.453 KB

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

WHERE visitormessage.userid = 8
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03285 seconds
Time After: 0.03292 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,542.758 KB
Memory After: 1,558.852 KB
Memory Used: 16.094 KB

SQL Query
SELECT COUNT(*) AS albumcount, SUM(album.visible) AS picturecount
FROM album AS album
WHERE album.userid = 8
	AND album.state IN ('public')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03418 seconds
Time After: 0.03426 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,535.445 KB
Memory After: 1,551.852 KB
Memory Used: 16.406 KB

SQL Query
UPDATE session
SET lastactivity = 1544817415, location = '/board/member.php?u=8&explain=1'
WHERE sessionhash = '2d99a57057fe56f832bb4a0ef8c06765'

Time Before: 0.03664 seconds
Time After: 0.03686 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,676.883 KB
Memory After: 1,676.789 KB
Memory Used: -0.094 KB

Page generated in 0.036293983459473 seconds with 19 queries, spending 0.014019012451172 doing MySQL queries and 0.022274971008301 doing PHP things.
Shutdown Queries:
DISABLED