Including Functions.php

Time Before: 0.00059 seconds
Time After: 0.00066 seconds
Time Taken: 0.00007 seconds

Memory Before: 424.227 KB
Memory After: 491.180 KB
Memory Used: 66.953 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00071 seconds
Time After: 0.00144 seconds
Time Taken: 0.00073 seconds

Memory Before: 491.156 KB
Memory After: 492.047 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00165 seconds
Time After: 0.00180 seconds
Time Taken: 0.00015 seconds

Memory Before: 492.070 KB
Memory After: 492.125 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','blogcategorycache','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.00243 seconds
Time After: 0.00301 seconds
Time Taken: 0.00058 seconds

Memory Before: 494.016 KB
Memory After: 727.727 KB
Memory Used: 233.711 KB

Time Before: 0.00182 seconds
Time After: 0.00919 seconds
Time Taken: 0.00737 seconds

Memory Before: 491.891 KB
Memory After: 1,072.852 KB
Memory Used: 580.961 KB

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

Time Before: 0.01069 seconds
Time After: 0.01097 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,232.461 KB
Memory After: 1,249.227 KB
Memory Used: 16.766 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			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.01201 seconds
Time After: 0.01250 seconds
Time Taken: 0.00048 seconds

Memory Before: 1,240.461 KB
Memory After: 1,345.289 KB
Memory Used: 104.828 KB

Time Before: 0.00968 seconds
Time After: 0.01267 seconds
Time Taken: 0.00299 seconds

Memory Before: 1,230.539 KB
Memory After: 1,334.266 KB
Memory Used: 103.727 KB

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

Time Before: 0.07831 seconds
Time After: 0.07854 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,618.492 KB
Memory After: 1,634.680 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.07936 seconds
Time After: 0.07974 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,611.672 KB
Memory After: 1,740.313 KB
Memory Used: 128.641 KB

End call of global.php: 0.085116147994995
SQL Query
SELECT stream.*, type.section, type.type
FROM activitystream AS stream
LEFT JOIN activitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1519255072
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstream ALLdateline   678100.00Using where; Using filesort
1SIMPLEtype eq_refPRIMARYPRIMARY4webdev.stream.typeid1100.00 

Time Before: 0.08674 seconds
Time After: 0.08776 seconds
Time Taken: 0.00103 seconds

Memory Before: 2,137.820 KB
Memory After: 2,163.375 KB
Memory Used: 25.555 KB

SQL Query
SELECT
	p.postid AS p_postid, p.threadid AS p_threadid, p.title AS p_title, p.visible AS p_visible, p.userid AS p_userid, p.pagetext AS p_pagetext, p.username AS p_username,
	t.threadid AS t_threadid, t.title AS t_title, t.forumid AS t_forumid, t.pollid AS t_pollid, t.open AS t_open, t.postusername AS t_postusername,
	t.views AS t_views, t.visible AS t_visible, t.postuserid AS t_postuserid, t.postuserid AS t_userid, t.replycount AS t_replycount, t.prefixid AS t_prefixid,
	fp.pagetext AS t_pagetext
FROM post AS p
INNER JOIN thread AS t ON (p.threadid = t.threadid)
INNER JOIN post AS fp ON (t.firstpostid = fp.postid)
WHERE
	p.postid IN (1526814,1526813,1526812,1526811,1526810,1526808,1526807,1526806,1526805,1526804,1526803,1526802,1526801,1526799,1526798,1526796,1526795,1526794,1526791,1526789,1526787,1526786)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 2290.00Using where
1SIMPLEt eq_refPRIMARYPRIMARY4webdev.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4webdev.t.firstpostid1100.00 

Time Before: 0.08887 seconds
Time After: 0.08955 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,225.688 KB
Memory After: 2,261.117 KB
Memory Used: 35.430 KB

SQL Query
SELECT
	t.threadid, t.title, t.forumid, t.pollid, t.open, t.views, t.visible, t.postuserid, t.postuserid AS userid, t.replycount,
	t.postusername, t.prefixid, fp.pagetext
FROM thread AS t
INNER JOIN post AS fp ON (t.firstpostid = fp.postid)
WHERE
	t.threadid IN (368587)
		AND
	t.visible <> 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt constPRIMARYPRIMARY4const1100.00 
1SIMPLEfp constPRIMARYPRIMARY4const1100.00 

Time Before: 0.09049 seconds
Time After: 0.09069 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,288.555 KB
Memory After: 2,304.664 KB
Memory Used: 16.109 KB

SQL Query
SELECT u.*
	, av.avatarpath, NOT ISNULL(cu.userid) AS hascustomavatar,
		cu.dateline AS avatardateline, cu.width AS avwidth, cu.height AS avheight, cu.height_thumb AS avheight_thumb,
		cu.width_thumb AS avwidth_thumb, NOT ISNULL(cu.filedata_thumb) AS filedata_thumb
		
FROM user AS u

	LEFT JOIN avatar AS av ON(av.avatarid = u.avatarid)
	LEFT JOIN customavatar AS cu ON(cu.userid = u.userid)
	
WHERE u.userid IN (23216,259897,300947,301551,304115,158405,305831,292543,287941,304949,302589,304871,80845,168203,230451,305367,305836,305840,303399,305837,305841,305792,15415,304329)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 24100.00Using where
1SIMPLEcu eq_refPRIMARYPRIMARY4webdev.u.userid1100.00 

Time Before: 0.09145 seconds
Time After: 0.09241 seconds
Time Taken: 0.00096 seconds

Memory Before: 2,291.703 KB
Memory After: 2,340.477 KB
Memory Used: 48.773 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (23665,23649,23651,23653,23655,23657,23667,23659,23661,23663,23669,23671,23673,23675,23677,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 56100.00Using index condition

Time Before: 0.10165 seconds
Time After: 0.10234 seconds
Time Taken: 0.00069 seconds

Memory Before: 2,665.234 KB
Memory After: 2,793.461 KB
Memory Used: 128.227 KB

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

Time Before: 0.10327 seconds
Time After: 0.10340 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,799.203 KB
Memory After: 2,815.484 KB
Memory Used: 16.281 KB

SQL Query
UPDATE session
SET lastactivity = 1519255072, location = '/forum/activity.php?explain=1', badlocation = 0
WHERE sessionhash = '8242c922672b1047d99f6e6664bff1b4'

Time Before: 0.14996 seconds
Time After: 0.15165 seconds
Time Taken: 0.00169 seconds

Memory Before: 3,006.383 KB
Memory After: 3,006.258 KB
Memory Used: -0.125 KB

Page generated in 0.14934706687927 seconds with 13 queries, spending 0.008204460144043 doing MySQL queries and 0.14114260673523 doing PHP things.
Shutdown Queries:
DISABLED