Including Functions.php

Time Before: 0.00092 seconds
Time After: 0.00108 seconds
Time Taken: 0.00015 seconds

Memory Before: 428.734 KB
Memory After: 438.789 KB
Memory Used: 10.055 KB

Connect to Database on Server: localhost

Time Before: 0.00114 seconds
Time After: 0.00185 seconds
Time Taken: 0.00071 seconds

Memory Before: 438.727 KB
Memory After: 439.641 KB
Memory Used: 0.914 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('attachmentcache','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY52 8100.00Using index condition

Time Before: 0.00343 seconds
Time After: 0.00366 seconds
Time Taken: 0.00024 seconds

Memory Before: 936.414 KB
Memory After: 937.242 KB
Memory Used: 0.828 KB

Time Before: 0.00215 seconds
Time After: 0.00382 seconds
Time Taken: 0.00167 seconds

Memory Before: 439.344 KB
Memory After: 967.445 KB
Memory Used: 528.102 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.191.46.36'
	AND idhash = '89cf947b0432fc9f72ce6b9597e10218'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    10110.10Using where

Time Before: 0.00451 seconds
Time After: 0.00611 seconds
Time Taken: 0.00160 seconds

Memory Before: 984.789 KB
Memory After: 985.391 KB
Memory Used: 0.602 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.00712 seconds
Time After: 0.00770 seconds
Time Taken: 0.00059 seconds

Memory Before: 995.867 KB
Memory After: 995.867 KB
Memory Used: 0.000 KB

Time Before: 0.00410 seconds
Time After: 0.00790 seconds
Time Taken: 0.00379 seconds

Memory Before: 979.625 KB
Memory After: 1,037.258 KB
Memory Used: 57.633 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 5 AND userselect = 1)
	OR styleid = 5
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.00989 seconds
Time After: 0.01023 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,178.742 KB
Memory After: 1,179.328 KB
Memory Used: 0.586 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (18403,18492,18848,18850,18849,18503,18500,18502,18499,18501,18507,18509,18493,18506,18494,18495,18508,18510,18505,15976,18909,18838,10350,7917,14226,18406,18405,18407,18402,18401,18678,14225,7055,18631,18632,18898,18901,18910,18651,18652,18653,18654,18852,18915,18914,18916,18919,18925)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 48100.00Using index condition

Time Before: 0.01139 seconds
Time After: 0.01261 seconds
Time Taken: 0.00121 seconds

Memory Before: 1,363.859 KB
Memory After: 1,365.242 KB
Memory Used: 1.383 KB

End call of global.php: 0.015422105789185
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM forum AS forum
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    26100.00 

Time Before: 0.01607 seconds
Time After: 0.01628 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,549.953 KB
Memory After: 1,552.617 KB
Memory Used: 2.664 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEmoderator ALLuserid_forumid   40100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4psfantasy-forums.moderator.userid1100.00 

Time Before: 0.01731 seconds
Time After: 0.01786 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,603.156 KB
Memory After: 1,606.359 KB
Memory Used: 3.203 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 > 1713579344
ORDER BY username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    101133.33Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4psfantasy-forums.session.userid1100.00 

Time Before: 0.01901 seconds
Time After: 0.02347 seconds
Time Taken: 0.00446 seconds

Memory Before: 1,706.750 KB
Memory After: 1,780.055 KB
Memory Used: 73.305 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 <= 1713582944
	AND enddate >= 1713582944
	AND forumid IN (11,8,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEannouncement rangeforumid,enddateenddate6 124.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4psfantasy-forums.announcement.userid1100.00 

Time Before: 0.02794 seconds
Time After: 0.02819 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,738.023 KB
Memory After: 1,738.078 KB
Memory Used: 0.055 KB

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

FROM thread AS thread


WHERE forumid = 11
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,catorderforumid6const,const,const797100.00 

Time Before: 0.02864 seconds
Time After: 0.03102 seconds
Time Taken: 0.00238 seconds

Memory Before: 1,744.281 KB
Memory After: 1,744.695 KB
Memory Used: 0.414 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 11
	AND sticky = 1
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,catorderforumid6const,const,const1100.00 

Time Before: 0.03143 seconds
Time After: 0.03159 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,744.898 KB
Memory After: 1,745.328 KB
Memory Used: 0.430 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 = 11
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,catorderforumid6const,const,const797100.00Using where

Time Before: 0.03198 seconds
Time After: 0.03223 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,746.664 KB
Memory After: 1,748.016 KB
Memory Used: 1.352 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,12315,9502,9600,9598,9565,9073,9519,9522,9518,9513,9237,8698,9429,9448,9414,9408,9387,9150,9357,9042) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 21100.00Using index condition; Using filesort
1SIMPLEpost eq_refPRIMARYPRIMARY4psfantasy-forums.thread.firstpostid1100.00 

Time Before: 0.03285 seconds
Time After: 0.03352 seconds
Time Taken: 0.00067 seconds

Memory Before: 1,748.836 KB
Memory After: 1,752.781 KB
Memory Used: 3.945 KB

SQL Query
UPDATE session
SET lastactivity = 1713582944, location = '/forumdisplay.php?f=11&explain=1', inforum = 11, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '7461272f14fa6c084d4daa186c812eab'

Time Before: 0.04931 seconds
Time After: 0.04958 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,327.766 KB
Memory After: 2,327.945 KB
Memory Used: 0.180 KB

Page generated in 0.048135995864868 seconds with 14 queries, spending 0.013876914978027 doing MySQL queries and 0.034259080886841 doing PHP things.
Shutdown Queries:
DISABLED