Including Functions.php

Time Before: 0.00124 seconds
Time After: 0.00133 seconds
Time Taken: 0.00010 seconds

Memory Before: 432.234 KB
Memory After: 442.289 KB
Memory Used: 10.055 KB

Connect to Database on Server: localhost

Time Before: 0.00138 seconds
Time After: 0.00421 seconds
Time Taken: 0.00283 seconds

Memory Before: 442.227 KB
Memory After: 443.141 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.02804 seconds
Time After: 0.03431 seconds
Time Taken: 0.00627 seconds

Memory Before: 939.898 KB
Memory After: 940.727 KB
Memory Used: 0.828 KB

Time Before: 0.00789 seconds
Time After: 0.03792 seconds
Time Taken: 0.03003 seconds

Memory Before: 442.844 KB
Memory After: 970.922 KB
Memory Used: 528.078 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.135.221.151'
	AND idhash = '6d478ef262e5952903ab322570b5d64b'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    241920.10Using where

Time Before: 0.04297 seconds
Time After: 0.04851 seconds
Time Taken: 0.00554 seconds

Memory Before: 988.391 KB
Memory After: 988.828 KB
Memory Used: 0.438 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.05463 seconds
Time After: 0.05517 seconds
Time Taken: 0.00054 seconds

Memory Before: 1,000.305 KB
Memory After: 1,000.305 KB
Memory Used: 0.000 KB

Time Before: 0.03811 seconds
Time After: 0.05532 seconds
Time Taken: 0.01721 seconds

Memory Before: 983.203 KB
Memory After: 1,041.367 KB
Memory Used: 58.164 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.08243 seconds
Time After: 0.08422 seconds
Time Taken: 0.00179 seconds

Memory Before: 1,180.984 KB
Memory After: 1,181.570 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.10555 seconds
Time After: 0.10797 seconds
Time Taken: 0.00242 seconds

Memory Before: 1,366.094 KB
Memory After: 1,367.477 KB
Memory Used: 1.383 KB

End call of global.php: 0.11008310317993
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.16969 seconds
Time After: 0.17112 seconds
Time Taken: 0.00142 seconds

Memory Before: 1,551.383 KB
Memory After: 1,554.047 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.17722 seconds
Time After: 0.18266 seconds
Time Taken: 0.00544 seconds

Memory Before: 1,604.641 KB
Memory After: 1,607.844 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 > 1716633236
ORDER BY username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    2419233.33Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4psfantasy-forums.session.userid1100.00 

Time Before: 0.22475 seconds
Time After: 0.40309 seconds
Time Taken: 0.17834 seconds

Memory Before: 1,708.125 KB
Memory After: 3,014.156 KB
Memory Used: 1,306.031 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 <= 1716636836
	AND enddate >= 1716636836
	AND forumid IN (2,1,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEannouncement rangeforumid,enddateenddate6 126.66Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4psfantasy-forums.announcement.userid1100.00 

Time Before: 2.37598 seconds
Time After: 2.38786 seconds
Time Taken: 0.01188 seconds

Memory Before: 1,739.305 KB
Memory After: 1,739.367 KB
Memory Used: 0.063 KB

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

FROM thread AS thread


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

Time Before: 2.39229 seconds
Time After: 2.40493 seconds
Time Taken: 0.01264 seconds

Memory Before: 1,745.578 KB
Memory After: 1,745.992 KB
Memory Used: 0.414 KB

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

Time Before: 2.40825 seconds
Time After: 2.40841 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,746.195 KB
Memory After: 1,746.625 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 = 2
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 220, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,catorderforumid6const,const,const2842100.00Using where

Time Before: 2.40880 seconds
Time After: 2.40949 seconds
Time Taken: 0.00070 seconds

Memory Before: 1,747.961 KB
Memory After: 1,749.313 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,9142,9185,9176,9175,9179,9173,9171,9161,9163,9134,9160,9159,9146,9148,9147,9131,9141,9140,9132,9137) 
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: 2.41003 seconds
Time After: 2.41233 seconds
Time Taken: 0.00230 seconds

Memory Before: 1,750.133 KB
Memory After: 1,754.078 KB
Memory Used: 3.945 KB

PsFantasy.com Forums Database Error
Database Error Database error
The PsFantasy.com Forums database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the forums.psfantasy.com home page, then try to open another page.
  • Click the Back button to try another link.
The forums.psfantasy.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.