Time Before: 0.00028 seconds
Time After: 0.00031 seconds
Time Taken: 0.00004 seconds
Memory Before: 428.734 KB
Memory After: 431.375 KB
Memory Used: 2.641 KB
Time Before: 0.00034 seconds
Time After: 0.00062 seconds
Time Taken: 0.00028 seconds
Memory Before: 431.328 KB
Memory After: 432.219 KB
Memory Used: 0.891 KB
SET @@sql_mode = ''
Time Before: 0.00080 seconds
Time After: 0.00087 seconds
Time Taken: 0.00007 seconds
Memory Before: 432.242 KB
Memory After: 432.297 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.00133 seconds
Time After: 0.00194 seconds
Time Taken: 0.00062 seconds
Memory Before: 433.570 KB
Memory After: 520.227 KB
Memory Used: 86.656 KB
Time Before: 0.00089 seconds
Time After: 0.00524 seconds
Time Taken: 0.00435 seconds
Memory Before: 432.086 KB
Memory After: 713.516 KB
Memory Used: 281.430 KB
SELECT * FROM session WHERE sessionhash = '600e908c3f52889e0ffcf9d77ccdda3f' AND lastactivity > 1735746537 AND idhash = 'e3d236b405efa1eb134c4c4fe1771c4c'
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.00570 seconds
Time After: 0.00586 seconds
Time Taken: 0.00016 seconds
Memory Before: 719.258 KB
Memory After: 735.945 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.00641 seconds
Time After: 0.00655 seconds
Time Taken: 0.00013 seconds
Memory Before: 726.672 KB
Memory After: 783.234 KB
Memory Used: 56.563 KB
Time Before: 0.00543 seconds
Time After: 0.00660 seconds
Time Taken: 0.00118 seconds
Memory Before: 717.000 KB
Memory After: 771.273 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.00858 seconds
Time After: 0.00865 seconds
Time Taken: 0.00007 seconds
Memory Before: 908.727 KB
Memory After: 957.289 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.00973 seconds
Time After: 0.01011 seconds
Time Taken: 0.00038 seconds
Memory Before: 1,034.016 KB
Memory After: 1,134.695 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.01131 seconds
Time After: 0.01138 seconds
Time Taken: 0.00007 seconds
Memory Before: 1,158.570 KB
Memory After: 1,183.742 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.01179 seconds
Time After: 0.01220 seconds
Time Taken: 0.00041 seconds
Memory Before: 1,170.719 KB
Memory After: 1,187.469 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 > 1735746537 ORDER BY username ASC, lastactivity DESC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | ALL | 539 | Using where; Using temporary; Using filesort | ||||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | pmorg.session.userid | 1 |
Time Before: 0.01282 seconds
Time After: 0.01470 seconds
Time Taken: 0.00188 seconds
Memory Before: 1,189.367 KB
Memory After: 1,293.289 KB
Memory Used: 103.922 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 <= 1735748337 AND enddate >= 1735748337 AND forumid IN (4,19,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.01674 seconds
Time After: 0.01735 seconds
Time Taken: 0.00062 seconds
Memory Before: 1,210.117 KB
Memory After: 1,225.719 KB
Memory Used: 15.602 KB
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1735748327 AND open <> 10, 1, 0)) AS newthread FROM thread AS thread WHERE forumid = 4 AND sticky = 0 AND visible = 1 AND lastpost >= 1733156337
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.01767 seconds
Time After: 0.01852 seconds
Time Taken: 0.00085 seconds
Memory Before: 1,227.336 KB
Memory After: 1,243.742 KB
Memory Used: 16.406 KB
SELECT thread.threadid, lastpost, open FROM thread AS thread WHERE forumid = 4 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.01874 seconds
Time After: 0.01924 seconds
Time Taken: 0.00050 seconds
Memory Before: 1,227.656 KB
Memory After: 1,243.695 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 = 4 AND sticky = 0 AND visible = 1 AND lastpost >= 1733156337 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.01949 seconds
Time After: 0.02029 seconds
Time Taken: 0.00080 seconds
Memory Before: 1,228.281 KB
Memory After: 1,244.195 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.02063 seconds
Time After: 0.02134 seconds
Time Taken: 0.00071 seconds
Memory Before: 1,229.250 KB
Memory After: 1,244.852 KB
Memory Used: 15.602 KB
UPDATE session SET lastactivity = 1735748337, location = '/board/forumdisplay.php?explain=1&f=4', inforum = 4 WHERE sessionhash = '600e908c3f52889e0ffcf9d77ccdda3f'
Time Before: 0.02241 seconds
Time After: 0.02254 seconds
Time Taken: 0.00013 seconds
Memory Before: 1,408.672 KB
Memory After: 1,408.547 KB
Memory Used: -0.125 KB