Including Functions.php

Time Before: 0.00481 seconds
Time After: 0.01242 seconds
Time Taken: 0.00760 seconds

Memory Before: 1,159.805 KB
Memory After: 1,904.148 KB
Memory Used: 744.344 KB

Connect to Database on Server: localhost

Time Before: 0.01248 seconds
Time After: 0.01283 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,904.133 KB
Memory After: 1,905.086 KB
Memory Used: 0.953 KB

Datastore Setup
SQL Query
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache')
1SIMPLEdatastore rangePRIMARYPRIMARY52 16100.00Using index condition

Time Before: 0.01343 seconds
Time After: 0.01353 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,908.742 KB
Memory After: 1,909.727 KB
Memory Used: 0.984 KB

Time Before: 0.01292 seconds
Time After: 0.01487 seconds
Time Taken: 0.00195 seconds

Memory Before: 1,904.828 KB
Memory After: 2,436.500 KB
Memory Used: 531.672 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '153fd9c9e5d36c2cb7988e7ad06aaf9d'
1SIMPLEsession ALL    2440.41Using where

Time Before: 0.01582 seconds
Time After: 0.01601 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,470.094 KB
Memory After: 2,470.680 KB
Memory Used: 0.586 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
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01660 seconds
Time After: 0.01671 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,481.672 KB
Memory After: 2,481.547 KB
Memory Used: -0.125 KB

Time Before: 0.01540 seconds
Time After: 0.01681 seconds
Time Taken: 0.00141 seconds

Memory Before: 2,465.266 KB
Memory After: 2,599.492 KB
Memory Used: 134.227 KB

SQL Query
FROM style
WHERE (styleid = 45 AND userselect = 1)
	OR styleid = 45
ORDER BY styleid ASC
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.01951 seconds
Time After: 0.01958 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,785.352 KB
Memory After: 2,785.938 KB
Memory Used: 0.586 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)
1SIMPLEtemplate rangePRIMARYPRIMARY4 77100.00Using index condition

Time Before: 0.02053 seconds
Time After: 0.02068 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,970.117 KB
Memory After: 2,972.063 KB
Memory Used: 1.945 KB

End call of global.php: 0.022053956985474
SQL Query
	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
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEusercsscache systemPRIMARY   00.00const row not found
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEcustomprofilepic constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigpic systemPRIMARY   1100.00 

Time Before: 0.03035 seconds
Time After: 0.03084 seconds
Time Taken: 0.00049 seconds

Memory Before: 3,669.406 KB
Memory After: 3,669.414 KB
Memory Used: 0.008 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 3634
1SIMPLE         no matching row in const table

Time Before: 0.04083 seconds
Time After: 0.04094 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,749.117 KB
Memory After: 4,749.641 KB
Memory Used: 0.523 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 3634
1SIMPLEprofileblockprivacy refPRIMARYPRIMARY4const1100.00 

Time Before: 0.04143 seconds
Time After: 0.04158 seconds
Time Taken: 0.00015 seconds

Memory Before: 4,765.828 KB
Memory After: 4,766.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
1SIMPLEpfc systemPRIMARY   00.00const row not found
1SIMPLEpf ALL    714.29Using where; Using filesort

Time Before: 0.04214 seconds
Time After: 0.04220 seconds
Time Taken: 0.00006 seconds

Memory Before: 4,766.578 KB
Memory After: 4,767.938 KB
Memory Used: 1.359 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
1SIMPLEalbum refuseriduserid4const111.11Using where
1SIMPLEpicture eq_refPRIMARYPRIMARY4sambees_sammourco.album.coverpictureid1100.00Using where

Time Before: 0.04400 seconds
Time After: 0.04423 seconds
Time Taken: 0.00023 seconds

Memory Before: 4,874.219 KB
Memory After: 4,874.359 KB
Memory Used: 0.141 KB

SQL Query
	profilevisits = profilevisits + 1
WHERE userid = 3634

Time Before: 0.04435 seconds
Time After: 0.04468 seconds
Time Taken: 0.00033 seconds

Memory Before: 4,874.414 KB
Memory After: 4,874.734 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
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const319.00Using index condition; Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4sambees_sammourco.profilevisitor.visitorid1100.00 

Time Before: 0.04517 seconds
Time After: 0.04543 seconds
Time Taken: 0.00027 seconds

Memory Before: 4,875.820 KB
Memory After: 4,876.188 KB
Memory Used: 0.367 KB

SQL Query
SELECT socialgroup.groupid,, 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
	socialgroupmember.userid = 3634
	AND socialgroupmember.type = 'member'
1SIMPLEsocialgroupmember refPRIMARY,groupid,useriduserid5const,const1100.00Using temporary; Using filesort
1SIMPLEsocialgroup eq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.groupid1100.00 
1SIMPLEsgicon eq_refPRIMARYPRIMARY4sambees_sammourco.socialgroupmember.groupid1100.00 

Time Before: 0.04631 seconds
Time After: 0.04670 seconds
Time Taken: 0.00038 seconds

Memory Before: 4,882.664 KB
Memory After: 4,882.695 KB
Memory Used: 0.031 KB

SQL Query
	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
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEvisitormessage refuseriduserid4const133.33Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4sambees_sammourco.visitormessage.postuserid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4sambees_sammourco.user.userid1100.00 

Time Before: 0.05222 seconds
Time After: 0.05258 seconds
Time Taken: 0.00037 seconds

Memory Before: 5,345.047 KB
Memory After: 5,344.781 KB
Memory Used: -0.266 KB

SQL Query
1SIMPLE         No tables used

Time Before: 0.05284 seconds
Time After: 0.05290 seconds
Time Taken: 0.00006 seconds

Memory Before: 5,342.297 KB
Memory After: 5,342.938 KB
Memory Used: 0.641 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'))
1SIMPLEvisitormessage refpostuserid,useriduserid4const133.42Using index condition; Using where

Time Before: 0.05349 seconds
Time After: 0.05366 seconds
Time Taken: 0.00017 seconds

Memory Before: 5,368.516 KB
Memory After: 5,368.867 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')
1SIMPLEalbum refuseriduserid4const133.33Using where

Time Before: 0.05477 seconds
Time After: 0.05491 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,375.242 KB
Memory After: 5,375.703 KB
Memory Used: 0.461 KB

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

Time Before: 0.05777 seconds
Time After: 0.05792 seconds
Time Taken: 0.00015 seconds

Memory Before: 5,646.641 KB
Memory After: 5,646.852 KB
Memory Used: 0.211 KB

Page generated in 0.057109117507935 seconds with 18 queries, spending 0.0038704872131348 doing MySQL queries and 0.0532386302948 doing PHP things.
Shutdown Queries: