Time Before: 0.00055 seconds
Time After: 0.00064 seconds
Time Taken: 0.00009 seconds
Memory Before: 434.203 KB
Memory After: 444.258 KB
Memory Used: 10.055 KB
Time Before: 0.00071 seconds
Time After: 0.03607 seconds
Time Taken: 0.03536 seconds
Memory Before: 444.195 KB
Memory After: 445.109 KB
Memory Used: 0.914 KB
SELECT * FROM datastore WHERE title IN ('attachmentcache','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | datastore | range | PRIMARY | PRIMARY | 52 | 8 | 100.00 | Using index condition |
Time Before: 0.05566 seconds
Time After: 0.05933 seconds
Time Taken: 0.00367 seconds
Memory Before: 941.891 KB
Memory After: 942.719 KB
Memory Used: 0.828 KB
Time Before: 0.03618 seconds
Time After: 0.05955 seconds
Time Taken: 0.02337 seconds
Memory Before: 444.813 KB
Memory After: 972.914 KB
Memory Used: 528.102 KB
SELECT * FROM session WHERE sessionhash = '830678c1e97c54167f80813cb93712ab' AND lastactivity > 1717221643 AND idhash = '534617a42889244cd617b83be62d1421'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | const | PRIMARY | PRIMARY | 34 | const | 1 | 100.00 |
Time Before: 0.06774 seconds
Time After: 0.07268 seconds
Time Taken: 0.00494 seconds
Memory Before: 990.563 KB
Memory After: 991.125 KB
Memory Used: 0.563 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | language | system | PRIMARY | 1 | 100.00 |
Time Before: 0.07986 seconds
Time After: 0.08093 seconds
Time Taken: 0.00107 seconds
Memory Before: 1,001.492 KB
Memory After: 1,001.492 KB
Memory Used: 0.000 KB
Time Before: 0.05979 seconds
Time After: 0.10339 seconds
Time Taken: 0.04360 seconds
Memory Before: 985.250 KB
Memory After: 1,042.891 KB
Memory Used: 57.641 KB
SELECT * FROM style WHERE (styleid = 5 AND userselect = 1) OR styleid = 5 ORDER BY styleid ASC LIMIT 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | style | const | PRIMARY | PRIMARY | 2 | const | 1 | 100.00 |
Time Before: 0.15945 seconds
Time After: 0.16279 seconds
Time Taken: 0.00334 seconds
Memory Before: 1,184.406 KB
Memory After: 1,184.992 KB
Memory Used: 0.586 KB
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)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | template | range | PRIMARY | PRIMARY | 4 | 48 | 100.00 | Using index condition |
Time Before: 0.18288 seconds
Time After: 0.18607 seconds
Time Taken: 0.00319 seconds
Memory Before: 1,369.531 KB
Memory After: 1,370.914 KB
Memory Used: 1.383 KB
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid FROM forum AS forum
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | forum | ALL | 26 | 100.00 |
Time Before: 0.26122 seconds
Time After: 0.27350 seconds
Time Taken: 0.01228 seconds
Memory Before: 1,554.797 KB
Memory After: 1,557.461 KB
Memory Used: 2.664 KB
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)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | moderator | ALL | userid_forumid | 40 | 100.00 | |||||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.moderator.userid | 1 | 100.00 |
Time Before: 0.29343 seconds
Time After: 0.30143 seconds
Time Taken: 0.00800 seconds
Memory Before: 1,608.047 KB
Memory After: 1,611.250 KB
Memory Used: 3.203 KB
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 > 1717221643 ORDER BY username ASC, lastactivity DESC
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | ALL | 22643 | 33.33 | Using where; Using temporary; Using filesort | |||||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.session.userid | 1 | 100.00 |
Time Before: 0.34790 seconds
Time After: 0.51543 seconds
Time Taken: 0.16753 seconds
Memory Before: 1,711.555 KB
Memory After: 2,798.141 KB
Memory Used: 1,086.586 KB
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 <= 1717225243 AND enddate >= 1717225243 AND forumid IN (2,1,-1) ORDER BY startdate DESC, announcement.announcementid DESC LIMIT 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | announcement | range | forumid,enddate | enddate | 6 | 1 | 26.66 | Using index condition; Using filesort | ||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.announcement.userid | 1 | 100.00 |
Time Before: 2.26359 seconds
Time After: 2.27266 seconds
Time Taken: 0.00907 seconds
Memory Before: 1,742.750 KB
Memory After: 1,742.813 KB
Memory Used: 0.063 KB
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1717225105 AND open <> 10, 1, 0)) AS newthread FROM thread AS thread WHERE forumid = 2 AND sticky = 0 AND visible = 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | ref | forumid,catorder | forumid | 6 | const,const,const | 2842 | 100.00 |
Time Before: 2.27940 seconds
Time After: 2.28931 seconds
Time Taken: 0.00992 seconds
Memory Before: 1,749.023 KB
Memory After: 1,749.438 KB
Memory Used: 0.414 KB
SELECT thread.threadid, lastpost, open FROM thread AS thread WHERE forumid = 2 AND sticky = 1 AND visible = 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | ref | forumid,catorder | forumid | 6 | const,const,const | 1 | 100.00 |
Time Before: 2.29967 seconds
Time After: 2.31602 seconds
Time Taken: 0.01635 seconds
Memory Before: 1,749.641 KB
Memory After: 1,750.070 KB
Memory Used: 0.430 KB
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 2880, 20
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | ref | forumid,catorder | forumid | 6 | const,const,const | 2842 | 100.00 | Using where |
Time Before: 2.32949 seconds
Time After: 2.37258 seconds
Time Taken: 0.04309 seconds
Memory Before: 1,751.406 KB
Memory After: 1,752.758 KB
Memory Used: 1.352 KB
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,99,68,83,122,106,93,46,80,82,62,60,3,13,10,14,58,43,53,45,30) ORDER BY sticky DESC, lastpost DESC
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | 21 | 100.00 | Using index condition; Using filesort | ||
1 | SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.thread.firstpostid | 1 | 100.00 |
Time Before: 2.39681 seconds
Time After: 2.41268 seconds
Time Taken: 0.01587 seconds
Memory Before: 1,753.422 KB
Memory After: 1,757.406 KB
Memory Used: 3.984 KB
UPDATE session SET lastactivity = 1717225243, location = '/forumdisplay.php?daysprune=-1&explain=1&f=2&page=145&pp=20', inforum = 2, inthread = 0, incalendar = 0, badlocation = 0 WHERE sessionhash = '830678c1e97c54167f80813cb93712ab'
Time Before: 2.64500 seconds
Time After: 2.69658 seconds
Time Taken: 0.05157 seconds
Memory Before: 2,313.906 KB
Memory After: 2,314.055 KB
Memory Used: 0.148 KB