Including Functions.php

Time Before: 0.00036 seconds
Time After: 0.00039 seconds
Time Taken: 0.00003 seconds

Memory Before: 426.313 KB
Memory After: 428.953 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00042 seconds
Time After: 0.00078 seconds
Time Taken: 0.00036 seconds

Memory Before: 428.906 KB
Memory After: 429.797 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00091 seconds
Time After: 0.00099 seconds
Time Taken: 0.00007 seconds

Memory Before: 429.820 KB
Memory After: 429.875 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
1SIMPLEdatastorerangePRIMARYPRIMARY152 16Using where

Time Before: 0.00149 seconds
Time After: 0.00166 seconds
Time Taken: 0.00016 seconds

Memory Before: 431.148 KB
Memory After: 517.781 KB
Memory Used: 86.633 KB

Time Before: 0.00101 seconds
Time After: 0.00473 seconds
Time Taken: 0.00372 seconds

Memory Before: 429.664 KB
Memory After: 713.898 KB
Memory Used: 284.234 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = 'd3e498203e80d0f797363fdd57a5028a'
	AND lastactivity > 1746331833
	AND idhash = 'e503cd3ab06686ea35585a62c1df28ff'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY98const1 

Time Before: 0.00539 seconds
Time After: 0.00555 seconds
Time Taken: 0.00017 seconds

Memory Before: 719.641 KB
Memory After: 736.328 KB
Memory Used: 16.688 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_reputationlevel AS phrasegroup_reputationlevel,
			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.00768 seconds
Time After: 0.00779 seconds
Time Taken: 0.00012 seconds

Memory Before: 727.469 KB
Memory After: 836.094 KB
Memory Used: 108.625 KB

Time Before: 0.00493 seconds
Time After: 0.00787 seconds
Time Taken: 0.00294 seconds

Memory Before: 717.359 KB
Memory After: 831.102 KB
Memory Used: 113.742 KB

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

Time Before: 0.01074 seconds
Time After: 0.01081 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,026.602 KB
Memory After: 1,075.164 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17545,17566,17534,17535,17537,17544,17543,17440,17442,17444,17446,17480,17479,17481,17482,17716,17714,17869,17875,17547,17548,17549,17550,17551,17552,17553,17554,17555,17556,17560,17558,17559,17557,17561,17565,17567,17568,17577,17571,17572,17573,17574,17576,17546,17564,17569,17578,17580,17579,17575,17747,17766,11515,10694,17912,17415,17414,17416,17411,17410,17687,9293,17639,17640,17641,17907,17910,17919,17660,17661,17662,17663,17861,17924,17923,17925,17928)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using where

Time Before: 0.01217 seconds
Time After: 0.01232 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,163.391 KB
Memory After: 1,309.539 KB
Memory Used: 146.148 KB

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

Time Before: 0.01403 seconds
Time After: 0.01456 seconds
Time Taken: 0.00053 seconds

Memory Before: 1,337.773 KB
Memory After: 1,356.773 KB
Memory Used: 19.000 KB

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

Time Before: 0.01519 seconds
Time After: 0.01526 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,414.234 KB
Memory After: 1,430.352 KB
Memory Used: 16.117 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    11Using where; Using filesort

Time Before: 0.01560 seconds
Time After: 0.01567 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,414.688 KB
Memory After: 1,432.625 KB
Memory Used: 17.938 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 = 15
	AND album.state IN ('public')
	AND album.visible > 0
	
ORDER BY album.lastpicturedate DESC
LIMIT 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02821 seconds
Time After: 0.02829 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,437.336 KB
Memory After: 1,453.188 KB
Memory Used: 15.852 KB

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

Time Before: 0.02836 seconds
Time After: 0.03127 seconds
Time Taken: 0.00290 seconds

Memory Before: 1,437.305 KB
Memory After: 1,437.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 = 15
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03155 seconds
Time After: 0.03275 seconds
Time Taken: 0.00120 seconds

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

Time Before: 0.03317 seconds
Time After: 0.03341 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,440.867 KB
Memory After: 1,456.719 KB
Memory Used: 15.852 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 = 15
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03398 seconds
Time After: 0.03432 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,520.063 KB
Memory After: 1,535.539 KB
Memory Used: 15.477 KB

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

Time Before: 0.03460 seconds
Time After: 0.03467 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,534.477 KB
Memory After: 1,550.930 KB
Memory Used: 16.453 KB

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

WHERE visitormessage.userid = 15
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03494 seconds
Time After: 0.03501 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,543.594 KB
Memory After: 1,559.688 KB
Memory Used: 16.094 KB

SQL Query
SELECT COUNT(*) AS albumcount, SUM(album.visible) AS picturecount
FROM album AS album
WHERE album.userid = 15
	AND album.state IN ('public')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03553 seconds
Time After: 0.03561 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,530.117 KB
Memory After: 1,546.523 KB
Memory Used: 16.406 KB

SQL Query
UPDATE session
SET location = '/board/member.php?explain=1&u=15', badlocation = 0
WHERE sessionhash = 'd3e498203e80d0f797363fdd57a5028a'

Time Before: 0.03689 seconds
Time After: 0.03701 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,666.672 KB
Memory After: 1,666.609 KB
Memory Used: -0.063 KB

Page generated in 0.036729097366333 seconds with 18 queries, spending 0.0068790912628174 doing MySQL queries and 0.029850006103516 doing PHP things.
Shutdown Queries:
DISABLED