SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000134
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar,
NULL AS thread_read_date,
0 AS thread_reply_banned,
0 AS thread_is_watched,
'' AS draft_message, NULL AS draft_extra
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE thread.thread_id = ?
Params: 21775
Run Time: 0.000538
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date
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: 6
Run Time: 0.000636
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 post.*
,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
user_profile.*,
user_privacy.*,
session_activity.view_date AS last_view_date,
0 AS like_date,
0 AS post_is_watched
FROM xf_post AS post
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = post.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = post.user_id)
LEFT JOIN xf_session_activity AS session_activity ON
(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
WHERE post.thread_id = ?
AND (post.position >= 50 AND post.position < 60)
AND (post.message_state IN ('visible'))
ORDER BY post.position ASC, post.post_date ASC
Params: 21775
Run Time: 0.001263
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | range | thread_id_post_date,thread_id_position | thread_id_position | 8 | | 10 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | ccxsccxs_dd.post.user_id,func | 1 | Using where |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 21775
Run Time: 0.000157
SELECT comment.*
,
user.*, IF(user.username IS NULL, comment.username, user.username) AS username,
0 AS like_date
FROM xf_brivium_post_comment AS comment
LEFT JOIN xf_user AS user ON
(user.user_id = comment.user_id)
WHERE (comment.comment_id IN (140323, 140324, 140336, 140337, 140340, 140357, 140358, 140373, 140374, 140396)) AND (comment.message_state = 'visible')
ORDER BY comment.post_date
Run Time: 0.000985
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | comment | range | PRIMARY | PRIMARY | 4 | | 10 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.comment.user_id | 1 | |
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
Params: brivium_post_comment, 140323
Run Time: 0.001141
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140324
Run Time: 0.000844
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140336
Run Time: 0.000814
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140337
Run Time: 0.000804
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140340
Run Time: 0.000846
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 | 2 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140357
Run Time: 0.000830
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140358
Run Time: 0.000831
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140373
Run Time: 0.000822
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140374
Run Time: 0.000808
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
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
Params: brivium_post_comment, 140396
Run Time: 0.000828
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 | 1 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.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)
Params: 0, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=21775&page=6, 1714695663,
Run Time: 0.000113
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'editor', 'thread_view', 'wf_hook_footer', 'wf_hook_moderator_bar', 'dark_taigachat', 'dark_taigachat_list', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 7, 1
Run Time: 0.000699
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 14 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('BRCEP_write_your_comment')
Params: 1
Run Time: 0.000082
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
permission_combination.cache_value AS global_permission_cache
FROM xf_user AS user
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id)
LEFT JOIN xf_permission_combination AS permission_combination ON
(permission_combination.permission_combination_id = user.permission_combination_id)
WHERE user.user_id = ?
Params: 2
Run Time: 0.000818
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_option | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRCEP_post_public_controls')
AND style_id = ?
AND language_id = ?
Params: 7, 1
Run Time: 0.000098
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 * FROM x_post_rule_post WHERE post_id = '2906760'
Run Time: 0.530847
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('VNXF_Loto_Post')
AND style_id = ?
AND language_id = ?
Params: 7, 1
Run Time: 0.000147
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 a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2906760'
Run Time: 0.000374
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('VNXF_Like_Info')
AND style_id = ?
AND language_id = ?
Params: 7, 1
Run Time: 0.000125
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 user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
permission_combination.cache_value AS global_permission_cache
FROM xf_user AS user
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id)
LEFT JOIN xf_permission_combination AS permission_combination ON
(permission_combination.permission_combination_id = user.permission_combination_id)
WHERE user.user_id = ?
Params: 6
Run Time: 0.001397
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_option | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2906765'
Run Time: 0.415885
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2906765'
Run Time: 0.000369
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2909116'
Run Time: 0.421240
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2909116'
Run Time: 0.000362
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2909182'
Run Time: 0.441099
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2909182'
Run Time: 0.000479
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2911037'
Run Time: 0.555377
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2911037'
Run Time: 0.000417
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 2 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
permission_combination.cache_value AS global_permission_cache
FROM xf_user AS user
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = user.user_id)
LEFT JOIN xf_permission_combination AS permission_combination ON
(permission_combination.permission_combination_id = user.permission_combination_id)
WHERE user.user_id = ?
Params: 15088
Run Time: 0.000539
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_option | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2911283'
Run Time: 0.492888
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2911283'
Run Time: 0.000483
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2911335'
Run Time: 0.448770
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2911335'
Run Time: 0.000343
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2913530'
Run Time: 0.461864
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2913530'
Run Time: 0.000562
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2913652'
Run Time: 0.550068
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2913652'
Run Time: 0.000290
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |
SELECT * FROM x_post_rule_post WHERE post_id = '2917708'
Run Time: 0.480733
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | x_post_rule_post | ALL | | | | | 482987 | Using where |
SELECT a.*, b.user_id, b.username
FROM `xf_liked_content` AS a
LEFT JOIN xf_user AS b ON (b.user_id = a.like_user_id)
WHERE a.content_type = 'post' AND a.content_id = '2917708'
Run Time: 0.000431
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | a | ref | content_type_id_like_user_id | content_type_id_like_user_id | 31 | const,const | 1 | Using index condition |
SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 4 | ccxsccxs_dd.a.like_user_id | 1 | |