SELECT cache_value FROM xf_permission_combination WHERE permission_combination_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT post.* FROM xf_post AS post WHERE post.post_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT thread.* , 0 AS thread_reply_banned FROM xf_thread AS thread WHERE thread.thread_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT node.*, forum.* , permission.cache_value AS node_permission_cache 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 = ?
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_liked_content AS liked_content INNER JOIN xf_user AS user ON (user.user_id = liked_content.like_user_id) INNER JOIN xf_user_profile AS user_profile ON (user_profile.user_id = user.user_id) INNER JOIN xf_user_option AS user_option ON (user_option.user_id = user.user_id) WHERE liked_content.content_type = ? AND liked_content.content_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | liked_content | ref | content_type_id_like_user_id,like_user_content_type_id | content_type_id_like_user_id | 31 | const,const | 11 | Using where; Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.liked_content.like_user_id | 1 | Using index |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.liked_content.like_user_id | 1 | Using index |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.liked_content.like_user_id | 1 | Using index |
SELECT liked_content.*, user.*, user_profile.*, user_option.* FROM xf_liked_content AS liked_content INNER JOIN xf_user AS user ON (user.user_id = liked_content.like_user_id) INNER JOIN xf_user_profile AS user_profile ON (user_profile.user_id = user.user_id) INNER JOIN xf_user_option AS user_option ON (user_option.user_id = user.user_id) WHERE liked_content.content_type = ? AND liked_content.content_id = ? ORDER BY liked_content.like_date DESC LIMIT 100
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | liked_content | ref | content_type_id_like_user_id,like_user_content_type_id | content_type_id_like_user_id | 31 | const,const | 11 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | user_nextstagerussia.liked_content.like_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)