Including Functions.php

Time Before: 0.00373 seconds
Time After: 0.00884 seconds
Time Taken: 0.00511 seconds

Memory Before: 1,143.961 KB
Memory After: 1,886.203 KB
Memory Used: 742.242 KB

Connect to Database on Server: localhost

Time Before: 0.00889 seconds
Time After: 0.01056 seconds
Time Taken: 0.00166 seconds

Memory Before: 1,886.188 KB
Memory After: 1,886.758 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01066 seconds
Time After: 0.01078 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,886.805 KB
Memory After: 1,886.859 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
1SIMPLEdatastoreALLPRIMARY   30Using where

Time Before: 0.01121 seconds
Time After: 0.01184 seconds
Time Taken: 0.00063 seconds

Memory Before: 1,888.336 KB
Memory After: 1,888.203 KB
Memory Used: -0.133 KB

Time Before: 0.01079 seconds
Time After: 0.01348 seconds
Time Taken: 0.00270 seconds

Memory Before: 1,886.648 KB
Memory After: 2,039.016 KB
Memory Used: 152.367 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.236.239.91'
	AND idhash = '018119e073143c3ab84a113f5d695a62'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    2794Using where

Time Before: 0.01407 seconds
Time After: 0.01475 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,056.180 KB
Memory After: 2,056.359 KB
Memory Used: 0.180 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.01516 seconds
Time After: 0.01569 seconds
Time Taken: 0.00053 seconds

Memory Before: 2,063.469 KB
Memory After: 2,063.648 KB
Memory Used: 0.180 KB

Time Before: 0.01373 seconds
Time After: 0.01578 seconds
Time Taken: 0.00204 seconds

Memory Before: 2,055.859 KB
Memory After: 2,174.109 KB
Memory Used: 118.250 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.01841 seconds
Time After: 0.01867 seconds
Time Taken: 0.00026 seconds

Memory Before: 2,266.336 KB
Memory After: 2,266.641 KB
Memory Used: 0.305 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,563,558,564,67,66,68,63,62,339,290,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using index condition

Time Before: 0.01998 seconds
Time After: 0.02089 seconds
Time Taken: 0.00091 seconds

Memory Before: 2,416.953 KB
Memory After: 2,416.695 KB
Memory Used: -0.258 KB

End call of global.php: 0.021704912185669
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 = 185
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEcustomprofilepicsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 

Time Before: 0.02653 seconds
Time After: 0.02694 seconds
Time Taken: 0.00041 seconds

Memory Before: 3,034.492 KB
Memory After: 3,035.672 KB
Memory Used: 1.180 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 185
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03314 seconds
Time After: 0.03329 seconds
Time Taken: 0.00015 seconds

Memory Before: 3,968.070 KB
Memory After: 3,968.375 KB
Memory Used: 0.305 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 185
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03353 seconds
Time After: 0.03365 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,976.430 KB
Memory After: 3,976.500 KB
Memory Used: 0.070 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
1SIMPLEpfcsystemPRIMARY   0const row not found
1SIMPLEpfALL    4Using where; Using filesort

Time Before: 0.03391 seconds
Time After: 0.03443 seconds
Time Taken: 0.00052 seconds

Memory Before: 3,976.883 KB
Memory After: 3,976.875 KB
Memory Used: -0.008 KB

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

Time Before: 0.03460 seconds
Time After: 0.03482 seconds
Time Taken: 0.00022 seconds

Memory Before: 3,994.305 KB
Memory After: 3,994.305 KB
Memory Used: 0.000 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 = 185
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4drc2.profilevisitor.visitorid1 

Time Before: 0.03513 seconds
Time After: 0.03555 seconds
Time Taken: 0.00042 seconds

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

Time Before: 0.03603 seconds
Time After: 0.03621 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,998.094 KB
Memory After: 3,997.898 KB
Memory Used: -0.195 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 = 185
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4drc2.visitormessage.postuserid1 

Time Before: 0.03921 seconds
Time After: 0.03954 seconds
Time Taken: 0.00033 seconds

Memory Before: 4,332.805 KB
Memory After: 4,332.234 KB
Memory Used: -0.570 KB

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

Time Before: 0.03970 seconds
Time After: 0.03980 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,330.672 KB
Memory After: 4,331.039 KB
Memory Used: 0.367 KB

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

WHERE visitormessage.userid = 185
	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.04010 seconds
Time After: 0.04029 seconds
Time Taken: 0.00019 seconds

Memory Before: 4,337.148 KB
Memory After: 4,337.141 KB
Memory Used: -0.008 KB

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

Time Before: 0.04096 seconds
Time After: 0.04112 seconds
Time Taken: 0.00016 seconds

Memory Before: 4,346.672 KB
Memory After: 4,346.977 KB
Memory Used: 0.305 KB

SQL Query
UPDATE session
SET lastactivity = 1634965900, location = '/member.php?u=185&explain=1'
WHERE sessionhash = '76231ca16e197fac283dadb15deffd94'

Time Before: 0.04287 seconds
Time After: 0.04304 seconds
Time Taken: 0.00017 seconds

Memory Before: 4,519.570 KB
Memory After: 4,519.508 KB
Memory Used: -0.063 KB

Page generated in 0.042593002319336 seconds with 18 queries, spending 0.0077641010284424 doing MySQL queries and 0.034828901290894 doing PHP things.
Shutdown Queries:
DISABLED