Including Functions.php

Time Before: 0.00307 seconds
Time After: 0.00861 seconds
Time Taken: 0.00554 seconds

Memory Before: 2,180.781 KB
Memory After: 2,925.063 KB
Memory Used: 744.281 KB

Connect to Database on Server: localhost

Time Before: 0.00872 seconds
Time After: 0.00907 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,925.047 KB
Memory After: 2,926.000 KB
Memory Used: 0.953 KB

Datastore Setup
SQL Query
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')
1SIMPLEdatastorerangePRIMARYPRIMARY52 18Using index condition

Time Before: 0.00962 seconds
Time After: 0.00994 seconds
Time Taken: 0.00032 seconds

Memory Before: 2,929.742 KB
Memory After: 2,930.742 KB
Memory Used: 1.000 KB

Time Before: 0.00917 seconds
Time After: 0.01166 seconds
Time Taken: 0.00249 seconds

Memory Before: 2,925.734 KB
Memory After: 3,467.016 KB
Memory Used: 541.281 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '3845663ecfe919f5efc39ab4f16260b1'
1SIMPLEsessionALL    209Using where

Time Before: 0.01263 seconds
Time After: 0.01277 seconds
Time Taken: 0.00014 seconds

Memory Before: 3,500.656 KB
Memory After: 3,501.242 KB
Memory Used: 0.586 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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01331 seconds
Time After: 0.01360 seconds
Time Taken: 0.00029 seconds

Memory Before: 3,511.969 KB
Memory After: 3,511.898 KB
Memory Used: -0.070 KB

Time Before: 0.01223 seconds
Time After: 0.01378 seconds
Time Taken: 0.00155 seconds

Memory Before: 3,495.898 KB
Memory After: 3,640.180 KB
Memory Used: 144.281 KB

SQL Query
FROM style
WHERE (styleid = 45 AND userselect = 1)
	OR styleid = 45
ORDER BY styleid ASC

Time Before: 0.01667 seconds
Time After: 0.01674 seconds
Time Taken: 0.00007 seconds

Memory Before: 3,843.984 KB
Memory After: 3,844.563 KB
Memory Used: 0.578 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)
1SIMPLEtemplaterangePRIMARYPRIMARY4 38Using index condition

Time Before: 0.01763 seconds
Time After: 0.01807 seconds
Time Taken: 0.00044 seconds

Memory Before: 4,024.305 KB
Memory After: 4,025.570 KB
Memory Used: 1.266 KB

End call of global.php: 0.019547939300537
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
1SIMPLEsocialgroupiconconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsgcsystemPRIMARY   1 

Time Before: 0.02906 seconds
Time After: 0.02924 seconds
Time Taken: 0.00018 seconds

Memory Before: 4,962.680 KB
Memory After: 4,962.867 KB
Memory Used: 0.188 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, AS yahoo, user.msn AS msn, 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
1SIMPLEavatarsystemPRIMARY   0const row not found; Using temporary; Using filesort
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useridPRIMARY4const22Using where

Time Before: 0.03882 seconds
Time After: 0.04081 seconds
Time Taken: 0.00199 seconds

Memory Before: 5,029.766 KB
Memory After: 5,037.555 KB
Memory Used: 7.789 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
1SIMPLEsocialgrouppictureALLPRIMARY,groupid,pictureid   5Using where; Using filesort
1SIMPLEsocialgroupmembereq_refPRIMARY,groupid,useridPRIMARY8const,sambees_sammourco.picture.userid1Using where

Time Before: 0.04282 seconds
Time After: 0.04329 seconds
Time Taken: 0.00047 seconds

Memory Before: 5,055.508 KB
Memory After: 5,055.859 KB
Memory Used: 0.352 KB

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

	d.groupid = 2

ORDER BY d.lastpost DESC
1SIMPLEdrefgroupidgroupid4const1Using where

Time Before: 0.05972 seconds
Time After: 0.05989 seconds
Time Taken: 0.00017 seconds

Memory Before: 6,183.539 KB
Memory After: 6,183.953 KB
Memory Used: 0.414 KB

SQL Query
						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
1SIMPLEdrefPRIMARY,groupidgroupid4const1Using where
1SIMPLEgmeq_refPRIMARYPRIMARY4sambees_sammourco.d.firstpostid1Using where 

Time Before: 0.06026 seconds
Time After: 0.06059 seconds
Time Taken: 0.00033 seconds

Memory Before: 6,183.734 KB
Memory After: 6,184.680 KB
Memory Used: 0.945 KB

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

Time Before: 0.06653 seconds
Time After: 0.06670 seconds
Time Taken: 0.00016 seconds

Memory Before: 6,516.203 KB
Memory After: 6,516.383 KB
Memory Used: 0.180 KB

Page generated in 0.066003084182739 seconds with 11 queries, spending 0.0049254894256592 doing MySQL queries and 0.06107759475708 doing PHP things.
Shutdown Queries: