Including Functions.php

Time Before: 0.00401 seconds
Time After: 0.01061 seconds
Time Taken: 0.00660 seconds

Memory Before: 417.875 KB
Memory After: 426.516 KB
Memory Used: 8.641 KB

Connect to Database on Server: localhost

Time Before: 0.01066 seconds
Time After: 0.01101 seconds
Time Taken: 0.00035 seconds

Memory Before: 426.500 KB
Memory After: 427.461 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01120 seconds
Time After: 0.01126 seconds
Time Taken: 0.00006 seconds

Memory Before: 428.125 KB
Memory After: 428.695 KB
Memory Used: 0.570 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
1SIMPLEdatastorerangePRIMARYPRIMARY50 17Using where

Time Before: 0.01167 seconds
Time After: 0.01226 seconds
Time Taken: 0.00058 seconds

Memory Before: 431.570 KB
Memory After: 433.047 KB
Memory Used: 1.477 KB

Time Before: 0.01128 seconds
Time After: 0.01908 seconds
Time Taken: 0.00779 seconds

Memory Before: 427.938 KB
Memory After: 5,388.438 KB
Memory Used: 4,960.500 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '44.200.140.218'
	AND idhash = 'bedc66bca0f0c4c697e8138ba0bdd11c'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    424Using where

Time Before: 0.01999 seconds
Time After: 0.02020 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,405.211 KB
Memory After: 5,406.516 KB
Memory Used: 1.305 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.02053 seconds
Time After: 0.02059 seconds
Time Taken: 0.00006 seconds

Memory Before: 5,416.313 KB
Memory After: 5,417.047 KB
Memory Used: 0.734 KB

Time Before: 0.01962 seconds
Time After: 0.02066 seconds
Time Taken: 0.00104 seconds

Memory Before: 5,399.953 KB
Memory After: 5,499.047 KB
Memory Used: 99.094 KB

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

Time Before: 0.02178 seconds
Time After: 0.02182 seconds
Time Taken: 0.00004 seconds

Memory Before: 5,695.680 KB
Memory After: 5,696.969 KB
Memory Used: 1.289 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (64,929,918,511,510,164,161,163,160,162,168,170,154,167,155,156,169,171,166,560,570,499,977,1011,991,67,66,68,63,62,339,648,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,1012,1013,649,920,921,922,923,924)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 55Using where

Time Before: 0.02239 seconds
Time After: 0.02249 seconds
Time Taken: 0.00010 seconds

Memory Before: 5,879.961 KB
Memory After: 5,882.180 KB
Memory Used: 2.219 KB

SQL Query
SELECT id, type, title, url, banner, duration, height, width, active, clicks, bannord
FROM cybbanners AS cybbanners
WHERE active = 1
ORDER BY RAND() LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybbannersALL    13Using where; Using temporary; Using filesort

Time Before: 0.02340 seconds
Time After: 0.02351 seconds
Time Taken: 0.00010 seconds

Memory Before: 6,093.563 KB
Memory After: 6,094.688 KB
Memory Used: 1.125 KB

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

Time Before: 0.02984 seconds
Time After: 0.02991 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,098.523 KB
Memory After: 6,118.883 KB
Memory Used: 20.359 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   111 
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.moderator.userid1 

Time Before: 0.03135 seconds
Time After: 0.03139 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,521.195 KB
Memory After: 6,530.914 KB
Memory Used: 9.719 KB

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

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

WHERE startdate <= 1721578485
	AND enddate >= 1721578485
	AND forumid IN (437,391,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEannouncementrangeforumid,startdatestartdate6 1Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4gentlemo_community.announcement.userid1 

Time Before: 0.03412 seconds
Time After: 0.03426 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,033.977 KB
Memory After: 7,034.734 KB
Memory Used: 0.758 KB

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

FROM thread AS thread


WHERE forumid = 437
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1718986485
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using index condition

Time Before: 0.03455 seconds
Time After: 0.03467 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,040.125 KB
Memory After: 7,041.125 KB
Memory Used: 1.000 KB

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

Time Before: 0.03486 seconds
Time After: 0.03489 seconds
Time Taken: 0.00003 seconds

Memory Before: 7,040.609 KB
Memory After: 7,041.789 KB
Memory Used: 1.180 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 = 437
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1718986485
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using index condition

Time Before: 0.03512 seconds
Time After: 0.03524 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,042.500 KB
Memory After: 7,043.375 KB
Memory Used: 0.875 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,348915,471174,494726) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 4Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4gentlemo_community.thread.firstpostid1 

Time Before: 0.03551 seconds
Time After: 0.03556 seconds
Time Taken: 0.00005 seconds

Memory Before: 7,044.250 KB
Memory After: 7,045.484 KB
Memory Used: 1.234 KB

SQL Query
UPDATE session
SET lastactivity = 1721578485, location = '/community/forumdisplay.php?f=437&explain=1', inforum = 437, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '76ec6575bc8dbdb35ce701122130815a'

Time Before: 0.04039 seconds
Time After: 0.04071 seconds
Time Taken: 0.00032 seconds

Memory Before: 7,477.805 KB
Memory After: 7,477.969 KB
Memory Used: 0.164 KB

Page generated in 0.039819002151489 seconds with 15 queries, spending 0.0023970603942871 doing MySQL queries and 0.037421941757202 doing PHP things.
Shutdown Queries:
DISABLED