query |
execution time |
table(s) |
type |
possible keys |
key |
key length |
ref |
rows |
extra |
SELECT m.*, s.skin_dir FROM mb_users m, mb_skins s WHERE m.UID=1 AND s.skin_dir=m.Skin |
0.00021696 |
mb_users |
system |
PRIMARY |
|
|
|
1 |
|
SELECT DISTINCT perms_perm, perms_forum_id FROM mb_perms WHERE perms_group_id=3 OR perms_user_id=1 |
0.00012398 |
mb_perms |
ALL |
|
|
|
|
204 |
Using where; Using temporary |
SELECT template_name, template_html FROM mb_templates WHERE template_skin='default' AND (template_set='Main' OR template_set='forum') |
0.00019789 |
mb_templates |
range |
Section |
Section |
56 |
|
13 |
Using where |
SELECT * FROM mb_replacements |
9.99E-5 |
mb_replacements |
ALL |
|
|
|
|
15 |
|
REPLACE INTO mb_active (active_id, active_name, active_action, active_time, active_is_member, active_ip, active_user_agent) VALUES (1, 'Guest', 'forum', 1716084976, 0, '3.145.107.130', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)') |
1.001E-5 |
|
|
|
|
|
|
|
|
SELECT forum_parent FROM mb_forums WHERE forum_id=9 |
0.00013494 |
mb_forums |
const |
PRIMARY |
PRIMARY |
2 |
const |
1 |
|
SELECT COUNT(TID) AS count FROM mb_topics WHERE Forum=9 |
0.0001421 |
mb_topics |
ref |
Forum |
Forum |
2 |
const |
8 |
|
SELECT
f.forum_id, f.forum_parent, f.forum_name, f.Position, f.Description, f.Topics, f.Replies, f.forum_lastpost,
t.TID as LastTopicID, t.Title as LastPost, t.Edited as LastTime,
m.Name as LastPoster, m.UID as LastPosterID
FROM mb_forums f
LEFT JOIN mb_posts p ON p.post_id = f.forum_lastpost
LEFT JOIN mb_topics t ON t.TID = p.Topic
LEFT JOIN mb_users m ON m.UID = p.post_author
WHERE f.forum_parent=9
ORDER BY f.forum_parent, f.Position |
0.000211 |
mb_forums |
ref |
Parent |
Parent |
2 |
const |
1 |
Using where; Using filesort |
SELECT forum_id, forum_parent, Tree, forum_name, Position
FROM mb_forums
ORDER BY Position ASC |
9.99E-5 |
mb_forums |
ALL |
|
|
|
|
7 |
Using filesort |
SELECT
t.TID, t.Title, t.last_poster, t.StarterID, t.Replies, t.modes,
t.Edited, t.Icon, t.Views, t.Description, t.moved,
s.Name AS topic_starter, m.Name AS last_poster_name
FROM mb_topics t, mb_users m, mb_users s
WHERE
t.Forum=9 AND
m.UID=t.last_poster AND
s.UID=t.StarterID
ORDER BY
(t.modes & 16) DESC,
t.Edited DESC
LIMIT
0, 20 |
0.00040889 |
mb_topics |
ref |
Forum |
Forum |
2 |
const |
8 |
Using where; Using filesort |
SELECT Tree, forum_id, forum_name FROM mb_forums ORDER BY forum_id |
0.00011301 |
mb_forums |
ALL |
|
|
|
|
7 |
Using filesort |