Including Functions.php

Time Before: 0.00529 seconds
Time After: 0.01324 seconds
Time Taken: 0.00795 seconds

Memory Before: 1,602.070 KB
Memory After: 2,847.094 KB
Memory Used: 1,245.023 KB

Connect to Database on Server: localhost

Time Before: 0.01339 seconds
Time After: 0.01395 seconds
Time Taken: 0.00056 seconds

Memory Before: 2,847.031 KB
Memory After: 2,847.984 KB
Memory Used: 0.953 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01412 seconds
Time After: 0.01418 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,848.719 KB
Memory After: 2,849.273 KB
Memory Used: 0.555 KB

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

Time Before: 0.01469 seconds
Time After: 0.01629 seconds
Time Taken: 0.00160 seconds

Memory Before: 2,852.602 KB
Memory After: 2,853.484 KB
Memory Used: 0.883 KB

Time Before: 0.01421 seconds
Time After: 0.02116 seconds
Time Taken: 0.00695 seconds

Memory Before: 2,848.523 KB
Memory After: 5,394.820 KB
Memory Used: 2,546.297 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '95915f54ca099c3b45dfa346131a3ac0'
1SIMPLEsession refguest_lookup,user_activityguest_lookup145const,const,const2100.00 

Time Before: 0.02361 seconds
Time After: 0.02377 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,988.766 KB
Memory After: 5,989.375 KB
Memory Used: 0.609 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 = 8
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.02460 seconds
Time After: 0.02525 seconds
Time Taken: 0.00066 seconds

Memory Before: 6,001.680 KB
Memory After: 6,001.688 KB
Memory Used: 0.008 KB

Time Before: 0.02300 seconds
Time After: 0.02546 seconds
Time Taken: 0.00246 seconds

Memory Before: 5,981.078 KB
Memory After: 6,149.492 KB
Memory Used: 168.414 KB

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

Time Before: 0.02998 seconds
Time After: 0.03028 seconds
Time Taken: 0.00030 seconds

Memory Before: 6,756.031 KB
Memory After: 6,756.625 KB
Memory Used: 0.594 KB

End call of global.php: 0.031542062759399
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 <= 1558619677
ORDER BY dateline DESC
LIMIT 0, 30
1SIMPLEstream rangedatelinedateline4 4100.00Using index condition

Time Before: 0.03369 seconds
Time After: 0.03390 seconds
Time Taken: 0.00021 seconds

Memory Before: 7,665.086 KB
Memory After: 7,665.781 KB
Memory Used: 0.695 KB

SQL Query
	a.albumid, a.userid, a.createdate, a.title, a.state, a.coverattachmentid
FROM album AS a

WHERE a.albumid IN (196,195,194)
1SIMPLEa rangePRIMARYPRIMARY4 3100.00Using index condition

Time Before: 0.03564 seconds
Time After: 0.03577 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,883.742 KB
Memory After: 7,884.188 KB
Memory Used: 0.445 KB

SQL Query
	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, 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)
	p.postid IN (1016190)
	p.visible <> 2
	t.visible <> 2
1SIMPLEp constPRIMARY,threadid,threadid_visible_datelinePRIMARY4const1100.00 
1SIMPLEt constPRIMARYPRIMARY4const1100.00 
1SIMPLEfp constPRIMARYPRIMARY4const1100.00 

Time Before: 0.03621 seconds
Time After: 0.03650 seconds
Time Taken: 0.00029 seconds

Memory Before: 7,885.922 KB
Memory After: 7,885.969 KB
Memory Used: 0.047 KB

SQL Query
	, 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 (0,3484)
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 2100.00Using index condition
1SIMPLEcu eq_refPRIMARYPRIMARY4whitefor_b1.u.userid1100.00 

Time Before: 0.03845 seconds
Time After: 0.03873 seconds
Time Taken: 0.00028 seconds

Memory Before: 8,149.367 KB
Memory After: 8,150.227 KB
Memory Used: 0.859 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (9573,11294,11295,11296,11297,11298,11303,11299,11300,11301,11304,11305,11306,11307,11308,11923,11933,11874,11944,0,0,5728,5722,8390,5355,5727,5725,5361,5729,5730,5731,11630,11926,11576,11580,11577,11578,11579,11942,0,0,11905,11907,11600,11601,11603,11604,11827,11869,11868,11918,11870,11427,11426,11430)
1SIMPLEtemplate rangePRIMARYPRIMARY4 52100.00Using index condition

Time Before: 0.04069 seconds
Time After: 0.04123 seconds
Time Taken: 0.00054 seconds

Memory Before: 8,442.914 KB
Memory After: 8,444.336 KB
Memory Used: 1.422 KB

SQL Query
UPDATE session
SET lastactivity = 1558619677, location = '/activity.php?explain=1', inforum = 0, badlocation = 0
WHERE sessionhash = 'e90c39b368aaf72500c8f6b14259f605'

Time Before: 0.04670 seconds
Time After: 0.04689 seconds
Time Taken: 0.00019 seconds

Memory Before: 8,876.063 KB
Memory After: 8,876.281 KB
Memory Used: 0.219 KB

Page generated in 0.046262979507446 seconds with 11 queries, spending 0.0049693584442139 doing MySQL queries and 0.041293621063232 doing PHP things.
Shutdown Queries: