Time Before: 0.00038 seconds
Time After: 0.00041 seconds
Time Taken: 0.00003 seconds
Memory Before: 428.391 KB
Memory After: 431.031 KB
Memory Used: 2.641 KB
Time Before: 0.00045 seconds
Time After: 0.00070 seconds
Time Taken: 0.00025 seconds
Memory Before: 430.984 KB
Memory After: 431.875 KB
Memory Used: 0.891 KB
SET @@sql_mode = ''
Time Before: 0.00123 seconds
Time After: 0.00132 seconds
Time Taken: 0.00009 seconds
Memory Before: 431.898 KB
Memory After: 431.953 KB
Memory Used: 0.055 KB
SELECT * FROM datastore WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | datastore | range | PRIMARY | PRIMARY | 152 | 17 | Using where |
Time Before: 0.00176 seconds
Time After: 0.00195 seconds
Time Taken: 0.00019 seconds
Memory Before: 433.227 KB
Memory After: 519.883 KB
Memory Used: 86.656 KB
Time Before: 0.00134 seconds
Time After: 0.00520 seconds
Time Taken: 0.00386 seconds
Memory Before: 431.742 KB
Memory After: 713.172 KB
Memory Used: 281.430 KB
SELECT * FROM session WHERE sessionhash = 'f21cafdf45d48383fa296127ae6dd0c8' AND lastactivity > 1732198824 AND idhash = 'cb024518976256cc69ac5df4f8dcd59a'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | const | PRIMARY | PRIMARY | 98 | const | 1 |
Time Before: 0.00573 seconds
Time After: 0.00593 seconds
Time Taken: 0.00020 seconds
Memory Before: 718.914 KB
Memory After: 735.602 KB
Memory Used: 16.688 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 | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | language | system | PRIMARY | 1 |
Time Before: 0.00781 seconds
Time After: 0.00789 seconds
Time Taken: 0.00008 seconds
Memory Before: 726.328 KB
Memory After: 782.891 KB
Memory Used: 56.563 KB
Time Before: 0.00539 seconds
Time After: 0.00795 seconds
Time Taken: 0.00256 seconds
Memory Before: 716.656 KB
Memory After: 770.930 KB
Memory Used: 54.273 KB
SELECT * FROM style WHERE (styleid = 6 AND userselect = 1) OR styleid = 6 ORDER BY styleid ASC LIMIT 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | style | const | PRIMARY | PRIMARY | 2 | const | 1 |
Time Before: 0.00950 seconds
Time After: 0.00957 seconds
Time Taken: 0.00007 seconds
Memory Before: 908.383 KB
Memory After: 956.945 KB
Memory Used: 48.563 KB
SELECT title, template FROM template WHERE templateid IN (17412,17501,17857,17859,17858,17512,17509,17511,17508,17510,17516,17518,17502,17515,17503,17504,17517,17519,17514,17908,17918,17847,11515,10694,17912,17415,17414,17416,17411,17410,17687,9293,17639,17640,17641,17907,17910,17919,17660,17661,17662,17663,17861,17924,17923,17925,17928)
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | template | range | PRIMARY | PRIMARY | 4 | 47 | Using where |
Time Before: 0.01066 seconds
Time After: 0.01078 seconds
Time Taken: 0.00012 seconds
Memory Before: 1,033.672 KB
Memory After: 1,134.352 KB
Memory Used: 100.680 KB
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid FROM forum AS forum
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | forum | ALL | 26 |
Time Before: 0.01208 seconds
Time After: 0.01215 seconds
Time Taken: 0.00006 seconds
Memory Before: 1,159.133 KB
Memory After: 1,184.305 KB
Memory Used: 25.172 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 | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | moderator | ALL | userid_forumid | 5 | ||||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | pmorg.moderator.userid | 1 |
Time Before: 0.01257 seconds
Time After: 0.01359 seconds
Time Taken: 0.00103 seconds
Memory Before: 1,171.281 KB
Memory After: 1,188.031 KB
Memory Used: 16.750 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 > 1732198824 ORDER BY username ASC, lastactivity DESC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | ALL | 1337 | Using where; Using temporary; Using filesort | ||||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | pmorg.session.userid | 1 |
Time Before: 0.01425 seconds
Time After: 0.01859 seconds
Time Taken: 0.00435 seconds
Memory Before: 1,189.797 KB
Memory After: 1,397.875 KB
Memory Used: 208.078 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 <= 1732200624 AND enddate >= 1732200624 AND forumid IN (2,15,-1) ORDER BY startdate DESC, announcement.announcementid DESC LIMIT 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | announcement | range | forumid,enddate | enddate | 6 | 1 | Using where; Using filesort | |
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | pmorg.announcement.userid | 1 |
Time Before: 0.02092 seconds
Time After: 0.02175 seconds
Time Taken: 0.00084 seconds
Memory Before: 1,210.547 KB
Memory After: 1,226.148 KB
Memory Used: 15.602 KB
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1732200614 AND open <> 10, 1, 0)) AS newthread FROM thread AS thread WHERE forumid = 2 AND sticky = 0 AND visible = 1 AND lastpost >= 1729608624
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | range | forumid,lastpost | forumid | 10 | 1 | Using where |
Time Before: 0.02239 seconds
Time After: 0.02296 seconds
Time Taken: 0.00057 seconds
Memory Before: 1,227.766 KB
Memory After: 1,244.172 KB
Memory Used: 16.406 KB
SELECT thread.threadid, lastpost, open FROM thread AS thread WHERE forumid = 2 AND sticky = 1 AND visible = 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | ref | forumid | forumid | 6 | const,const,const | 1 |
Time Before: 0.02325 seconds
Time After: 0.02352 seconds
Time Taken: 0.00027 seconds
Memory Before: 1,228.086 KB
Memory After: 1,244.125 KB
Memory Used: 16.039 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 AND lastpost >= 1729608624 ORDER BY sticky DESC, lastpost DESC LIMIT 0, 20
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | range | forumid,lastpost | forumid | 10 | 1 | Using where |
Time Before: 0.02379 seconds
Time After: 0.02415 seconds
Time Taken: 0.00037 seconds
Memory Before: 1,228.711 KB
Memory After: 1,244.625 KB
Memory Used: 15.914 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) ORDER BY sticky DESC, lastpost DESC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.02444 seconds
Time After: 0.02472 seconds
Time Taken: 0.00028 seconds
Memory Before: 1,229.680 KB
Memory After: 1,245.281 KB
Memory Used: 15.602 KB
UPDATE session SET lastactivity = 1732200624, location = '/board/forumdisplay.php?explain=1&f=2', inforum = 2 WHERE sessionhash = 'f21cafdf45d48383fa296127ae6dd0c8'
Time Before: 0.02587 seconds
Time After: 0.02610 seconds
Time Taken: 0.00023 seconds
Memory Before: 1,409.094 KB
Memory After: 1,408.969 KB
Memory Used: -0.125 KB