Including Functions.php

Time Before: 0.00493 seconds
Time After: 0.01279 seconds
Time Taken: 0.00786 seconds

Memory Before: 1,161.938 KB
Memory After: 1,906.203 KB
Memory Used: 744.266 KB

Connect to Database on Server: localhost

Time Before: 0.01287 seconds
Time After: 0.01320 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,906.188 KB
Memory After: 1,907.141 KB
Memory Used: 0.953 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
1SIMPLEdatastorerangePRIMARYPRIMARY52 16Using index condition

Time Before: 0.01370 seconds
Time After: 0.01472 seconds
Time Taken: 0.00102 seconds

Memory Before: 1,910.727 KB
Memory After: 1,911.719 KB
Memory Used: 0.992 KB

Time Before: 0.01330 seconds
Time After: 0.01616 seconds
Time Taken: 0.00286 seconds

Memory Before: 1,906.875 KB
Memory After: 2,438.484 KB
Memory Used: 531.609 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.84.182.112'
	AND idhash = '824a4d3c7d78e6aa370476baa6f80cef'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    112Using where

Time Before: 0.02280 seconds
Time After: 0.02320 seconds
Time Taken: 0.00040 seconds

Memory Before: 2,472.156 KB
Memory After: 2,472.750 KB
Memory Used: 0.594 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.02378 seconds
Time After: 0.02396 seconds
Time Taken: 0.00018 seconds

Memory Before: 2,483.688 KB
Memory After: 2,483.563 KB
Memory Used: -0.125 KB

Time Before: 0.01676 seconds
Time After: 0.02409 seconds
Time Taken: 0.00733 seconds

Memory Before: 2,467.391 KB
Memory After: 2,601.492 KB
Memory Used: 134.102 KB

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

Time Before: 0.02705 seconds
Time After: 0.02716 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,787.445 KB
Memory After: 2,788.023 KB
Memory Used: 0.578 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2152,2173,2141,2142,2144,2151,2150,2047,2049,2051,2053,2087,2086,2088,2089,2323,2321,2476,2482,2154,2155,2156,2157,2158,2159,2160,2161,2162,2163,2167,2165,2166,2164,2168,2172,2174,2175,2184,2178,2179,2180,2181,2183,2153,2171,2176,2185,2187,2186,2182,2354,2373,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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using index condition

Time Before: 0.03070 seconds
Time After: 0.03094 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,972.234 KB
Memory After: 2,974.180 KB
Memory Used: 1.945 KB

End call of global.php: 0.032516956329346
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 = 3634
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsigpicsystemPRIMARY   1 

Time Before: 0.05322 seconds
Time After: 0.05387 seconds
Time Taken: 0.00065 seconds

Memory Before: 3,671.766 KB
Memory After: 3,671.766 KB
Memory Used: 0.000 KB

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

Time Before: 0.07808 seconds
Time After: 0.07847 seconds
Time Taken: 0.00040 seconds

Memory Before: 4,752.133 KB
Memory After: 4,752.648 KB
Memory Used: 0.516 KB

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

Time Before: 0.07905 seconds
Time After: 0.07929 seconds
Time Taken: 0.00025 seconds

Memory Before: 4,768.828 KB
Memory After: 4,769.344 KB
Memory Used: 0.516 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    7Using where; Using filesort

Time Before: 0.07970 seconds
Time After: 0.07978 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,769.547 KB
Memory After: 4,770.914 KB
Memory Used: 1.367 KB

SQL Query
SELECT album.*,
	picture.pictureid, picture.extension, picture.idhash, album.moderation,
	picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height
	
FROM album AS album
LEFT JOIN picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0)

WHERE album.userid = 3634
	AND album.state IN ('public')
	AND album.visible > 0
	
ORDER BY album.lastpicturedate DESC
LIMIT 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEalbumrefuseriduserid4const1Using where
1SIMPLEpictureeq_refPRIMARYPRIMARY4sambees_sammourco.album.coverpictureid1Using where

Time Before: 0.08176 seconds
Time After: 0.08212 seconds
Time Taken: 0.00036 seconds

Memory Before: 4,877.266 KB
Memory After: 4,877.406 KB
Memory Used: 0.141 KB

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

Time Before: 0.08226 seconds
Time After: 0.08253 seconds
Time Taken: 0.00027 seconds

Memory Before: 4,877.570 KB
Memory After: 4,877.891 KB
Memory Used: 0.320 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 = 3634
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const2Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.profilevisitor.visitorid1 

Time Before: 0.08303 seconds
Time After: 0.08357 seconds
Time Taken: 0.00054 seconds

Memory Before: 4,878.859 KB
Memory After: 4,879.234 KB
Memory Used: 0.375 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 = 3634
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using index condition; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.groupid1 

Time Before: 0.08451 seconds
Time After: 0.08531 seconds
Time Taken: 0.00080 seconds

Memory Before: 4,885.719 KB
Memory After: 4,885.758 KB
Memory Used: 0.039 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 = 3634
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4sambees_sammourco.visitormessage.postuserid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4sambees_sammourco.user.userid1Using where

Time Before: 0.09258 seconds
Time After: 0.09302 seconds
Time Taken: 0.00045 seconds

Memory Before: 5,348.352 KB
Memory After: 5,348.078 KB
Memory Used: -0.273 KB

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

Time Before: 0.09330 seconds
Time After: 0.09338 seconds
Time Taken: 0.00007 seconds

Memory Before: 5,345.672 KB
Memory After: 5,346.320 KB
Memory Used: 0.648 KB

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

WHERE visitormessage.userid = 3634
	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.09402 seconds
Time After: 0.09443 seconds
Time Taken: 0.00042 seconds

Memory Before: 5,371.914 KB
Memory After: 5,372.266 KB
Memory Used: 0.352 KB

SQL Query
SELECT COUNT(*) AS albumcount, SUM(album.visible) AS picturecount
FROM album AS album
WHERE album.userid = 3634
	AND album.state IN ('public')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEalbumrefuseriduserid4const1Using where

Time Before: 0.09577 seconds
Time After: 0.09617 seconds
Time Taken: 0.00041 seconds

Memory Before: 5,378.648 KB
Memory After: 5,379.109 KB
Memory Used: 0.461 KB

SQL Query
UPDATE session
SET lastactivity = 1556297011, location = '/vb/member.php?u=3634&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '6c5b2e345f0ff71ffb0f0c1036e73fc7'

Time Before: 0.09948 seconds
Time After: 0.09966 seconds
Time Taken: 0.00018 seconds

Memory Before: 5,650.109 KB
Memory After: 5,650.320 KB
Memory Used: 0.211 KB

Page generated in 0.098691940307617 seconds with 18 queries, spending 0.0071287155151367 doing MySQL queries and 0.09156322479248 doing PHP things.
Shutdown Queries:
DISABLED