SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000842
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM xf_node
WHERE display_in_list = 1
ORDER BY lft ASC
Run Time: 0.000525
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | display_in_list | | | | 28 | 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.000236
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 28 | 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 (7, 45, 9, 10, 36, 12, 13, 15, 16, 17, 23, 19, 88, 2, 5, 86, 4, 21)
Run Time: 0.000396
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 21 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.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 > 1711702920)
ORDER BY session_activity.view_date DESC
Run Time: 0.006119
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 523 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.session_activity.user_id | 1 | |
SELECT post.post_id, post.user_id, thread.title, thread.node_id, thread.prefix_id, thread.thread_id, post.message, post.post_date, post.username, post.message_state, user.* FROM `ns_post` as nspost
LEFT JOIN xf_post as post ON nspost.post_id = post.post_id
LEFT JOIN xf_thread as thread ON post.thread_id = thread.thread_id
LEFT JOIN xf_user as user ON post.user_id = user.user_id ORDER BY post.post_date DESC
Run Time: 0.000799
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | nspost | index | | PRIMARY | 4 | | 7 | Using index; Using temporary; Using filesort |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.nspost.post_id | 1 | Using where |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.post.thread_id | 1 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.post.user_id | 1 | Using where |
SELECT feature.*, post.*, thread.*, node.*, user.*, node.title AS nodetitle, feature.title AS title, post.post_date AS post_date, post.user_id AS user_id, post.username AS username
FROM ns_feature AS feature
LEFT JOIN xf_post AS post ON (post.post_id = feature.feature_id)
LEFT JOIN xf_thread AS thread ON (thread.thread_id = post.thread_id)
LEFT JOIN xf_node AS node ON (node.node_id = thread.node_id)
LEFT JOIN xf_user AS user ON (user.user_id = post.user_id)
WHERE post.message_state = 'visible' AND thread.discussion_state = 'visible'
ORDER BY post.post_date DESC LIMIT 0,?
Params: 15
Run Time: 0.001612
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | feature | ALL | PRIMARY | | | | 350 | Using temporary; Using filesort |
SIMPLE | post | eq_ref | PRIMARY,thread_id_post_date,thread_id_position | PRIMARY | 4 | user_nextstagerussia.feature.feature_id | 1 | Using where |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.post.thread_id | 1 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.thread.node_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.post.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=, 1711703820,
Run Time: 0.000361