SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('languages')
Run Time: 0.000493
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000403
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node_id
FROM xf_node
WHERE node_name = ?
Params: world-of-darkness
Run Time: 0.000345
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ref | node_name_unique | node_name_unique | 153 | const | 1 | Using where; Using index |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date,
0 AS forum_is_watched
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_name = ?
AND node.node_type_id = 'Forum'
Params: world-of-darkness
Run Time: 0.000542
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY,node_name_unique | node_name_unique | 180 | const,const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT COUNT(*)
FROM xf_thread AS thread
WHERE ((thread.node_id = 123) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible')))
Run Time: 0.000819
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_sticky_state_last_post | 6 | const,const,const | 487 | Using where; Using index |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
NULL AS thread_read_date,
0 AS thread_is_watched,
0 AS user_post_count,
social_forum.title AS social_forum_title, social_forum.user_id AS social_forum_user_id, social_forum.style_id AS social_forum_style_id
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_social_forum AS social_forum ON
(social_forum.social_forum_id = thread.social_forum_id)
WHERE ((thread.node_id = 123) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible')))
ORDER BY thread.last_post_date DESC
LIMIT 20 OFFSET 100
Run Time: 0.002532
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_sticky_state_last_post | 6 | const,const,const | 487 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.thread.user_id | 1 | |
SIMPLE | social_forum | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.thread.social_forum_id | 1 | Using where |
SELECT *
FROM xf_node
WHERE lft > ? AND rgt < ?
AND display_in_list = 1
ORDER BY lft ASC
Params: 182, 197
Run Time: 0.000950
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ref | display_in_list,lft | display_in_list | 1 | const | 153 | Using index condition; Using where |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000823
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 568 | Using where |
SELECT forum.*
,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE forum.node_id IN (127, 303, 126, 124, 304, 125, 305)
Run Time: 0.000584
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 7 | Using where; Using index |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.node.node_id | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date,
0 AS forum_is_watched
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_name = ?
AND node.node_type_id = 'Forum'
Params: world-of-darkness
Run Time: 0.000587
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY,node_name_unique | node_name_unique | 180 | const,const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: PrefixesThreadsCount123
Run Time: 0.000291
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
VALUES
(?, ?, ?, ?, ?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE
ip = VALUES(ip),
controller_name = VALUES(controller_name),
controller_action = VALUES(controller_action),
view_state = VALUES(view_state),
params = VALUES(params),
view_date = VALUES(view_date),
robot_key = VALUES(robot_key)
Params: 0, , , XenForo_ControllerPublic_Forum, Forum, valid, node_name=world-of-darkness&page=6, 1576496040,
Run Time: 0.000122
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 127)
ORDER BY user.username
Run Time: 0.000891
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 303)
ORDER BY user.username
Run Time: 0.000833
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 126)
ORDER BY user.username
Run Time: 0.000708
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 124)
ORDER BY user.username
Run Time: 0.000770
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 2 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 304)
ORDER BY user.username
Run Time: 0.000702
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 125)
ORDER BY user.username
Run Time: 0.000729
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 305)
ORDER BY user.username
Run Time: 0.000754
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT moderator_content.*, user.username
FROM xf_moderator_content AS moderator_content
INNER JOIN xf_user AS user ON (user.user_id = moderator_content.user_id)
WHERE (moderator_content.content_type = 'node') AND (moderator_content.content_id = 123)
ORDER BY user.username
Run Time: 0.000627
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator_content | ref | content_user_id,user_id | content_user_id | 31 | const,const | 1 | Using index condition; Using temporary; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.moderator_content.user_id | 1 | |
SELECT options.*, node.*,
permission.cache_value AS node_permission_cache
FROM nat_options AS options
INNER JOIN xf_node AS node
ON (node.node_id = options.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = options.node_id)
WHERE nat_display_tab = 1
ORDER BY options.nat_display_order
ASC
Params: 1
Run Time: 0.000634
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | options | ALL | node_id | | | | 176 | Using where; Using filesort |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.options.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,bs_xf.options.node_id | 1 | Using where |
SELECT node.*, COALESCE(options.nat_newwindow, 0) AS nat_newwindow,
permission.cache_value AS node_permission_cache
FROM xf_node AS node
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = ?
AND permission.content_type = 'node'
AND permission.content_id = node.node_id)
LEFT JOIN nat_options AS options ON (options.node_id = node.node_id)
WHERE node.node_id IN (288, 289, 290, 291)
ORDER BY node.lft
ASC
Params: 1
Run Time: 0.000448
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 4 | Using where; Using filesort |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,bs_xf.node.node_id | 1 | Using where |
SIMPLE | options | eq_ref | node_id | node_id | 4 | bs_xf.node.node_id | 1 | |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('events')
Params: 4
Run Time: 0.000141
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT prefix.*
,
fp.*
FROM xf_thread_prefix AS prefix
INNER JOIN xf_forum_prefix AS fp ON
(fp.prefix_id = prefix.prefix_id)
WHERE (fp.node_id = 123)
ORDER BY prefix.materialized_order
Run Time: 0.000799
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | fp | ref | PRIMARY,prefix_id | PRIMARY | 4 | const | 3 | Using index; Using temporary; Using filesort |
SIMPLE | prefix | eq_ref | PRIMARY | PRIMARY | 4 | bs_xf.fp.prefix_id | 1 | |