SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.001409
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000181
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
last_post_user.gender AS last_post_gender,
last_post_user.avatar_date AS last_post_avatar_date,
last_post_user.gravatar AS last_post_gravatar,
IF(last_post_user.username IS NULL, thread.last_post_username, last_post_user.username) AS last_post_username,
node.title AS node_title, node.node_name,
forum.*,
forum.last_post_id AS forum_last_post_id,
forum.last_post_date AS forum_last_post_date,
forum.last_post_user_id AS forum_last_post_user_id,
forum.last_post_username AS forum_last_post_username,
forum.last_thread_title AS forum_last_thread_title,
thread.last_post_id,
thread.last_post_date,
thread.last_post_user_id,
thread.last_post_username,
NULL AS thread_read_date,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread FORCE INDEX (last_post_date)
LEFT JOIN xf_user AS last_post_user ON
(last_post_user.user_id = thread.last_post_user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_forum AS forum ON
(forum.node_id = thread.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 = thread.node_id)
WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1713112777) AND (forum.find_new = 1)
ORDER BY thread.last_post_date DESC
LIMIT 10
Run Time: 0.001299
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | last_post_date | last_post_date | 4 | | 1 | Using where |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.node_id | 1 | Using where |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,krishka_ru.thread.node_id | 1 | Using where |
SIMPLE | last_post_user | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.last_post_user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.node_id | 1 | |
SELECT *
FROM xf_node
WHERE display_in_list = 1
ORDER BY lft ASC
Run Time: 0.000283
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | display_in_list | | | | 37 | Using where; Using filesort |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000323
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 36 | 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 (17, 18, 33, 34, 36, 3, 2, 19, 20, 21, 22, 23, 24, 25, 26, 27, 6, 30, 7, 8, 9, 10, 31, 37, 11, 12, 13, 14, 15, 32, 29)
Run Time: 0.000370
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 32 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.forum.node_id | 1 | Using index |
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1715703877)
ORDER BY session_activity.view_date DESC
Run Time: 0.000667
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | system | view_date | | | | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000301
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 96798537188201ed534dacaea891d4d4, , 1715708377
Run Time: 0.000528
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, Index, valid, node_name=, 1715704777,
Run Time: 0.000369
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'node_forum_level_2', 'node_category_level_1', 'node_forum_level_n', 'wf_widget_wrapper', 'wf_widget_threads', 'wf_widget_poll', 'wf_widget_stats', 'wf_widget_online_users', 'forum_list', 'notice_cookies', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.001551
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 14 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('mkdg_extra_style')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000213
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc__1_forum_list')
Run Time: 0.000352
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc__1_forum_list_lock')
Run Time: 0.000287
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_forum_list_lock, a:1:{s:18:"forum_list_lock_64";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1715704777;}}
Run Time: 0.000424
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE (thread.node_id IN ('78', '215', '103', '168', '143', '190', '144', '191', '104', '171', '210', '212', '164', '163', '211', '165', '169', '62', '174', '166', '194', '207', '120', '21', '53', '4', '55', '184', '185', '186', '187', '188', '98', '35', '108', '192', '109', '110', '111', '112', '150', '151', '113', '114', '202', '203', '115', '116', '86', '117', '118', '119', '149', '71', '6', '89', '156', '159', '5', '146', '88', '58', '38', '39', '40', '41', '42', '43', '44', '45', '46', '47', '170', '48', '49', '50', '65', '178', '73', '181', '37', '182', '66', '158', '92', '93', '172', '61', '23', '79', '125', '68', '11', '13', '205', '121', '122', '123', '124', '193', '51', '64', '76', '75', '67', '136', '175', '99', '8', '138', '74', '137', '19', '18', '128', '139', '209', '94', '147', '197', '198', '199', '200', '201', '129', '130', '97', '140', '131', '132', '206', '133', '208', '134', '145', '148', '195', '135', '105', '196', '161', '162', '180', '60', '189', '84', '173', '157', '176', '167', '28', '14')) AND (thread.prefix_id IN ('70')) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.post_date DESC
LIMIT 9
Run Time: 0.002702
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | ALL | node_id_last_post_date,node_id_sticky_state_last_post | | | | 94 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.user_id | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_forum_list, a:1:{s:13:"forum_list_64";a:2:{s:4:"html";s:0:"";s:4:"time";i:1715704777;}}
Run Time: 0.000362
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_forum_list_lock, a:1:{s:18:"forum_list_lock_64";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1715704777;}}
Run Time: 0.000384
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000327
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 37 | Using filesort |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000217
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 36 | Using where |
SELECT thread.*
,
poll.*,
forum.*
FROM xf_thread AS thread
LEFT JOIN xf_poll AS poll ON
(poll.content_type = 'thread' AND content_id = thread.thread_id)
-- INNER JOIN xf_thread AS t ON
-- (t.thread_id = thread.thread_id AND t.node_id = 103)
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id)
WHERE ((thread.node_id IN (16, 17, 18, 1, 33, 34, 36, 3, 2, 19, 20, 21, 22, 23, 24, 25, 26, 27, 5, 6, 30, 7, 8, 9, 10, 31, 37, 4, 11, 12, 13, 14, 15, 28, 32, 29)) AND (thread.discussion_open = 1) AND (thread.discussion_state IN ('visible'))) AND (thread.discussion_type = 'poll')
ORDER BY thread.post_date DESC
LIMIT 3
Run Time: 0.003592
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 32 | Using where; Using temporary; Using filesort |
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_last_post_date | 4 | krishka_ru.forum.node_id | 1 | Using where |
SIMPLE | poll | eq_ref | content_type_content_id | content_type_content_id | 31 | const,krishka_ru.thread.thread_id | 1 | Using where |
SELECT *
FROM xf_poll
WHERE content_type = ?
AND content_id = ?
Params: thread, 71
Run Time: 0.000264
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_poll | const | content_type_content_id | content_type_content_id | 31 | const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 2
Run Time: 0.000172
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('mkdgCatalog_TopLinks')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000175
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('MKDG_navigation_visitor_tab_top')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000172
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |