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.001289
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using index condition |
SELECT session_data
FROM xf_session
WHERE session_id = ?
AND expiry_date >= ?
Params: 450aee84700486c3dcef090b41edb9d1, 1716087605
Run Time: 0.000141
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session | const | PRIMARY,expiry_date | PRIMARY | 34 | const | 1 | |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000104
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 > 1713495605) AND (forum.find_new = 1))
ORDER BY thread.last_post_date DESC
LIMIT 10
Run Time: 0.000517
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | last_post_date | last_post_date | 4 | | 36 | Using where |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | xf.thread.node_id | 1 | Using where |
SIMPLE | last_post_user | eq_ref | PRIMARY | PRIMARY | 4 | xf.thread.last_post_user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xf.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,xf.thread.node_id | 1 | Using where |
SELECT *
FROM xf_node
WHERE display_in_list = 1
ORDER BY lft ASC
Run Time: 0.000875
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ref | display_in_list | display_in_list | 1 | const | 174 | 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.000877
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 211 | Using index condition |
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 (447, 381, 97, 8, 382, 475, 467, 539, 540, 541, 542, 543, 468, 504, 458, 459, 439, 460, 489, 318, 133, 417, 375, 235, 58, 59, 125, 169, 61, 454, 56, 135, 172, 173, 158, 187, 221, 174, 181, 182, 183, 134, 274, 433, 276, 13, 257, 207, 210, 246, 231, 209, 208, 244, 407, 243, 524, 245, 222, 227, 211, 14, 163, 271, 432, 442, 161, 160, 224, 159, 106, 166, 109, 65, 168, 171, 186, 164, 196, 108, 19, 234, 248, 305, 15, 303, 430, 16, 30, 517, 304, 32, 33, 124, 64)
Run Time: 0.000476
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 150 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xf.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 > 1716086705)
ORDER BY session_activity.view_date DESC
Run Time: 0.000299
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 31 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xf.session_activity.user_id | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000098
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
UPDATE `xf_session` SET `expiry_date` = ? WHERE (session_id = '450aee84700486c3dcef090b41edb9d1')
Params: 1716091205
Run Time: 0.000061
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, ڝk, ڝk, XenForo_ControllerPublic_Forum, Index, valid, node_name=, 1716087605,
Run Time: 0.000085
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.000381
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | options | ALL | node_id | | | | 117 | Using where; Using filesort |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xf.options.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,xf.options.node_id | 1 | Using where |
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', 'node_category_level_2', 'node_link_level_n', 'wf_widget_wrapper', 'wf_widget_online_users', 'wf_widget_threads', 'wf_widget_stats', 'forum_list', 'nat_childlinks')
AND style_id = ?
AND language_id = ?
Params: 6, 1
Run Time: 0.000533
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 12 | Using index condition |
SELECT user_id, username, visible FROM `xf_user` WHERE last_activity>1716076800
Run Time: 0.000116
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_user | range | last_activity | last_activity | 4 | | 2 | Using index condition |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('nat_linkstemplate', 'rotating_ads_slider', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER', 'Members_Online_Today')
AND style_id = ?
AND language_id = ?
Params: 6, 1
Run Time: 0.000166
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 6 | Using index condition |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_s6_1_forum_list')
Run Time: 0.000078
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_s6_1_forum_list_lock')
Run Time: 0.000071
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_s6_1_forum_list_lock, a:1:{s:18:"forum_list_lock_13";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1716087605;}}
Run Time: 0.000108
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 ('494', '446', '500', '525', '482', '453', '479', '443', '123', '441', '138', '225', '9', '478', '429', '480', '481', '527', '444', '197', '428', '419', '473', '447', '381', '97', '8', '382', '475', '467', '523', '468', '469', '501', '470', '503', '499', '502', '504', '472', '331', '376', '319', '423', '471', '398', '458', '459', '439', '460', '489', '318', '133', '417', '375', '235', '58', '59', '125', '169', '61', '454', '56', '135', '172', '173', '158', '187', '221', '174', '181', '182', '183', '134', '274', '433', '276', '13', '257', '207', '210', '246', '231', '209', '208', '244', '407', '243', '524', '245', '222', '227', '211', '14', '163', '271', '432', '442', '161', '160', '224', '159', '106', '166', '109', '65', '168', '171', '186', '164', '196', '108', '167', '19', '234', '248', '438', '305', '15', '303', '430', '16', '30', '517', '304', '32', '33', '124', '64', '380', '440', '487', '191', '484', '516')) AND (thread.discussion_state IN ('visible')))
ORDER BY thread.post_date DESC
LIMIT 15
Run Time: 0.001724
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | node_id_last_post_date,node_id_sticky_state_last_post | post_date | 4 | | 15 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xf.thread.user_id | 1 | |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000851
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 211 | Using index condition |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id IN (61, 8, 9, 61, 61, 9, 8, 61, 8, 9, 61, 172, 460, 481, 65)
Run Time: 0.000267
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | range | PRIMARY | PRIMARY | 4 | | 7 | Using index condition |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xf.forum.node_id | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_s6_1_forum_list, a:1:{s:13:"forum_list_13";a:2:{s:4:"html";s:0:"";s:4:"time";i:1716087605;}}
Run Time: 0.000129
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_s6_1_forum_list_lock, a:1:{s:18:"forum_list_lock_13";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1716087605;}}
Run Time: 0.000101
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_s6_1_forum_list_lock, a:2:{s:18:"forum_list_lock_13";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1716087605;}s:18:"forum_list_lock_14";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1716087605;}}
Run Time: 0.000072
SELECT thread.*
,
1 AS fetched_last_post_user, user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.last_post_user_id)
WHERE ((thread.node_id IN ('494', '446', '500', '525', '482', '453', '479', '443', '123', '441', '138', '225', '9', '478', '429', '480', '481', '527', '444', '197', '428', '419', '473', '447', '381', '97', '8', '382', '475', '467', '523', '468', '469', '501', '470', '503', '499', '502', '504', '472', '331', '376', '319', '423', '471', '398', '458', '459', '439', '460', '489', '318', '133', '417', '375', '235', '58', '59', '125', '169', '61', '454', '56', '135', '172', '173', '158', '187', '221', '174', '181', '182', '183', '134', '274', '433', '276', '13', '257', '207', '210', '246', '231', '209', '208', '244', '407', '243', '524', '245', '222', '227', '211', '14', '163', '271', '432', '442', '161', '160', '224', '159', '106', '166', '109', '65', '168', '171', '186', '164', '196', '108', '167', '19', '234', '248', '438', '305', '15', '303', '430', '16', '30', '517', '304', '32', '33', '124', '64', '380', '440', '487', '191', '484', '516')) AND (thread.discussion_state IN ('visible')) AND (thread.reply_count > 0))
ORDER BY thread.last_post_date DESC
LIMIT 15
Run Time: 0.001661
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | node_id_last_post_date,node_id_sticky_state_last_post | last_post_date | 4 | | 15 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xf.thread.last_post_user_id | 1 | |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id IN (32, 32, 8, 9, 61, 318, 65, 61, 65, 459, 8, 65, 8, 9, 433)
Run Time: 0.000323
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | range | PRIMARY | PRIMARY | 4 | | 8 | Using index condition |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | xf.forum.node_id | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_s6_1_forum_list, a:2:{s:13:"forum_list_13";a:2:{s:4:"html";s:0:"";s:4:"time";i:1716087605;}s:13:"forum_list_14";a:2:{s:4:"html";s:0:"";s:4:"time";i:1716087605;}}
Run Time: 0.000091
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_s6_1_forum_list_lock, a:2:{s:18:"forum_list_lock_13";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1716087605;}s:18:"forum_list_lock_14";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1716087605;}}
Run Time: 0.000072
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('forum_statistics')
Params: 1
Run Time: 0.000080
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('nat_bodyjs')
AND style_id = ?
AND language_id = ?
Params: 6, 1
Run Time: 0.000122
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |