Including Functions.php

Time Before: 0.00379 seconds
Time After: 0.00959 seconds
Time Taken: 0.00581 seconds

Memory Before: 417.484 KB
Memory After: 426.180 KB
Memory Used: 8.695 KB

Connect to Database on Server: localhost

Time Before: 0.00964 seconds
Time After: 0.01294 seconds
Time Taken: 0.00330 seconds

Memory Before: 426.164 KB
Memory After: 427.125 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01460 seconds
Time After: 0.01652 seconds
Time Taken: 0.00192 seconds

Memory Before: 427.789 KB
Memory After: 428.359 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.01767 seconds
Time After: 0.02586 seconds
Time Taken: 0.00819 seconds

Memory Before: 431.211 KB
Memory After: 432.688 KB
Memory Used: 1.477 KB

Time Before: 0.01655 seconds
Time After: 0.03207 seconds
Time Taken: 0.01552 seconds

Memory Before: 427.602 KB
Memory After: 5,388.133 KB
Memory Used: 4,960.531 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.97.14.85'
	AND idhash = '3baccf9796c876a91b207ca555fa88a5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    854Using where

Time Before: 0.03615 seconds
Time After: 0.03665 seconds
Time Taken: 0.00049 seconds

Memory Before: 5,404.930 KB
Memory After: 5,406.273 KB
Memory Used: 1.344 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.03720 seconds
Time After: 0.03732 seconds
Time Taken: 0.00012 seconds

Memory Before: 5,416.055 KB
Memory After: 5,416.789 KB
Memory Used: 0.734 KB

Time Before: 0.03285 seconds
Time After: 0.03740 seconds
Time Taken: 0.00455 seconds

Memory Before: 5,399.695 KB
Memory After: 5,498.781 KB
Memory Used: 99.086 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.03882 seconds
Time After: 0.03888 seconds
Time Taken: 0.00006 seconds

Memory Before: 5,695.719 KB
Memory After: 5,697.008 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.03956 seconds
Time After: 0.03972 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,880.695 KB
Memory After: 5,882.914 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.04062 seconds
Time After: 0.04074 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,094.398 KB
Memory After: 6,095.523 KB
Memory Used: 1.125 KB

End call of global.php: 0.045346975326538
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.04815 seconds
Time After: 0.04823 seconds
Time Taken: 0.00008 seconds

Memory Before: 6,098.992 KB
Memory After: 6,119.352 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.05080 seconds
Time After: 0.05085 seconds
Time Taken: 0.00006 seconds

Memory Before: 6,521.539 KB
Memory After: 6,531.258 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 <= 1733737255
	AND enddate >= 1733737255
	AND forumid IN (493,438,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.05326 seconds
Time After: 0.05346 seconds
Time Taken: 0.00020 seconds

Memory Before: 7,007.844 KB
Memory After: 7,008.602 KB
Memory Used: 0.758 KB

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

FROM thread AS thread


WHERE forumid = 493
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const449 

Time Before: 0.05397 seconds
Time After: 0.07483 seconds
Time Taken: 0.02086 seconds

Memory Before: 7,013.867 KB
Memory After: 7,014.922 KB
Memory Used: 1.055 KB

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

Time Before: 0.07514 seconds
Time After: 0.07546 seconds
Time Taken: 0.00032 seconds

Memory Before: 7,014.531 KB
Memory After: 7,015.758 KB
Memory Used: 1.227 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 = 493
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const449Using where

Time Before: 0.07578 seconds
Time After: 0.07600 seconds
Time Taken: 0.00022 seconds

Memory Before: 7,016.367 KB
Memory After: 7,018.359 KB
Memory Used: 1.992 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,523720,523261,523260,522621,520597,520432,519530,519584,517789,517673,516294,516067,515827,515593,506561,514204,510400,507421,507031,507032,205312,144354,180676,255909,180307) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 26Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4gentlemo_community.thread.firstpostid1 

Time Before: 0.07634 seconds
Time After: 0.07776 seconds
Time Taken: 0.00142 seconds

Memory Before: 7,018.789 KB
Memory After: 7,024.523 KB
Memory Used: 5.734 KB

SQL Query
UPDATE session
SET lastactivity = 1733737255, location = '/community/forumdisplay.php?f=493&explain=1', inforum = 493, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'b641822ccc68c7f6b57537b5dfb5bed3'

Time Before: 0.09691 seconds
Time After: 0.09737 seconds
Time Taken: 0.00046 seconds

Memory Before: 7,653.070 KB
Memory After: 7,653.234 KB
Memory Used: 0.164 KB

Page generated in 0.096215963363647 seconds with 15 queries, spending 0.037975788116455 doing MySQL queries and 0.058240175247192 doing PHP things.
Shutdown Queries:
DISABLED