Including Functions.php

Time Before: 0.00037 seconds
Time After: 0.00041 seconds
Time Taken: 0.00004 seconds

Memory Before: 460.453 KB
Memory After: 527.406 KB
Memory Used: 66.953 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00049 seconds
Time After: 0.00118 seconds
Time Taken: 0.00069 seconds

Memory Before: 527.383 KB
Memory After: 528.273 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00141 seconds
Time After: 0.00153 seconds
Time Taken: 0.00012 seconds

Memory Before: 528.297 KB
Memory After: 528.352 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','noavatarperms','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY52 19100.00Using index condition

Time Before: 0.00201 seconds
Time After: 0.00264 seconds
Time Taken: 0.00063 seconds

Memory Before: 530.242 KB
Memory After: 764.125 KB
Memory Used: 233.883 KB

Time Before: 0.00155 seconds
Time After: 0.01038 seconds
Time Taken: 0.00883 seconds

Memory Before: 528.117 KB
Memory After: 1,109.516 KB
Memory Used: 581.398 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.196.213.0'
	AND idhash = 'a620bef3bac9ecb97ed637c44b87f2c4'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refguest_lookup,user_activityguest_lookup55const,const,const1100.00 

Time Before: 0.01152 seconds
Time After: 0.01178 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,269.125 KB
Memory After: 1,285.891 KB
Memory Used: 16.766 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_calendar AS phrasegroup_calendar,
			phrasegroup_holiday AS phrasegroup_holiday,
			phrasegroup_timezone AS phrasegroup_timezone,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_user AS phrasegroup_user,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01257 seconds
Time After: 0.01305 seconds
Time Taken: 0.00048 seconds

Memory Before: 1,277.500 KB
Memory After: 1,406.141 KB
Memory Used: 128.641 KB

Time Before: 0.01074 seconds
Time After: 0.01319 seconds
Time Taken: 0.00246 seconds

Memory Before: 1,267.203 KB
Memory After: 1,394.680 KB
Memory Used: 127.477 KB

SQL Query
SELECT calendarpermission.usergroupid, calendarpermission.calendarpermissions,
	calendar.calendarid,calendar.title, displayorder
FROM calendar AS calendar
LEFT JOIN calendarpermission AS calendarpermission ON
	(calendarpermission.calendarid = calendar.calendarid AND
		usergroupid IN (1))
ORDER BY displayorder ASC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcalendar ALL    2100.00Using filesort
1SIMPLEcalendarpermission refcalendarid,usergroupidusergroupid2const1100.00Using where

Time Before: 0.02099 seconds
Time After: 0.02138 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,613.047 KB
Memory After: 1,629.398 KB
Memory Used: 16.352 KB

SQL Query
SELECT COUNT(*) AS count FROM user WHERE usergroupid = 4
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusergroupidusergroupid2const2100.00Using index

Time Before: 0.05795 seconds
Time After: 0.05825 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,697.438 KB
Memory After: 1,713.625 KB
Memory Used: 16.188 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 19 AND userselect = 1)
	OR styleid = 19
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.05892 seconds
Time After: 0.05944 seconds
Time Taken: 0.00052 seconds

Memory Before: 1,690.586 KB
Memory After: 1,819.227 KB
Memory Used: 128.641 KB

End call of global.php: 0.063165903091431
SQL Query
SELECT * FROM calendar WHERE calendarid = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcalendar constPRIMARYPRIMARY4const1100.00 

Time Before: 0.06358 seconds
Time After: 0.06385 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,203.180 KB
Memory After: 2,219.711 KB
Memory Used: 16.531 KB

SQL Query
SELECT birthday, username, userid, showbirthday
FROM user
WHERE (birthday LIKE '02-%' OR
	birthday LIKE '03-%') AND
	usergroupid IN (0,6,13,7,15,2,12,5) AND
	showbirthday IN (2,3)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser rangeusergroupid,birthdaybirthday14 639920.00Using index condition; Using where

Time Before: 0.06523 seconds
Time After: 0.09882 seconds
Time Taken: 0.03359 seconds

Memory Before: 2,215.523 KB
Memory After: 2,555.438 KB
Memory Used: 339.914 KB

SQL Query
SELECT *
FROM holiday
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.10582 seconds
Time After: 0.10597 seconds
Time Taken: 0.00014 seconds

Memory Before: 3,495.180 KB
Memory After: 3,511.344 KB
Memory Used: 16.164 KB

SQL Query
SELECT event.*,
user.username, IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid,
user.adminoptions, user.usergroupid, user.usertitle, user.membergroupids, user.infractiongroupids, IF(options & 8192, 1, 0) AS hasaccessmask,
IF(dateline_to = 0, 1, 0) AS singleday

,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, user.avatarrevision,
		customavatar.height_thumb AS avheight_thumb, customavatar.filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
FROM event AS event
LEFT JOIN user AS user ON (user.userid = event.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE calendarid = 1 AND
	((dateline_to >= 1517400000 AND dateline_from < 1522584000) OR (dateline_to = 0 AND dateline_from >= 1517400000 AND dateline_from <= 1522584000 ))	AND
	event.visible = 1
ORDER BY dateline_from
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEevent refdaterange,calendarid,visiblecalendarid4const116.53Using index condition; Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.event.userid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4webdev.user.userid1100.00 

Time Before: 0.10707 seconds
Time After: 0.10751 seconds
Time Taken: 0.00045 seconds

Memory Before: 3,515.094 KB
Memory After: 3,530.063 KB
Memory Used: 14.969 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (23829,23831,23779,23783,23787,23791,23795,23883,23841,23853,23845,23847,23843,23849,23851,23873,23875,23869,23871,23879,23881,23877,23861,23823,16601,25469,25468,24891,14189,14188,14190,14185,14184,14951,14953,14949,14947,14193,14194,14961,24321,21591,16585,24221,24215,24217,16589,24929,0,0,24889,24811,24261,24263,24267,24269,24715,24953,24917,24817,24819,23915,23913,23921,21563,21565)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 65100.00Using index condition

Time Before: 0.11091 seconds
Time After: 0.11187 seconds
Time Taken: 0.00096 seconds

Memory Before: 3,629.469 KB
Memory After: 3,744.211 KB
Memory Used: 114.742 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 16587
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 0.11405 seconds
Time After: 0.11428 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,734.672 KB
Memory After: 3,750.953 KB
Memory Used: 16.281 KB

SQL Query
UPDATE session
SET lastactivity = 1519610933, location = '/forum/calendar.php?c=1&do=displayweek&explain=1', inforum = 0, incalendar = 1, badlocation = 0
WHERE sessionhash = 'f8bbb9babf3f0afa4fc3dfed7f4f8d96'

Time Before: 0.15130 seconds
Time After: 0.15341 seconds
Time Taken: 0.00211 seconds

Memory Before: 4,016.031 KB
Memory After: 4,015.844 KB
Memory Used: -0.188 KB

Page generated in 0.1506290435791 seconds with 14 queries, spending 0.041129589080811 doing MySQL queries and 0.10949945449829 doing PHP things.
Shutdown Queries:
DISABLED