Including Functions.php

Time Before: 0.00043 seconds
Time After: 0.00048 seconds
Time Taken: 0.00005 seconds

Memory Before: 460.039 KB
Memory After: 526.992 KB
Memory Used: 66.953 KB

Connect to Database on Server:

Time Before: 0.00052 seconds
Time After: 0.00114 seconds
Time Taken: 0.00062 seconds

Memory Before: 526.969 KB
Memory After: 527.859 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00133 seconds
Time After: 0.00146 seconds
Time Taken: 0.00013 seconds

Memory Before: 527.883 KB
Memory After: 527.938 KB
Memory Used: 0.055 KB

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

Time Before: 0.00196 seconds
Time After: 0.00249 seconds
Time Taken: 0.00053 seconds

Memory Before: 529.828 KB
Memory After: 763.711 KB
Memory Used: 233.883 KB

Time Before: 0.00148 seconds
Time After: 0.00997 seconds
Time Taken: 0.00849 seconds

Memory Before: 527.703 KB
Memory After: 1,109.102 KB
Memory Used: 581.398 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '52df695b27c92caab8fbc2d5087fe4e5'
1SIMPLEsession refguest_lookup,user_activityguest_lookup55const,const,const1100.00 

Time Before: 0.01104 seconds
Time After: 0.01134 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,269.023 KB
Memory After: 1,285.789 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
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01197 seconds
Time After: 0.01237 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,277.398 KB
Memory After: 1,406.039 KB
Memory Used: 128.641 KB

Time Before: 0.01047 seconds
Time After: 0.01247 seconds
Time Taken: 0.00200 seconds

Memory Before: 1,266.789 KB
Memory After: 1,394.578 KB
Memory Used: 127.789 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
1SIMPLEcalendar ALL    2100.00Using filesort
1SIMPLEcalendarpermission refcalendarid,usergroupidusergroupid2const1100.00Using where

Time Before: 0.02011 seconds
Time After: 0.02044 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,612.945 KB
Memory After: 1,629.297 KB
Memory Used: 16.352 KB

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

Time Before: 0.05836 seconds
Time After: 0.05855 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,697.664 KB
Memory After: 1,713.852 KB
Memory Used: 16.188 KB

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

Time Before: 0.05903 seconds
Time After: 0.05932 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,690.781 KB
Memory After: 1,819.422 KB
Memory Used: 128.641 KB

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

Time Before: 0.06397 seconds
Time After: 0.06412 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,202.750 KB
Memory After: 2,219.281 KB
Memory Used: 16.531 KB

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

Time Before: 0.06460 seconds
Time After: 0.06470 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,213.297 KB
Memory After: 2,229.461 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 >= 1519819200 AND dateline_from < 1522584000) OR (dateline_to = 0 AND dateline_from >= 1519819200 AND dateline_from <= 1522584000 ))	AND
	event.visible = 1
ORDER BY dateline_from
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.06591 seconds
Time After: 0.06630 seconds
Time Taken: 0.00038 seconds

Memory Before: 2,233.211 KB
Memory After: 2,248.180 KB
Memory Used: 14.969 KB

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

Time Before: 0.06687 seconds
Time After: 0.06785 seconds
Time Taken: 0.00098 seconds

Memory Before: 2,214.008 KB
Memory After: 2,235.438 KB
Memory Used: 21.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (23829,23831,23779,23783,23787,23791,23795,23863,23861,23865,23867,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)
1SIMPLEtemplate rangePRIMARYPRIMARY4 53100.00Using index condition

Time Before: 0.07084 seconds
Time After: 0.07139 seconds
Time Taken: 0.00056 seconds

Memory Before: 2,339.055 KB
Memory After: 2,443.484 KB
Memory Used: 104.430 KB

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

Time Before: 0.07245 seconds
Time After: 0.07260 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,448.766 KB
Memory After: 2,465.047 KB
Memory Used: 16.281 KB

SQL Query
SELECT calendarmoderator.*, user.username
FROM calendarmoderator AS calendarmoderator
INNER JOIN user AS user USING(userid)
1SIMPLE         no matching row in const table

Time Before: 0.07835 seconds
Time After: 0.07856 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,482.516 KB
Memory After: 2,498.672 KB
Memory Used: 16.156 KB

SQL Query
UPDATE session
SET lastactivity = 1521796618, location = '/forum/calendar.php?do=getinfo&day=2018-3-17&c=1&explain=1', incalendar = 1, badlocation = 0
WHERE sessionhash = '17407aa584b8a4c42c8e81a4b328ae61'

Time Before: 0.08019 seconds
Time After: 0.08142 seconds
Time Taken: 0.00123 seconds

Memory Before: 2,598.922 KB
Memory After: 2,598.734 KB
Memory Used: -0.188 KB

Page generated in 0.079818964004517 seconds with 15 queries, spending 0.0065441131591797 doing MySQL queries and 0.073274850845337 doing PHP things.
Shutdown Queries: