SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000225
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,
uix_last_post_user.avatar_date AS uix_last_post_user_avatar_date,
uix_last_post_user.username AS uix_last_post_user_username,
uix_last_post_user.avatar_width AS uix_last_post_user_avatar_width,
uix_last_post_user.avatar_height AS uix_last_post_user_avatar_height,
uix_last_post_user.gravatar AS uix_last_post_user_gravatar,
uix_last_post_user.gender AS uix_last_post_user_gender,
uix_last_post_user.is_banned AS uix_last_post_user_is_banned
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)LEFT JOIN xf_user AS uix_last_post_user ON (uix_last_post_user.user_id = thread.last_post_user_id)
WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1711418109) AND (forum.find_new = 1)
ORDER BY thread.last_post_date DESC
LIMIT 10
Run Time: 0.001607
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | last_post_date | last_post_date | 4 | | 14 | Using where |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.thread.node_id | 1 | Using where |
SIMPLE | last_post_user | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.thread.last_post_user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,viregfum_db.thread.node_id | 1 | Using where |
SIMPLE | uix_last_post_user | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.thread.last_post_user_id | 1 | |
SELECT *
FROM xf_node
WHERE display_in_list = 1
ORDER BY lft ASC
Run Time: 0.000276
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | display_in_list | | | | 102 | 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.000339
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 110 | 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 (10, 44, 45, 42, 50, 98, 63, 77, 89, 105, 125, 126, 120, 90, 124, 48, 53, 102, 108, 15, 127, 64, 47, 54, 55, 11, 56, 22, 13, 14, 104, 38, 12, 43, 30, 60, 33, 70, 34, 83, 94, 116, 118, 121, 84, 85, 86, 87, 115, 97, 69, 91, 80, 88, 92, 46, 58, 59, 41, 40, 32, 61, 112, 36, 37, 62, 72, 35, 71, 95, 52, 106, 73, 103, 81, 107, 82, 101, 114, 113, 117, 119, 123, 110, 100, 74, 76, 19, 17, 18, 31, 66, 67, 68, 4, 6, 5, 24)
Run Time: 0.000365
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 95 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.forum.node_id | 1 | Using index |
SELECT user.user_id, username,avatar_date,gravatar,gender,is_banned
FROM xf_user AS user
WHERE user.user_id IN (24193, 12136, 11788, 25811, 14849, 21682, 0, 1009, 12275, 12719, 13179, 18205, 3706, 25555, 8059, 16061, 25863, 17895, 25773, 25655, 25438, 6405, 25771, 23505, 25804, 12063, 12179, 17980, 20031, 25574, 23178, 23225, 11113, 17954, 24260, 25364, 11934, 13502, 2346, 25869, 18687, 22945, 1375, 12439, 25644, 5037, 12268, 13746, 10998, 10921, 23801, 25024, 16721, 18041, 16932, 25240, 13252, 14576, 23581, 20966, 17969, 18319, 1, 16371, 16374)
Run Time: 0.000274
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | range | PRIMARY | PRIMARY | 4 | | 65 | Using where |
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 > 1714007709)
ORDER BY session_activity.view_date DESC
Run Time: 0.011098
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 334 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.session_activity.user_id | 1 | |
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=, 1714010109,
Run Time: 0.001876
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: uix_nodeCache
Run Time: 0.000249
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT *
FROM uix_node_layout
Run Time: 0.000273
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | uix_node_layout | ALL | | | | | 2 | |
SELECT node.*,
node_field.uix_node_icons,
node_field.uix_styling,
node_field.collapsed,
node_field.inheritClass,
node_field.inheritStyling
FROM xf_node AS node
LEFT JOIN uix_node_fields AS node_field ON (node.node_id = node_field.node_id)
Run Time: 0.000307
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | ALL | | | | | 102 | |
SIMPLE | node_field | eq_ref | PRIMARY | PRIMARY | 4 | viregfum_db.node.node_id | 1 | |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('members_online_now', 'forum_statistics', 'wf_widget_threads_type_new')
Params: 2
Run Time: 0.000255
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 3 | Using where |