Including Functions.php

Time Before: 0.00016 seconds
Time After: 0.00018 seconds
Time Taken: 0.00002 seconds

Memory Before: 414.898 KB
Memory After: 416.734 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00020 seconds
Time After: 0.00047 seconds
Time Taken: 0.00027 seconds

Memory Before: 416.719 KB
Memory After: 417.609 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00056 seconds
Time After: 0.00062 seconds
Time Taken: 0.00006 seconds

Memory Before: 417.656 KB
Memory After: 417.711 KB
Memory Used: 0.055 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.00095 seconds
Time After: 0.00149 seconds
Time Taken: 0.00054 seconds

Memory Before: 419.188 KB
Memory After: 636.055 KB
Memory Used: 216.867 KB

Time Before: 0.00063 seconds
Time After: 0.00600 seconds
Time Taken: 0.00537 seconds

Memory Before: 417.500 KB
Memory After: 949.422 KB
Memory Used: 531.922 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('modstats_coder','modstats_designer','modstats_motm','modtitle_coder','modtitle_designer')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY200 5Using where

Time Before: 0.00622 seconds
Time After: 0.00673 seconds
Time Taken: 0.00051 seconds

Memory Before: 951.156 KB
Memory After: 1,335.477 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.147.49.19'
	AND idhash = 'fa18f98a73512917e627ec35d8dbda96'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1207Using where

Time Before: 0.00702 seconds
Time After: 0.00801 seconds
Time Taken: 0.00099 seconds

Memory Before: 1,141.633 KB
Memory After: 1,158.078 KB
Memory Used: 16.445 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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.00837 seconds
Time After: 0.00857 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,148.141 KB
Memory After: 1,381.000 KB
Memory Used: 232.859 KB

Time Before: 0.00681 seconds
Time After: 0.00864 seconds
Time Taken: 0.00183 seconds

Memory Before: 1,139.188 KB
Memory After: 1,266.047 KB
Memory Used: 126.859 KB

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

Time Before: 0.01090 seconds
Time After: 0.01099 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,419.211 KB
Memory After: 1,515.719 KB
Memory Used: 96.508 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (197,218,186,187,189,196,195,92,94,96,98,132,131,133,134,368,366,521,527,199,200,201,202,203,204,205,206,207,208,212,210,211,209,213,217,219,220,229,223,224,225,226,228,198,216,221,230,232,231,227,399,418,641,644,624,67,66,68,63,62,339,645,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,599,600,595,609,596,131,132,133,134,149,584,585,587,588,586,583,581,582,594,589,590,593,592,591,366,394,395,392,598,615,619,614)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 104Using where

Time Before: 0.01195 seconds
Time After: 0.01230 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,572.133 KB
Memory After: 1,889.563 KB
Memory Used: 317.430 KB

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

Time Before: 0.01371 seconds
Time After: 0.01417 seconds
Time Taken: 0.00046 seconds

Memory Before: 1,885.703 KB
Memory After: 1,945.469 KB
Memory Used: 59.766 KB

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

Time Before: 0.01463 seconds
Time After: 0.01479 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,939.078 KB
Memory After: 1,955.273 KB
Memory Used: 16.195 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    7Using where; Using temporary; Using filesort
1SIMPLEpfceq_refPRIMARYPRIMARY2vbsupport_vborg.pf.profilefieldcategoryid1 

Time Before: 0.01505 seconds
Time After: 0.01511 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,939.656 KB
Memory After: 1,958.273 KB
Memory Used: 18.617 KB

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

Time Before: 0.01551 seconds
Time After: 0.01619 seconds
Time Taken: 0.00068 seconds

Memory Before: 1,957.789 KB
Memory After: 1,957.836 KB
Memory Used: 0.047 KB

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

WHERE profilevisitor.userid = 1
	 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_vborg.profilevisitor.visitorid1 

Time Before: 0.01648 seconds
Time After: 0.01673 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,958.539 KB
Memory After: 1,974.531 KB
Memory Used: 15.992 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 = 1
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.01724 seconds
Time After: 0.01747 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,960.734 KB
Memory After: 1,976.539 KB
Memory Used: 15.805 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 = 1
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbsupport_vborg.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbsupport_vborg.user.userid1Using where

Time Before: 0.01929 seconds
Time After: 0.01984 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,964.484 KB
Memory After: 2,012.188 KB
Memory Used: 47.703 KB

SQL Query
SELECT FOUND_ROWS()
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       No tables used

Time Before: 0.02003 seconds
Time After: 0.02010 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,010.625 KB
Memory After: 2,027.063 KB
Memory Used: 16.438 KB

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

WHERE visitormessage.userid = 1
	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.02083 seconds
Time After: 0.02103 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,017.438 KB
Memory After: 2,033.477 KB
Memory Used: 16.039 KB

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

Time Before: 0.02157 seconds
Time After: 0.02180 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,975.875 KB
Memory After: 1,992.211 KB
Memory Used: 16.336 KB

SQL Query
SELECT 
			mods.author,mods.mod_version,mods.mod_vbversion,mods.author,mods.threadid,mods.mod_installcount,mods.dateline,mods.last_update,
			thread.title,thread.prefixid, 
			forum.title as forumtitle, forum.forumid AS forumid 
			FROM modsys_settings AS mods 
			LEFT JOIN thread AS thread ON(thread.threadid=mods.threadid) 
			LEFT JOIN forum AS forum ON(forum.forumid=thread.forumid) 
			WHERE mods.author=1 
			AND thread.visible=1 
			ORDER BY forumtitle ASC,mods.dateline DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmodsALL    19206Using where; Using temporary; Using filesort
1SIMPLEthreadeq_refPRIMARYPRIMARY4vbsupport_vborg.mods.threadid1Using index condition; Using where
1SIMPLEforumeq_refPRIMARYPRIMARY2vbsupport_vborg.thread.forumid1 

Time Before: 0.02233 seconds
Time After: 0.03041 seconds
Time Taken: 0.00808 seconds

Memory Before: 1,982.078 KB
Memory After: 2,010.633 KB
Memory Used: 28.555 KB

SQL Query
UPDATE session
SET lastactivity = 1734839558, location = '/member.php?explain=1&u=1', inforum = 0, inthread = 0
WHERE sessionhash = '39e6cb93f78de62c53c3117996396e96'

Time Before: 0.03256 seconds
Time After: 0.03267 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,213.594 KB
Memory After: 2,213.516 KB
Memory Used: -0.078 KB

Page generated in 0.032324075698853 seconds with 19 queries, spending 0.014103174209595 doing MySQL queries and 0.018220901489258 doing PHP things.
Shutdown Queries:
DISABLED