SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000205
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT profile_post.*
,
posting_user.*,
IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username
FROM xf_profile_post AS profile_post
LEFT JOIN xf_user AS posting_user ON
(posting_user.user_id = profile_post.user_id)
WHERE profile_post.profile_post_id = ?
Params: 807
Run Time: 0.000324
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | profile_post | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | posting_user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
0 AS following_0
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)
WHERE user.user_id = ?
Params: 7365
Run Time: 0.000417
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 | |
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 = ?
Params: profile_post, 807
Run Time: 0.000327
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 | 5 | Using where; Using index |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | terrcouk_ssxenforo.liked_content.like_user_id | 1 | Using index |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | terrcouk_ssxenforo.liked_content.like_user_id | 1 | Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | terrcouk_ssxenforo.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
Params: profile_post, 807
Run Time: 0.000664
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 | 5 | Using index condition; Using where; Using filesort |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | terrcouk_ssxenforo.liked_content.like_user_id | 1 | |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | terrcouk_ssxenforo.liked_content.like_user_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | terrcouk_ssxenforo.liked_content.like_user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 3e3d673ff5b327bcbd60f042dab0ba89, , 1714970448
Run Time: 0.000270
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_ProfilePost, Likes, valid, profile_post_id=807, 1714966848,
Run Time: 0.000112
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'profile_post_likes', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 11, 1
Run Time: 0.000333
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 3 | Using where |