Including Functions.php

Time Before: 0.00046 seconds
Time After: 0.00053 seconds
Time Taken: 0.00007 seconds

Memory Before: 459.500 KB
Memory After: 526.453 KB
Memory Used: 66.953 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00058 seconds
Time After: 0.00132 seconds
Time Taken: 0.00075 seconds

Memory Before: 526.430 KB
Memory After: 527.320 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00162 seconds
Time After: 0.00179 seconds
Time Taken: 0.00017 seconds

Memory Before: 527.344 KB
Memory After: 527.398 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.00257 seconds
Time After: 0.00347 seconds
Time Taken: 0.00090 seconds

Memory Before: 529.289 KB
Memory After: 763.172 KB
Memory Used: 233.883 KB

Time Before: 0.00182 seconds
Time After: 0.01757 seconds
Time Taken: 0.01575 seconds

Memory Before: 527.164 KB
Memory After: 1,108.563 KB
Memory Used: 581.398 KB

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

Time Before: 0.01947 seconds
Time After: 0.01982 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,268.172 KB
Memory After: 1,284.938 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.02092 seconds
Time After: 0.02147 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,276.547 KB
Memory After: 1,405.188 KB
Memory Used: 128.641 KB

Time Before: 0.01817 seconds
Time After: 0.02161 seconds
Time Taken: 0.00344 seconds

Memory Before: 1,266.250 KB
Memory After: 1,393.727 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.03507 seconds
Time After: 0.03538 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,612.094 KB
Memory After: 1,628.445 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.11355 seconds
Time After: 0.11382 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,696.469 KB
Memory After: 1,712.656 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.11493 seconds
Time After: 0.11616 seconds
Time Taken: 0.00122 seconds

Memory Before: 1,689.617 KB
Memory After: 1,818.258 KB
Memory Used: 128.641 KB

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

Time Before: 0.12438 seconds
Time After: 0.12457 seconds
Time Taken: 0.00019 seconds

Memory Before: 2,202.258 KB
Memory After: 2,218.789 KB
Memory Used: 16.531 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.12883 seconds
Time After: 0.12967 seconds
Time Taken: 0.00083 seconds

Memory Before: 2,331.680 KB
Memory After: 2,446.422 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.13108 seconds
Time After: 0.13123 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,434.664 KB
Memory After: 2,450.945 KB
Memory Used: 16.281 KB

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

Time Before: 0.13573 seconds
Time After: 0.16102 seconds
Time Taken: 0.02530 seconds

Memory Before: 2,512.688 KB
Memory After: 2,675.641 KB
Memory Used: 162.953 KB

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

Time Before: 0.16452 seconds
Time After: 0.16468 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,121.047 KB
Memory After: 3,137.211 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 >= 1514721600 AND dateline_from < 1522584000) OR (dateline_to = 0 AND dateline_from >= 1514721600 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.16594 seconds
Time After: 0.16649 seconds
Time Taken: 0.00055 seconds

Memory Before: 3,140.336 KB
Memory After: 3,155.305 KB
Memory Used: 14.969 KB

SQL Query
UPDATE session
SET lastactivity = 1519101586, location = '/forum/calendar.php?explain=1', badlocation = 0
WHERE sessionhash = '2bd90dd037f7bd443bba4c08de74bf2a'

Time Before: 0.25627 seconds
Time After: 0.25887 seconds
Time Taken: 0.00260 seconds

Memory Before: 3,286.422 KB
Memory After: 3,286.297 KB
Memory Used: -0.125 KB

Page generated in 0.25537991523743 seconds with 14 queries, spending 0.034278154373169 doing MySQL queries and 0.22110176086426 doing PHP things.
Shutdown Queries:
DISABLED