Including Functions.php

Time Before: 0.00469 seconds
Time After: 0.01216 seconds
Time Taken: 0.00747 seconds

Memory Before: 3,439.008 KB
Memory After: 4,882.523 KB
Memory Used: 1,443.516 KB

Connect to Database on Server: localhost

Time Before: 0.01230 seconds
Time After: 0.01439 seconds
Time Taken: 0.00209 seconds

Memory Before: 4,882.406 KB
Memory After: 4,883.188 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.01526 seconds
Time After: 0.01568 seconds
Time Taken: 0.00042 seconds

Memory Before: 4,886.391 KB
Memory After: 4,886.703 KB
Memory Used: 0.313 KB

Time Before: 0.01460 seconds
Time After: 0.01730 seconds
Time Taken: 0.00270 seconds

Memory Before: 4,882.688 KB
Memory After: 5,420.820 KB
Memory Used: 538.133 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.92.182.0'
	AND idhash = '2fa7ffa12a9bfc7aff5436a63e923205'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    328Using where

Time Before: 0.01819 seconds
Time After: 0.01838 seconds
Time Taken: 0.00019 seconds

Memory Before: 5,471.938 KB
Memory After: 5,472.352 KB
Memory Used: 0.414 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.01910 seconds
Time After: 0.01952 seconds
Time Taken: 0.00042 seconds

Memory Before: 5,482.797 KB
Memory After: 5,482.516 KB
Memory Used: -0.281 KB

Time Before: 0.01777 seconds
Time After: 0.01975 seconds
Time Taken: 0.00199 seconds

Memory Before: 5,467.570 KB
Memory After: 5,610.414 KB
Memory Used: 142.844 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.02383 seconds
Time After: 0.02405 seconds
Time Taken: 0.00022 seconds

Memory Before: 5,753.406 KB
Memory After: 5,753.836 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.02495 seconds
Time After: 0.02543 seconds
Time Taken: 0.00048 seconds

Memory Before: 5,934.609 KB
Memory After: 5,934.914 KB
Memory Used: 0.305 KB

End call of global.php: 0.026704072952271
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.03671 seconds
Time After: 0.03700 seconds
Time Taken: 0.00029 seconds

Memory Before: 7,582.977 KB
Memory After: 7,582.875 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.05246 seconds
Time After: 0.05437 seconds
Time Taken: 0.00191 seconds

Memory Before: 7,648.859 KB
Memory After: 7,648.086 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.05638 seconds
Time After: 0.07672 seconds
Time Taken: 0.02034 seconds

Memory Before: 7,675.195 KB
Memory After: 7,674.992 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.10423 seconds
Time After: 0.10449 seconds
Time Taken: 0.00026 seconds

Memory Before: 9,593.766 KB
Memory After: 9,594.109 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.10519 seconds
Time After: 0.10563 seconds
Time Taken: 0.00045 seconds

Memory Before: 9,593.750 KB
Memory After: 9,593.883 KB
Memory Used: 0.133 KB

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

Time Before: 0.11597 seconds
Time After: 0.11622 seconds
Time Taken: 0.00025 seconds

Memory Before: 9,992.188 KB
Memory After: 9,992.383 KB
Memory Used: 0.195 KB

Page generated in 0.11529493331909 seconds with 11 queries, spending 0.027313709259033 doing MySQL queries and 0.087981224060059 doing PHP things.
Shutdown Queries:
DISABLED