Including Functions.php

Time Before: 0.00467 seconds
Time After: 0.01220 seconds
Time Taken: 0.00753 seconds

Memory Before: 2,204.172 KB
Memory After: 3,647.578 KB
Memory Used: 1,443.406 KB

Connect to Database on Server: localhost

Time Before: 0.01231 seconds
Time After: 0.01432 seconds
Time Taken: 0.00201 seconds

Memory Before: 3,647.461 KB
Memory After: 3,648.258 KB
Memory Used: 0.797 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.01502 seconds
Time After: 0.01542 seconds
Time Taken: 0.00040 seconds

Memory Before: 3,651.289 KB
Memory After: 3,651.641 KB
Memory Used: 0.352 KB

Time Before: 0.01451 seconds
Time After: 0.01698 seconds
Time Taken: 0.00247 seconds

Memory Before: 3,647.742 KB
Memory After: 4,176.313 KB
Memory Used: 528.570 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.167.216.239'
	AND idhash = 'f984da43b1e77e6ce81321ffef1ec78d'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    143Using where

Time Before: 0.01787 seconds
Time After: 0.01806 seconds
Time Taken: 0.00019 seconds

Memory Before: 4,227.500 KB
Memory After: 4,227.898 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.01873 seconds
Time After: 0.01914 seconds
Time Taken: 0.00042 seconds

Memory Before: 4,238.539 KB
Memory After: 4,238.195 KB
Memory Used: -0.344 KB

Time Before: 0.01747 seconds
Time After: 0.01939 seconds
Time Taken: 0.00192 seconds

Memory Before: 4,223.117 KB
Memory After: 4,355.758 KB
Memory Used: 132.641 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.02366 seconds
Time After: 0.02390 seconds
Time Taken: 0.00023 seconds

Memory Before: 4,481.148 KB
Memory After: 4,481.602 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.02497 seconds
Time After: 0.02573 seconds
Time Taken: 0.00076 seconds

Memory Before: 4,667.523 KB
Memory After: 4,667.625 KB
Memory Used: 0.102 KB

End call of global.php: 0.027169942855835
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 = 1567
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEsigpicsystemPRIMARY   1 

Time Before: 0.04506 seconds
Time After: 0.04560 seconds
Time Taken: 0.00054 seconds

Memory Before: 5,797.320 KB
Memory After: 5,796.398 KB
Memory Used: -0.922 KB

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

Time Before: 0.05527 seconds
Time After: 0.05549 seconds
Time Taken: 0.00021 seconds

Memory Before: 7,707.789 KB
Memory After: 7,708.266 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.05599 seconds
Time After: 0.05629 seconds
Time Taken: 0.00029 seconds

Memory Before: 7,708.508 KB
Memory After: 7,708.797 KB
Memory Used: 0.289 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 1567
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 4
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEuserlistrefPRIMARY,userid,relationidPRIMARY4const3Using index condition; Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.userlist.relationid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4sambees_sammourco.userlist.relationid1 

Time Before: 0.05750 seconds
Time After: 0.05845 seconds
Time Taken: 0.00095 seconds

Memory Before: 7,752.938 KB
Memory After: 7,752.758 KB
Memory Used: -0.180 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 = 1567
	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.06076 seconds
Time After: 0.06102 seconds
Time Taken: 0.00026 seconds

Memory Before: 7,873.242 KB
Memory After: 7,873.344 KB
Memory Used: 0.102 KB

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

Time Before: 0.06121 seconds
Time After: 0.06140 seconds
Time Taken: 0.00019 seconds

Memory Before: 7,873.258 KB
Memory After: 7,873.609 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 = 1567
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const10Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.profilevisitor.visitorid1 

Time Before: 0.06186 seconds
Time After: 0.06219 seconds
Time Taken: 0.00033 seconds

Memory Before: 7,874.563 KB
Memory After: 7,874.734 KB
Memory Used: 0.172 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 = 1567
	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.06324 seconds
Time After: 0.06367 seconds
Time Taken: 0.00043 seconds

Memory Before: 7,884.023 KB
Memory After: 7,884.023 KB
Memory Used: 0.000 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 = 1567
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEvisitormessagerefuseriduserid4const3Using where
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.visitormessage.postuserid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4sambees_sammourco.user.userid1 

Time Before: 0.06878 seconds
Time After: 0.08272 seconds
Time Taken: 0.01394 seconds

Memory Before: 8,715.172 KB
Memory After: 8,714.867 KB
Memory Used: -0.305 KB

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

Time Before: 0.08309 seconds
Time After: 0.08323 seconds
Time Taken: 0.00014 seconds

Memory Before: 8,712.516 KB
Memory After: 8,713.055 KB
Memory Used: 0.539 KB

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

WHERE visitormessage.userid = 1567
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefpostuserid,useriduserid4const3Using index condition; Using where

Time Before: 0.09856 seconds
Time After: 0.09881 seconds
Time Taken: 0.00025 seconds

Memory Before: 8,876.578 KB
Memory After: 8,876.859 KB
Memory Used: 0.281 KB

SQL Query
SELECT thread.title, thread.threadid, thread.forumid, thread.postuserid, post.postid, post.dateline
FROM post AS post
INNER JOIN thread AS thread USING (threadid)
WHERE post.postid = 98070
	AND post.visible = 1
	AND thread.visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARY,threadidPRIMARY4const1 
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.10039 seconds
Time After: 0.10065 seconds
Time Taken: 0.00026 seconds

Memory Before: 8,796.203 KB
Memory After: 8,796.508 KB
Memory Used: 0.305 KB

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

Time Before: 0.10124 seconds
Time After: 0.10143 seconds
Time Taken: 0.00019 seconds

Memory Before: 8,802.594 KB
Memory After: 8,802.984 KB
Memory Used: 0.391 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 1567
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 4
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEuserlistrefPRIMARY,userid,relationidPRIMARY4const3Using index condition; Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.userlist.relationid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4sambees_sammourco.userlist.relationid1 

Time Before: 0.10286 seconds
Time After: 0.10378 seconds
Time Taken: 0.00092 seconds

Memory Before: 8,811.719 KB
Memory After: 8,811.539 KB
Memory Used: -0.180 KB

SQL Query
UPDATE session
SET lastactivity = 1526948914, location = '/vb/member.php?u=1567&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, bypass = 0
WHERE sessionhash = '645be6fa1c3bf3ceb561f5ff92c5dee7'

Time Before: 0.10749 seconds
Time After: 0.10771 seconds
Time Taken: 0.00022 seconds

Memory Before: 9,221.695 KB
Memory After: 9,221.891 KB
Memory Used: 0.195 KB

Page generated in 0.10669708251953 seconds with 20 queries, spending 0.023143529891968 doing MySQL queries and 0.083553552627563 doing PHP things.
Shutdown Queries:
DISABLED