Including Functions.php

Time Before: 0.00030 seconds
Time After: 0.00033 seconds
Time Taken: 0.00003 seconds

Memory Before: 429.203 KB
Memory After: 431.844 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00036 seconds
Time After: 0.00066 seconds
Time Taken: 0.00030 seconds

Memory Before: 431.797 KB
Memory After: 432.688 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00076 seconds
Time After: 0.00086 seconds
Time Taken: 0.00009 seconds

Memory Before: 432.711 KB
Memory After: 432.766 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 17Using where

Time Before: 0.00130 seconds
Time After: 0.00146 seconds
Time Taken: 0.00017 seconds

Memory Before: 434.039 KB
Memory After: 520.695 KB
Memory Used: 86.656 KB

Time Before: 0.00088 seconds
Time After: 0.00575 seconds
Time Taken: 0.00487 seconds

Memory Before: 432.555 KB
Memory After: 713.992 KB
Memory Used: 281.438 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.215.177.171'
	AND idhash = '3fee94f7836f39b9790b43605178a7a3'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    323Using where

Time Before: 0.00637 seconds
Time After: 0.00678 seconds
Time Taken: 0.00041 seconds

Memory Before: 720.016 KB
Memory After: 736.578 KB
Memory Used: 16.563 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_prefix AS phrasegroup_prefix,
			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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.00744 seconds
Time After: 0.00754 seconds
Time Taken: 0.00010 seconds

Memory Before: 727.602 KB
Memory After: 784.164 KB
Memory Used: 56.563 KB

Time Before: 0.00604 seconds
Time After: 0.00763 seconds
Time Taken: 0.00159 seconds

Memory Before: 717.477 KB
Memory After: 772.391 KB
Memory Used: 54.914 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 6 AND userselect = 1)
	OR styleid = 6
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.00934 seconds
Time After: 0.00942 seconds
Time Taken: 0.00008 seconds

Memory Before: 909.445 KB
Memory After: 958.008 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17412,17501,17857,17859,17858,17512,17509,17511,17508,17510,17516,17518,17502,17515,17503,17504,17517,17519,17514,17908,17918,17847,11515,10694,17912,17415,17414,17416,17411,17410,17687,9293,17639,17640,17641,17907,17910,17919,17660,17661,17662,17663,17861,17924,17923,17925,17928)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 47Using where

Time Before: 0.01079 seconds
Time After: 0.01095 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,034.734 KB
Memory After: 1,135.414 KB
Memory Used: 100.680 KB

End call of global.php: 0.011933088302612
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM forum AS forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    26 

Time Before: 0.01225 seconds
Time After: 0.01232 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,159.250 KB
Memory After: 1,184.422 KB
Memory Used: 25.172 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorALLuserid_forumid   5 
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.moderator.userid1 

Time Before: 0.01277 seconds
Time After: 0.01286 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,171.398 KB
Memory After: 1,188.148 KB
Memory Used: 16.750 KB

SQL Query
SELECT user.username, (user.options & 512) AS invisible, user.usergroupid,
	session.userid, session.inforum, session.lastactivity, session.badlocation,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1632715755
ORDER BY username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    323Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.01364 seconds
Time After: 0.01440 seconds
Time Taken: 0.00076 seconds

Memory Before: 1,189.609 KB
Memory After: 1,219.531 KB
Memory Used: 29.922 KB

SQL Query
SELECT
	announcement.announcementid, startdate, title, announcement.views,
	user.username, user.userid, user.usertitle, user.customtitle, user.usergroupid,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM announcement AS announcement

LEFT JOIN user AS user ON(user.userid = announcement.userid)

WHERE startdate <= 1632717555
	AND enddate >= 1632717555
	AND forumid IN (14,33,11,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEannouncementrangeforumid,enddateenddate6 1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.announcement.userid1 

Time Before: 0.01558 seconds
Time After: 0.01620 seconds
Time Taken: 0.00062 seconds

Memory Before: 1,210.359 KB
Memory After: 1,225.961 KB
Memory Used: 15.602 KB

SQL Query
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1632717555 AND open <> 10, 1, 0)) AS newthread

FROM thread AS thread


WHERE forumid = 14
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1630125555
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using where

Time Before: 0.01650 seconds
Time After: 0.01688 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,227.555 KB
Memory After: 1,243.961 KB
Memory Used: 16.406 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 14
	AND sticky = 1
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const1 

Time Before: 0.01708 seconds
Time After: 0.01716 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,227.875 KB
Memory After: 1,243.914 KB
Memory Used: 16.039 KB

SQL Query
SELECT  thread.threadid,
	thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views
	
FROM thread AS thread


WHERE forumid = 14
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1630125555
	
ORDER BY sticky DESC, thread.title 
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using where; Using filesort

Time Before: 0.01741 seconds
Time After: 0.01768 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,228.625 KB
Memory After: 1,244.414 KB
Memory Used: 15.789 KB

SQL Query
SELECT 
	IF(votenum >= 1, votenum, 0) AS votenum,
	IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
 post.pagetext AS preview,
	thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
	thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, hiddencount, deletedcount
	
	
	
	
	
FROM thread AS thread
	
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0) 
ORDER BY sticky DESC, thread.title
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.01796 seconds
Time After: 0.01822 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,229.469 KB
Memory After: 1,245.070 KB
Memory Used: 15.602 KB

SQL Query
UPDATE session
SET lastactivity = 1632717555, location = '/board/forumdisplay.php?f=14&daysprune=30&order=asc&sort=title&explain=1'
WHERE sessionhash = '35b996a495cfb78eea229ee81dce131d'

Time Before: 0.01951 seconds
Time After: 0.01967 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,409.141 KB
Memory After: 1,409.016 KB
Memory Used: -0.125 KB

Page generated in 0.019268989562988 seconds with 15 queries, spending 0.0039775371551514 doing MySQL queries and 0.015291452407837 doing PHP things.
Shutdown Queries:
DISABLED