Time Before: 0.00021 seconds
Time After: 0.00024 seconds
Time Taken: 0.00003 seconds
Memory Before: 475.781 KB
Memory After: 477.680 KB
Memory Used: 1.898 KB
Time Before: 0.00028 seconds
Time After: 0.00082 seconds
Time Taken: 0.00054 seconds
Memory Before: 477.633 KB
Memory After: 478.398 KB
Memory Used: 0.766 KB
SET @@sql_mode = ''
Time Before: 0.00112 seconds
Time After: 0.00130 seconds
Time Taken: 0.00018 seconds
Memory Before: 478.422 KB
Memory After: 478.500 KB
Memory Used: 0.078 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 | 200 | 17 | Using where |
Time Before: 0.00186 seconds
Time After: 0.00236 seconds
Time Taken: 0.00050 seconds
Memory Before: 479.750 KB
Memory After: 527.992 KB
Memory Used: 48.242 KB
Time Before: 0.00135 seconds
Time After: 0.00421 seconds
Time Taken: 0.00286 seconds
Memory Before: 478.258 KB
Memory After: 639.914 KB
Memory Used: 161.656 KB
SELECT sessionhash, lastactivity FROM session WHERE userid = 0 AND host = '216.73.216.218' AND idhash = 'ea5a359a73a8141a16de516480d33c34' ORDER BY lastactivity DESC LIMIT 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | session | ref | guest_lookup,userid_lastactivity | guest_lookup | 314 | const,const,const | 1 | Using index condition; Using where; Using filesort |
Time Before: 0.00549 seconds
Time After: 0.00585 seconds
Time Taken: 0.00036 seconds
Memory Before: 657.008 KB
Memory After: 673.328 KB
Memory Used: 16.320 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 | const | PRIMARY | PRIMARY | 2 | const | 1 |
Time Before: 0.00645 seconds
Time After: 0.00687 seconds
Time Taken: 0.00042 seconds
Memory Before: 662.680 KB
Memory After: 863.039 KB
Memory Used: 200.359 KB
Time Before: 0.00430 seconds
Time After: 0.00702 seconds
Time Taken: 0.00272 seconds
Memory Before: 642.063 KB
Memory After: 759.203 KB
Memory Used: 117.141 KB
SELECT * FROM style WHERE (styleid = 1 AND userselect = 1) OR styleid = 1 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.00907 seconds
Time After: 0.00941 seconds
Time Taken: 0.00034 seconds
Memory Before: 912.961 KB
Memory After: 1,001.281 KB
Memory Used: 88.320 KB
SELECT forum.forumid, lastpost, lastposter, lastposterid, 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 | 2 |
Time Before: 0.01175 seconds
Time After: 0.01199 seconds
Time Taken: 0.00024 seconds
Memory Before: 1,090.742 KB
Memory After: 1,107.078 KB
Memory Used: 16.336 KB
SELECT user.userid as userid, user.username as username, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline, customavatar.width, customavatar.height, customavatar.width_thumb, customavatar.height_thumb FROM user AS user LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid WHERE user.userid IN (233)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | avatar | const | PRIMARY | PRIMARY | 2 | const | 0 | Unique row not found |
| 1 | SIMPLE | customavatar | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
Time Before: 0.01249 seconds
Time After: 0.01278 seconds
Time Taken: 0.00029 seconds
Memory Before: 1,111.844 KB
Memory After: 1,127.539 KB
Memory Used: 15.695 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 | 2 | ||||
| 1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.moderator.userid | 1 |
Time Before: 0.01331 seconds
Time After: 0.01363 seconds
Time Taken: 0.00032 seconds
Memory Before: 1,095.031 KB
Memory After: 1,110.992 KB
Memory Used: 15.961 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 <= 1795834789 AND enddate >= 1795834789 AND forumid IN (2,1,-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,startdate | startdate | 6 | 1 | Using index condition; Using filesort | |
| 1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.announcement.userid | 1 |
Time Before: 0.01447 seconds
Time After: 0.01485 seconds
Time Taken: 0.00038 seconds
Memory Before: 1,121.359 KB
Memory After: 1,136.914 KB
Memory Used: 15.555 KB
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1795834782 AND open <> 10, 1, 0)) AS newthread FROM thread AS thread WHERE forumid = 2 AND sticky = 0 AND visible = 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | thread | ALL | forumid | 46 | Using where |
Time Before: 0.01525 seconds
Time After: 0.01559 seconds
Time Taken: 0.00034 seconds
Memory Before: 1,138.813 KB
Memory After: 1,155.133 KB
Memory Used: 16.320 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.01593 seconds
Time After: 0.01619 seconds
Time Taken: 0.00026 seconds
Memory Before: 1,139.219 KB
Memory After: 1,155.211 KB
Memory Used: 15.992 KB
SELECT thread.threadid, thread.lastpost, thread.lastposter, thread.lastposterid, 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 0, 20
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | thread | range | forumid | forumid | 6 | 18 | Using where |
Time Before: 0.01656 seconds
Time After: 0.01695 seconds
Time Taken: 0.00039 seconds
Memory Before: 1,139.844 KB
Memory After: 1,156.023 KB
Memory Used: 16.180 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.lastposterid, 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,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,1) ORDER BY sticky DESC, lastpost DESC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | thread | ALL | PRIMARY | 46 | Using where; Using filesort | |||
| 1 | SIMPLE | post | eq_ref | PRIMARY,post_postid_threadid | PRIMARY | 4 | vbsupport_vb3.thread.firstpostid | 1 |
Time Before: 0.01741 seconds
Time After: 0.01801 seconds
Time Taken: 0.00059 seconds
Memory Before: 1,141.125 KB
Memory After: 1,172.742 KB
Memory Used: 31.617 KB
SELECT user.userid as userid, user.username as username, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline, customavatar.width, customavatar.height, customavatar.width_thumb, customavatar.height_thumb FROM user AS user LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid WHERE user.userid IN (233,228,208,183,190,189,188,185,184,182,180,177,174,167,168,1)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | user | range | PRIMARY | PRIMARY | 4 | 16 | Using where | |
| 1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | vbsupport_vb3.user.avatarid | 1 | Using where |
| 1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.user.userid | 1 |
Time Before: 0.01849 seconds
Time After: 0.01887 seconds
Time Taken: 0.00038 seconds
Memory Before: 1,226.688 KB
Memory After: 1,242.742 KB
Memory Used: 16.055 KB