Including Functions.php

Time Before: 0.00480 seconds
Time After: 0.01235 seconds
Time Taken: 0.00756 seconds

Memory Before: 3,438.547 KB
Memory After: 4,882.023 KB
Memory Used: 1,443.477 KB

Connect to Database on Server: localhost

Time Before: 0.01247 seconds
Time After: 0.01446 seconds
Time Taken: 0.00199 seconds

Memory Before: 4,881.906 KB
Memory After: 4,882.688 KB
Memory Used: 0.781 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','sg_category_cloud','sg_newest_groups')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 18Using index condition

Time Before: 0.01525 seconds
Time After: 0.01573 seconds
Time Taken: 0.00048 seconds

Memory Before: 4,885.891 KB
Memory After: 4,886.203 KB
Memory Used: 0.313 KB

Time Before: 0.01459 seconds
Time After: 0.01740 seconds
Time Taken: 0.00281 seconds

Memory Before: 4,882.188 KB
Memory After: 5,420.336 KB
Memory Used: 538.148 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    134Using where

Time Before: 0.01841 seconds
Time After: 0.01860 seconds
Time Taken: 0.00018 seconds

Memory Before: 5,471.477 KB
Memory After: 5,471.875 KB
Memory Used: 0.398 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_socialgroups AS phrasegroup_socialgroups,
			phrasegroup_search AS phrasegroup_search,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_album AS phrasegroup_album,
			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.01935 seconds
Time After: 0.01981 seconds
Time Taken: 0.00046 seconds

Memory Before: 5,482.203 KB
Memory After: 5,481.922 KB
Memory Used: -0.281 KB

Time Before: 0.01795 seconds
Time After: 0.02009 seconds
Time Taken: 0.00214 seconds

Memory Before: 5,467.086 KB
Memory After: 5,609.805 KB
Memory Used: 142.719 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.02447 seconds
Time After: 0.02468 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,752.773 KB
Memory After: 5,753.203 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2181,2382,2087,2086,2088,2089,2111,2354,2400,2373,2375,2378,2377,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 38Using index condition

Time Before: 0.02553 seconds
Time After: 0.02609 seconds
Time Taken: 0.00057 seconds

Memory Before: 5,933.906 KB
Memory After: 5,934.211 KB
Memory Used: 0.305 KB

End call of global.php: 0.027407884597778
SQL Query
SELECT socialgroup.*,
	user.username AS creatorusername,
	sgc.title AS categoryname
	
	, socialgroupicon.dateline AS icondateline, socialgroupicon.width AS iconwidth, socialgroupicon.height AS iconheight, socialgroupicon.thumbnail_width AS iconthumb_width, socialgroupicon.thumbnail_height AS iconthumb_height
FROM socialgroup AS socialgroup
LEFT JOIN user AS user ON (socialgroup.creatoruserid = user.userid)
LEFT JOIN socialgroupicon AS socialgroupicon ON
		(socialgroupicon.groupid = socialgroup.groupid)
LEFT JOIN socialgroupcategory AS sgc ON (sgc.socialgroupcategoryid = socialgroup.socialgroupcategoryid)
WHERE socialgroup.groupid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEsocialgroupiconconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsgcsystemPRIMARY   1 

Time Before: 0.03752 seconds
Time After: 0.03775 seconds
Time Taken: 0.00024 seconds

Memory Before: 7,582.336 KB
Memory After: 7,582.234 KB
Memory Used: -0.102 KB

SQL Query
SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid
	, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, customavatar.width as avwidth, customavatar.height as avheight, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight, user.icq AS icq, user.aim AS aim, user.yahoo AS yahoo, user.msn AS msn, user.skype AS skype
FROM socialgroupmember AS socialgroupmember
INNER JOIN user AS user ON (user.userid = socialgroupmember.userid)
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) WHERE socialgroupmember.groupid = 2 AND socialgroupmember.type = 'member'
ORDER BY user.lastactivity DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useridPRIMARY4const22Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.userid1 
1SIMPLEcustomprofilepiceq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.userid1 

Time Before: 0.05327 seconds
Time After: 0.09397 seconds
Time Taken: 0.04070 seconds

Memory Before: 7,648.219 KB
Memory After: 7,647.445 KB
Memory Used: -0.773 KB

SQL Query
SELECT picture.pictureid, picture.userid, picture.caption, picture.extension, picture.filesize, picture.idhash,
	picture.thumbnail_filesize, picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height,
	socialgrouppicture.dateline, user.username
	
FROM socialgrouppicture AS socialgrouppicture
INNER JOIN picture AS picture ON (picture.pictureid = socialgrouppicture.pictureid)
INNER JOIN socialgroupmember AS socialgroupmember ON
	(socialgroupmember.userid = picture.userid AND socialgroupmember.groupid = 2 AND socialgroupmember.type = 'member')
LEFT JOIN user AS user ON (user.userid = picture.userid)

WHERE socialgrouppicture.groupid = 2
	
ORDER BY socialgrouppicture.dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgrouppicturerefPRIMARY,groupid,pictureidgroupid4const4Using where
1SIMPLEpictureeq_refPRIMARY,useridPRIMARY4sambees_sammourco.socialgrouppicture.pictureid1 
1SIMPLEsocialgroupmembereq_refPRIMARY,groupid,useridPRIMARY8const,sambees_sammourco.picture.userid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.picture.userid1 

Time Before: 0.17515 seconds
Time After: 0.24123 seconds
Time Taken: 0.06608 seconds

Memory Before: 7,674.555 KB
Memory After: 7,674.352 KB
Memory Used: -0.203 KB

SQL Query
SELECT d.discussionid, gm.state
	
	
FROM discussion AS d
INNER JOIN groupmessage AS gm ON (gm.gmid = d.firstpostid)


WHERE
	d.groupid = 2



ORDER BY d.lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdrefgroupidgroupid4const1Using where
1SIMPLEgmeq_refPRIMARYPRIMARY4sambees_sammourco.d.firstpostid1 

Time Before: 0.26968 seconds
Time After: 0.26989 seconds
Time Taken: 0.00022 seconds

Memory Before: 9,593.148 KB
Memory After: 9,593.492 KB
Memory Used: 0.344 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS
						d.*, gm.*, user.*,
						gm.ipaddress AS itemipaddress, d.lastpost AS lastpost, d.lastpostid AS lastpostid		
					FROM discussion AS d
					INNER JOIN groupmessage AS gm
						ON (gm.gmid = d.firstpostid)
					LEFT JOIN user AS user ON (gm.postuserid = user.userid)	
					
					WHERE 1=1 AND d.groupid = 2 AND d.discussionid IN (0,2) AND (gm.state IN ('visible')) 
						 ORDER BY d.lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdrefPRIMARY,groupidgroupid4const1Using where
1SIMPLEgmeq_refPRIMARYPRIMARY4sambees_sammourco.d.firstpostid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.gm.postuserid1 

Time Before: 0.27059 seconds
Time After: 0.27102 seconds
Time Taken: 0.00043 seconds

Memory Before: 9,593.133 KB
Memory After: 9,593.266 KB
Memory Used: 0.133 KB

SQL Query
UPDATE session
SET lastactivity = 1526948665, location = '/vb/group.php?groupid=2&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '645be6fa1c3bf3ceb561f5ff92c5dee7'

Time Before: 0.28171 seconds
Time After: 0.28197 seconds
Time Taken: 0.00026 seconds

Memory Before: 9,991.383 KB
Memory After: 9,991.594 KB
Memory Used: 0.211 KB

Page generated in 0.28104591369629 seconds with 11 queries, spending 0.11180472373962 doing MySQL queries and 0.16924118995667 doing PHP things.
Shutdown Queries:
DISABLED