Including Functions.php

Time Before: 0.00070 seconds
Time After: 0.00077 seconds
Time Taken: 0.00007 seconds

Memory Before: 427.883 KB
Memory After: 430.523 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00083 seconds
Time After: 0.00150 seconds
Time Taken: 0.00066 seconds

Memory Before: 430.477 KB
Memory After: 431.367 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00194 seconds
Time After: 0.00217 seconds
Time Taken: 0.00023 seconds

Memory Before: 431.391 KB
Memory After: 431.445 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.00313 seconds
Time After: 0.00608 seconds
Time Taken: 0.00295 seconds

Memory Before: 432.719 KB
Memory After: 519.375 KB
Memory Used: 86.656 KB

Time Before: 0.00219 seconds
Time After: 0.01111 seconds
Time Taken: 0.00891 seconds

Memory Before: 431.234 KB
Memory After: 712.672 KB
Memory Used: 281.438 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.236.138.35'
	AND idhash = '9a938ab627cb9f4c3329c69ac29e5b11'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    51Using where

Time Before: 0.01180 seconds
Time After: 0.01367 seconds
Time Taken: 0.00187 seconds

Memory Before: 718.383 KB
Memory After: 734.609 KB
Memory Used: 16.227 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.01509 seconds
Time After: 0.01526 seconds
Time Taken: 0.00018 seconds

Memory Before: 724.305 KB
Memory After: 780.867 KB
Memory Used: 56.563 KB

Time Before: 0.01144 seconds
Time After: 0.01539 seconds
Time Taken: 0.00395 seconds

Memory Before: 716.156 KB
Memory After: 769.094 KB
Memory Used: 52.938 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.01773 seconds
Time After: 0.01784 seconds
Time Taken: 0.00011 seconds

Memory Before: 905.445 KB
Memory After: 954.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.01950 seconds
Time After: 0.01985 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,030.734 KB
Memory After: 1,131.414 KB
Memory Used: 100.680 KB

End call of global.php: 0.021167993545532
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.02169 seconds
Time After: 0.02178 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,155.898 KB
Memory After: 1,181.070 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.02240 seconds
Time After: 0.02249 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,168.047 KB
Memory After: 1,184.797 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 > 1675413663
ORDER BY username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    51Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.02348 seconds
Time After: 0.02453 seconds
Time Taken: 0.00105 seconds

Memory Before: 1,186.836 KB
Memory After: 1,212.281 KB
Memory Used: 25.445 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 <= 1675415463
	AND enddate >= 1675415463
	AND forumid IN (12,16,15,-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.02572 seconds
Time After: 0.02608 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,207.219 KB
Memory After: 1,222.820 KB
Memory Used: 15.602 KB

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

FROM thread AS thread


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

Time Before: 0.02654 seconds
Time After: 0.03007 seconds
Time Taken: 0.00353 seconds

Memory Before: 1,224.438 KB
Memory After: 1,240.844 KB
Memory Used: 16.406 KB

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

Time Before: 0.03089 seconds
Time After: 0.03112 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,224.758 KB
Memory After: 1,240.797 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 = 12
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1672823463
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using where

Time Before: 0.03146 seconds
Time After: 0.03172 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,225.383 KB
Memory After: 1,241.297 KB
Memory Used: 15.914 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, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03455 seconds
Time After: 0.03465 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,226.352 KB
Memory After: 1,241.953 KB
Memory Used: 15.602 KB

SQL Query
INSERT IGNORE INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
	('53a2ade22b3541e5b6072b26b3ab5eb8', 0, '3.236.138.35', '9a938ab627cb9f4c3329c69ac29e5b11', 1675415463, '/board/forumdisplay.php?f=12&explain=1', 0, 0, 0, 12, 0, 0, 0, 'CCBot/2.0 (https://commoncrawl.org/faq/)', 0, 0)

Time Before: 0.03643 seconds
Time After: 0.03664 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,406.406 KB
Memory After: 1,406.031 KB
Memory Used: -0.375 KB

Page generated in 0.036125898361206 seconds with 15 queries, spending 0.012279748916626 doing MySQL queries and 0.02384614944458 doing PHP things.
Shutdown Queries:
DISABLED