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.001349
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.000174
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 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_id = ?
Params: 2
Run Time: 0.000457
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | 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 = 2) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
Run Time: 0.000500
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 | 3 | 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
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE (thread.node_id = 2) AND (thread.sticky = 0) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date ASC
LIMIT 20
Run Time: 0.001403
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 | 3 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.user_id | 1 | |
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
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE (thread.node_id = 2) AND (thread.sticky = 1) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.last_post_date ASC
Run Time: 0.000712
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 | 1 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.user_id | 1 | |
SELECT *
FROM xf_node
WHERE lft > ? AND rgt < ?
AND display_in_list = 1
ORDER BY lft ASC
Params: 18, 37
Run Time: 0.000238
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | display_in_list,lft | | | | 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.000224
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 (19, 20, 21, 22, 23, 24, 25, 26, 27)
Run Time: 0.000264
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 |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: c34deb400f078e8bd542c49a22a11f48, , 1714910065
Run Time: 0.000388
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_id=2, 1714906465,
Run Time: 0.000198
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'node_forum_level_2', 'wf_widget_wrapper', 'wf_widget_threads', 'sonnb_xengallery_widget_photo', 'XenAdvShopShowTiesers', 'forum_view', 'notice_cookies', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.001471
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 11 | Using where |
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 ('206')) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.post_date DESC
LIMIT 12
Run Time: 0.000265
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_last_post_date | 4 | const | 1 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | krishka_ru.thread.user_id | 1 | |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc__1_forum_view')
Run Time: 0.000530
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_view_lock')
Run Time: 0.000321
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_view_lock, a:2:{s:18:"forum_view_lock_71";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1714906465;}s:18:"forum_view_lock_78";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714904782;}}
Run Time: 0.000397
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 ('121', '122', '206', '207', '208', '50', '178', '194', '193', '180', '47', '173', '86', '61', '143', '158', '161', '129', '151', '128', '148', '149', '130', '150', '131', '132', '156', '144', '159', '98', '146', '168', '64', '68', '115', '116', '189', '138', '112', '118', '114', '117', '139', '200', '198', '165', '185', '197', '163', '203', '134', '133', '89', '209', '75', '199', '71', '186', '187', '124', '135', '195', '92', '201', '205', '94', '62', '119', '211', '162', '110', '55', '97', '43', '166', '212', '210', '215', '176', '136', '191', '202', '164', '111', '137', '190', '109', '188', '169', '196', '105', '103', '172', '76', '125', '147', '73', '46', '140', '167', '44', '74', '53', '104', '174', '60', '84', '171', '182', '113', '181', '184', '170')) AND (thread.prefix_id IN ('70')) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.post_date DESC
LIMIT 9
Run Time: 0.000280
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_view, a:2:{s:13:"forum_view_71";a:2:{s:4:"html";s:0:"";s:4:"time";i:1714906465;}s:13:"forum_view_78";a:2:{s:4:"html";s:0:"";s:4:"time";i:1714904782;}}
Run Time: 0.000436
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_forum_view_lock, a:2:{s:18:"forum_view_lock_71";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714906465;}s:18:"forum_view_lock_78";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714904782;}}
Run Time: 0.000277
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_forum_view_lock, a:2:{s:18:"forum_view_lock_71";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714906465;}s:18:"forum_view_lock_78";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1714906465;}}
Run Time: 0.000279
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 ('208')) AND (thread.discussion_state IN ('visible'))
ORDER BY thread.post_date DESC
LIMIT 12
Run Time: 0.000269
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_last_post_date | 4 | const | 1 | 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_view, a:2:{s:13:"forum_view_71";a:2:{s:4:"html";s:0:"";s:4:"time";i:1714906465;}s:13:"forum_view_78";a:2:{s:4:"html";s:0:"";s:4:"time";i:1714906465;}}
Run Time: 0.000275
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_forum_view_lock, a:2:{s:18:"forum_view_lock_71";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714906465;}s:18:"forum_view_lock_78";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714906465;}}
Run Time: 0.000265
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('XenAdvShopShowTiesers')
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 | | | | | | | | Impossible WHERE noticed after reading const tables |
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.000164
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.000192
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |