Including Functions.php

Time Before: 0.00024 seconds
Time After: 0.00029 seconds
Time Taken: 0.00005 seconds

Memory Before: 468.828 KB
Memory After: 470.727 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00033 seconds
Time After: 0.00100 seconds
Time Taken: 0.00067 seconds

Memory Before: 470.680 KB
Memory After: 471.445 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00122 seconds
Time After: 0.00141 seconds
Time Taken: 0.00019 seconds

Memory Before: 471.469 KB
Memory After: 471.547 KB
Memory Used: 0.078 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   29Using where

Time Before: 0.00823 seconds
Time After: 0.00884 seconds
Time Taken: 0.00062 seconds

Memory Before: 472.797 KB
Memory After: 536.914 KB
Memory Used: 64.117 KB

Time Before: 0.00143 seconds
Time After: 0.01100 seconds
Time Taken: 0.00956 seconds

Memory Before: 471.305 KB
Memory After: 650.195 KB
Memory Used: 178.891 KB

Session Handling
SQL Query
SELECT sessionhash, lastactivity
FROM session
WHERE userid = 0
	AND host = '216.73.216.114'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
ORDER BY lastactivity DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,userid_lastactivityguest_lookup314const,const,const1Using index condition; Using where; Using filesort

Time Before: 0.01472 seconds
Time After: 0.01532 seconds
Time Taken: 0.00060 seconds

Memory Before: 667.289 KB
Memory After: 683.609 KB
Memory Used: 16.320 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
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01626 seconds
Time After: 0.01681 seconds
Time Taken: 0.00055 seconds

Memory Before: 673.336 KB
Memory After: 977.859 KB
Memory Used: 304.523 KB

Time Before: 0.01111 seconds
Time After: 0.01718 seconds
Time Taken: 0.00607 seconds

Memory Before: 652.344 KB
Memory After: 827.680 KB
Memory Used: 175.336 KB

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

Time Before: 0.02135 seconds
Time After: 0.02185 seconds
Time Taken: 0.00051 seconds

Memory Before: 1,012.875 KB
Memory After: 1,101.195 KB
Memory Used: 88.320 KB

End call of global.php: 0.026942014694214
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 = 38
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEusercsscacheconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02801 seconds
Time After: 0.02872 seconds
Time Taken: 0.00071 seconds

Memory Before: 1,204.023 KB
Memory After: 1,253.523 KB
Memory Used: 49.500 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 38
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusernoterefuseriduserid4const1 

Time Before: 0.02967 seconds
Time After: 0.03007 seconds
Time Taken: 0.00040 seconds

Memory Before: 1,250.234 KB
Memory After: 1,266.555 KB
Memory Used: 16.320 KB

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

Time Before: 0.03044 seconds
Time After: 0.03071 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,258.508 KB
Memory After: 1,274.688 KB
Memory Used: 16.180 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
1SIMPLEpfALL    4Using where; Using temporary; Using filesort
1SIMPLEpfceq_refPRIMARYPRIMARY2vbsupport_vb3.pf.profilefieldcategoryid1 

Time Before: 0.03114 seconds
Time After: 0.03193 seconds
Time Taken: 0.00079 seconds

Memory Before: 1,259.070 KB
Memory After: 1,275.125 KB
Memory Used: 16.055 KB

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

Time Before: 0.03221 seconds
Time After: 0.03341 seconds
Time Taken: 0.00120 seconds

Memory Before: 1,269.867 KB
Memory After: 1,269.883 KB
Memory Used: 0.016 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, profilevisitor.dateline, user.infractiongroupid
	
FROM profilevisitor AS profilevisitor
INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid)

WHERE profilevisitor.userid = 38
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const1Using where; Using index; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.profilevisitor.visitorid1 

Time Before: 0.03391 seconds
Time After: 0.03433 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,270.781 KB
Memory After: 1,286.711 KB
Memory Used: 15.930 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 = 38
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using where; Using index; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4vbsupport_vb3.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY4vbsupport_vb3.socialgroupmember.groupid1 

Time Before: 0.03497 seconds
Time After: 0.03563 seconds
Time Taken: 0.00066 seconds

Memory Before: 1,272.984 KB
Memory After: 1,288.539 KB
Memory Used: 15.555 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 = 38
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbsupport_vb3.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where

Time Before: 0.03652 seconds
Time After: 0.03709 seconds
Time Taken: 0.00058 seconds

Memory Before: 1,276.883 KB
Memory After: 1,308.406 KB
Memory Used: 31.523 KB

SQL Query
SELECT FOUND_ROWS()

Time Before: 0.03712 seconds
Time After: 0.03818 seconds
Time Taken: 0.00105 seconds

Memory Before: 1,306.555 KB
Memory After: 1,322.922 KB
Memory Used: 16.367 KB

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

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

Time Before: 0.03888 seconds
Time After: 0.03988 seconds
Time Taken: 0.00100 seconds

Memory Before: 1,319.477 KB
Memory After: 1,335.484 KB
Memory Used: 16.008 KB

SQL Query
SELECT b.bbcodeid, b.bbcodetag, b.title, b.twoparams, b.bbcodereplacement,
	p.pattern, p.param_group, p.option_group, p.patternid
FROM bbcode AS b
INNER JOIN bbcode_mediapattern AS p ON (p.bbcodeid = b.bbcodeid)
ORDER BY b.bbcodeid, p.patternid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpALLbbcodeid   15Using temporary; Using filesort
1SIMPLEbeq_refPRIMARYPRIMARY2vbsupport_vb3.p.bbcodeid1Using where

Time Before: 0.04190 seconds
Time After: 0.04479 seconds
Time Taken: 0.00289 seconds

Memory Before: 1,311.211 KB
Memory After: 1,327.500 KB
Memory Used: 16.289 KB

SQL Query
SELECT COUNT(*) AS count
FROM user
WHERE referrerid = 38
	AND usergroupid NOT IN (3,4)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserrefusergroupid,referreridreferrerid4const1Using where

Time Before: 0.04660 seconds
Time After: 0.04866 seconds
Time Taken: 0.00206 seconds

Memory Before: 1,305.797 KB
Memory After: 1,322.117 KB
Memory Used: 16.320 KB

Page generated in 0.052460908889771 seconds with 31 queries, spending 0.015145063400269 doing MySQL queries and 0.037315845489502 doing PHP things.
Shutdown Queries:
DISABLED