Including Functions.php

Time Before: 0.00362 seconds
Time After: 0.00969 seconds
Time Taken: 0.00606 seconds

Memory Before: 417.953 KB
Memory After: 426.602 KB
Memory Used: 8.648 KB

Connect to Database on Server: localhost

Time Before: 0.00981 seconds
Time After: 0.01022 seconds
Time Taken: 0.00040 seconds

Memory Before: 426.586 KB
Memory After: 427.547 KB
Memory Used: 0.961 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01038 seconds
Time After: 0.01045 seconds
Time Taken: 0.00007 seconds

Memory Before: 428.211 KB
Memory After: 428.781 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.01082 seconds
Time After: 0.01216 seconds
Time Taken: 0.00134 seconds

Memory Before: 431.656 KB
Memory After: 433.133 KB
Memory Used: 1.477 KB

Time Before: 0.01048 seconds
Time After: 0.02041 seconds
Time Taken: 0.00993 seconds

Memory Before: 428.023 KB
Memory After: 5,388.344 KB
Memory Used: 4,960.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.97.9.174'
	AND idhash = 'cafe753e855ff2939d0a288be7c544a4'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    735Using where

Time Before: 0.02150 seconds
Time After: 0.02222 seconds
Time Taken: 0.00071 seconds

Memory Before: 5,405.055 KB
Memory After: 5,406.375 KB
Memory Used: 1.320 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.02263 seconds
Time After: 0.02275 seconds
Time Taken: 0.00012 seconds

Memory Before: 5,416.172 KB
Memory After: 5,416.906 KB
Memory Used: 0.734 KB

Time Before: 0.02106 seconds
Time After: 0.02284 seconds
Time Taken: 0.00178 seconds

Memory Before: 5,399.820 KB
Memory After: 5,498.922 KB
Memory Used: 99.102 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.02437 seconds
Time After: 0.02444 seconds
Time Taken: 0.00008 seconds

Memory Before: 5,695.914 KB
Memory After: 5,697.203 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.02520 seconds
Time After: 0.02536 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,880.852 KB
Memory After: 5,883.070 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.02661 seconds
Time After: 0.02675 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,094.578 KB
Memory After: 6,095.703 KB
Memory Used: 1.125 KB

End call of global.php: 0.031496047973633
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.03521 seconds
Time After: 0.03531 seconds
Time Taken: 0.00010 seconds

Memory Before: 6,098.875 KB
Memory After: 6,119.258 KB
Memory Used: 20.383 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.03748 seconds
Time After: 0.03756 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,521.617 KB
Memory After: 6,531.336 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 <= 1733646845
	AND enddate >= 1733646845
	AND forumid IN (539,430,390,-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.04267 seconds
Time After: 0.04289 seconds
Time Taken: 0.00022 seconds

Memory Before: 7,008.023 KB
Memory After: 7,008.773 KB
Memory Used: 0.750 KB

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

FROM thread AS thread


WHERE forumid = 539
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const77 

Time Before: 0.04333 seconds
Time After: 0.04574 seconds
Time Taken: 0.00241 seconds

Memory Before: 7,013.961 KB
Memory After: 7,015.023 KB
Memory Used: 1.063 KB

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

Time Before: 0.04603 seconds
Time After: 0.04608 seconds
Time Taken: 0.00005 seconds

Memory Before: 7,014.594 KB
Memory After: 7,015.703 KB
Memory Used: 1.109 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 = 539
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const77Using where

Time Before: 0.04641 seconds
Time After: 0.04647 seconds
Time Taken: 0.00006 seconds

Memory Before: 7,016.422 KB
Memory After: 7,018.414 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,526990,527748,526165,522292,507693,496144,375365,459280,481542,467768,460254,462779,461633,461173,460802,447212,442192,391876,428916,429854,209900) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 22Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4gentlemo_community.thread.firstpostid1 

Time Before: 0.04687 seconds
Time After: 0.04694 seconds
Time Taken: 0.00007 seconds

Memory Before: 7,018.742 KB
Memory After: 7,023.641 KB
Memory Used: 4.898 KB

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

Time Before: 0.06677 seconds
Time After: 0.08772 seconds
Time Taken: 0.02094 seconds

Memory Before: 7,610.383 KB
Memory After: 7,610.547 KB
Memory Used: 0.164 KB

Page generated in 0.065921068191528 seconds with 15 queries, spending 0.026962518692017 doing MySQL queries and 0.038958549499512 doing PHP things.
Shutdown Queries:
DISABLED