Including Functions.php

Time Before: 0.00033 seconds
Time After: 0.00036 seconds
Time Taken: 0.00003 seconds

Memory Before: 430.555 KB
Memory After: 433.195 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00041 seconds
Time After: 0.00114 seconds
Time Taken: 0.00073 seconds

Memory Before: 433.148 KB
Memory After: 434.039 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00145 seconds
Time After: 0.00173 seconds
Time Taken: 0.00028 seconds

Memory Before: 434.063 KB
Memory After: 434.117 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
1SIMPLEdatastoreALLPRIMARY   40Using where

Time Before: 0.00252 seconds
Time After: 0.00419 seconds
Time Taken: 0.00167 seconds

Memory Before: 435.391 KB
Memory After: 548.523 KB
Memory Used: 113.133 KB

Time Before: 0.00178 seconds
Time After: 0.01085 seconds
Time Taken: 0.00908 seconds

Memory Before: 433.906 KB
Memory After: 682.266 KB
Memory Used: 248.359 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.216.166'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    15Using where

Time Before: 0.01173 seconds
Time After: 0.01228 seconds
Time Taken: 0.00055 seconds

Memory Before: 686.867 KB
Memory After: 703.367 KB
Memory Used: 16.500 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 = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01329 seconds
Time After: 0.01714 seconds
Time Taken: 0.00384 seconds

Memory Before: 693.414 KB
Memory After: 814.039 KB
Memory Used: 120.625 KB

Time Before: 0.01097 seconds
Time After: 0.01718 seconds
Time Taken: 0.00621 seconds

Memory Before: 684.617 KB
Memory After: 804.078 KB
Memory Used: 119.461 KB

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

Time Before: 0.01912 seconds
Time After: 0.01924 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,007.086 KB
Memory After: 1,071.648 KB
Memory Used: 64.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2113,2134,2102,2103,2105,2112,2111,2008,2010,2012,2014,2048,2047,2049,2050,2284,911,2437,2443,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2128,2126,2127,2125,2129,2133,2135,2136,2145,2139,2140,2141,2142,2144,2114,2132,2137,2146,2148,2147,2143,2315,2334,921,920,2480,1983,1982,1984,1979,1978,2255,903,904,2208,2209,2475,2478,2487,2228,2229,2230,2231,2429,2492,2491,2493,2496)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using index condition

Time Before: 0.02018 seconds
Time After: 0.02101 seconds
Time Taken: 0.00084 seconds

Memory Before: 1,158.898 KB
Memory After: 1,314.703 KB
Memory Used: 155.805 KB

End call of global.php: 0.021680116653442
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 = 18
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEcustomprofilepicsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEusercsscachesystemPRIMARY   0Const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarsystemPRIMARY   1 

Time Before: 0.02212 seconds
Time After: 0.02250 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,364.492 KB
Memory After: 1,383.492 KB
Memory Used: 19.000 KB

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

Time Before: 0.02281 seconds
Time After: 0.02288 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,430.461 KB
Memory After: 1,446.867 KB
Memory Used: 16.406 KB

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

Time Before: 0.02301 seconds
Time After: 0.02307 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,439.570 KB
Memory After: 1,455.688 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    4Using where; Using filesort

Time Before: 0.02322 seconds
Time After: 0.02339 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,440.023 KB
Memory After: 1,457.680 KB
Memory Used: 17.656 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 = 18
	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.02366 seconds
Time After: 0.02377 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,459.898 KB
Memory After: 1,475.750 KB
Memory Used: 15.852 KB

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

Time Before: 0.02379 seconds
Time After: 0.02389 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,459.867 KB
Memory After: 1,459.867 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 = 18
	 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.02405 seconds
Time After: 0.02416 seconds
Time Taken: 0.00010 seconds

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

Time Before: 0.02437 seconds
Time After: 0.02447 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,463.688 KB
Memory After: 1,479.539 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 = 18
	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.02489 seconds
Time After: 0.02520 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,542.883 KB
Memory After: 1,558.359 KB
Memory Used: 15.477 KB

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

Time Before: 0.02529 seconds
Time After: 0.02532 seconds
Time Taken: 0.00004 seconds

Memory Before: 1,557.297 KB
Memory After: 1,573.750 KB
Memory Used: 16.453 KB

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

WHERE visitormessage.userid = 18
	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.02551 seconds
Time After: 0.02560 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,567.477 KB
Memory After: 1,583.570 KB
Memory Used: 16.094 KB

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

Time Before: 0.02579 seconds
Time After: 0.02586 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,552.859 KB
Memory After: 1,569.266 KB
Memory Used: 16.406 KB

SQL Query
UPDATE session
SET location = '/member.php?explain=1&nojs=1&u=18'
WHERE sessionhash = 'e50b84b3539cdcb1ce960fdb479478a0'

Time Before: 0.02661 seconds
Time After: 0.02669 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,695.672 KB
Memory After: 1,695.609 KB
Memory Used: -0.063 KB

Page generated in 0.026521921157837 seconds with 19 queries, spending 0.0097208023071289 doing MySQL queries and 0.016801118850708 doing PHP things.
Shutdown Queries:
DISABLED