Including Functions.php

Time Before: 0.00019 seconds
Time After: 0.00022 seconds
Time Taken: 0.00003 seconds

Memory Before: 470.000 KB
Memory After: 471.898 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00026 seconds
Time After: 0.00674 seconds
Time Taken: 0.00647 seconds

Memory Before: 471.852 KB
Memory After: 472.617 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00696 seconds
Time After: 0.00712 seconds
Time Taken: 0.00017 seconds

Memory Before: 472.641 KB
Memory After: 472.719 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
1SIMPLEdatastorerangePRIMARYPRIMARY200 16Using where

Time Before: 0.00780 seconds
Time After: 0.01164 seconds
Time Taken: 0.00384 seconds

Memory Before: 473.969 KB
Memory After: 538.086 KB
Memory Used: 64.117 KB

Time Before: 0.00719 seconds
Time After: 0.01393 seconds
Time Taken: 0.00674 seconds

Memory Before: 472.477 KB
Memory After: 653.633 KB
Memory Used: 181.156 KB

Session Handling
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.01774 seconds
Time After: 0.01839 seconds
Time Taken: 0.00066 seconds

Memory Before: 675.773 KB
Memory After: 980.297 KB
Memory Used: 304.523 KB

Time Before: 0.01405 seconds
Time After: 0.01859 seconds
Time Taken: 0.00454 seconds

Memory Before: 655.781 KB
Memory After: 829.867 KB
Memory Used: 174.086 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.03712 seconds
Time After: 0.03812 seconds
Time Taken: 0.00101 seconds

Memory Before: 1,016.313 KB
Memory After: 1,104.633 KB
Memory Used: 88.320 KB

End call of global.php: 0.042267084121704
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 = 190
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.04373 seconds
Time After: 0.04564 seconds
Time Taken: 0.00191 seconds

Memory Before: 1,207.383 KB
Memory After: 1,256.883 KB
Memory Used: 49.500 KB

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

Time Before: 0.06834 seconds
Time After: 0.07223 seconds
Time Taken: 0.00389 seconds

Memory Before: 1,253.742 KB
Memory After: 1,270.063 KB
Memory Used: 16.320 KB

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

Time Before: 0.07560 seconds
Time After: 0.08551 seconds
Time Taken: 0.00991 seconds

Memory Before: 1,262.016 KB
Memory After: 1,278.195 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.08866 seconds
Time After: 0.09725 seconds
Time Taken: 0.00859 seconds

Memory Before: 1,262.578 KB
Memory After: 1,278.633 KB
Memory Used: 16.055 KB

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

Time Before: 0.09876 seconds
Time After: 0.11279 seconds
Time Taken: 0.01403 seconds

Memory Before: 1,273.406 KB
Memory After: 1,273.422 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 = 190
	 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.11472 seconds
Time After: 0.11520 seconds
Time Taken: 0.00047 seconds

Memory Before: 1,274.320 KB
Memory After: 1,290.250 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 = 190
	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.11594 seconds
Time After: 0.11668 seconds
Time Taken: 0.00075 seconds

Memory Before: 1,276.523 KB
Memory After: 1,292.078 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 = 190
	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.11880 seconds
Time After: 0.12160 seconds
Time Taken: 0.00280 seconds

Memory Before: 1,280.422 KB
Memory After: 1,311.945 KB
Memory Used: 31.523 KB

SQL Query
SELECT FOUND_ROWS()

Time Before: 0.12164 seconds
Time After: 0.12206 seconds
Time Taken: 0.00042 seconds

Memory Before: 1,310.094 KB
Memory After: 1,326.461 KB
Memory Used: 16.367 KB

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

WHERE visitormessage.userid = 190
	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.12321 seconds
Time After: 0.12361 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,323.078 KB
Memory After: 1,339.023 KB
Memory Used: 15.945 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.12434 seconds
Time After: 0.12692 seconds
Time Taken: 0.00258 seconds

Memory Before: 1,314.781 KB
Memory After: 1,331.070 KB
Memory Used: 16.289 KB

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

Time Before: 0.12778 seconds
Time After: 0.12878 seconds
Time Taken: 0.00100 seconds

Memory Before: 1,309.414 KB
Memory After: 1,325.734 KB
Memory Used: 16.320 KB

Page generated in 0.12929701805115 seconds with 29 queries, spending 0.058901309967041 doing MySQL queries and 0.070395708084106 doing PHP things.
Shutdown Queries:
DISABLED