SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000236
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*
,
user_profile.*,
user_option.*,
user_privacy.*,
0 AS following_0,
user_ban.ban_date,
user_ban.end_date,
user_ban.user_reason,
user_ban.ban_user_id,
user_banned.username AS user_banned_username
,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,13,12,8,11,6,5,10,4,7,9,3)) as positive_rating_count
, (user.like_count + coalesce((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,13,12,8,11,6,5,10,4,7,9,3)), 0)) as positive_rating_count_incl_likes
,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
,xfa_blog.last_entry
,xfa_blog.blog_key
,xfa_blog.entry_count
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_user_ban AS user_ban ON
( user_ban.user_id=user.user_id )
LEFT JOIN xf_user AS user_banned ON
(user_banned.user_id= user_ban.ban_user_id)
LEFT JOIN xfa_blog ON xfa_blog.user_id = user.user_id
WHERE user.user_id = ?
Params: 46
Run Time: 0.001081
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
PRIMARY | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | user_option | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
PRIMARY | user_ban | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found |
PRIMARY | user_banned | const | PRIMARY | | | | 1 | |
PRIMARY | xfa_blog | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SUBQUERY | dark_postrating_count | ref | user_id_rating | user_id_rating | 4 | const | 13 | |
SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | | 14 | Using index condition |
SUBQUERY | dark_postrating_count | range | user_id_rating | user_id_rating | 8 | | 14 | Using index condition |
SELECT *
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 277
Run Time: 0.000232
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT user.*,
user_profile.*,
user_option.*
FROM xf_user_follow AS user_follow
INNER JOIN xf_user AS user ON
(user.user_id = user_follow.follow_user_id AND user.is_banned = 0)
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 user_follow.user_id = ?
ORDER BY user.username
LIMIT 41
Params: 46
Run Time: 0.001552
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user_follow | ref | PRIMARY,follow_user_id | PRIMARY | 4 | const | 1 | Using index; Using temporary; Using filesort |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | destee_180205.user_follow.follow_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | destee_180205.user_follow.follow_user_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | destee_180205.user_follow.follow_user_id | 1 | Using where |
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_Member, Following, valid, user_id=46, 1550399655,
Run Time: 0.000131
SELECT COUNT(ld_id)
FROM phc_linkdirectory as ld
WHERE (ld.status != 'visible' OR lastcheck = 0)
AND user_id = 0
Run Time: 0.000254
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | ld | ref | status,user_id | user_id | 4 | const | 1 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'aadvapp_sidebar', 'member_following', 'iversia_faq_navtabs', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'siropu_ads_manager_tabs', 'xfa_blog_navigation_links', 'EWRmedio_Navtabs', 'ld_sub_nav', 'EWRporta2_Navtabs', 'xfa_blog_navigation_tab_link', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'sonnb_xengallery_nav_visitor', 'wf_widget_wrapper', '_widget_renderer_template_198', '_widget_renderer_template_199', 'wf_widget_group_wrapper', '_widget_renderer_template_192', '_widget_renderer_template_194', 'destee_chat', 'siropu_chat', 'siropu_chat_disabled', 'siropu_ads_manager_tab_title', 'siropu_ads_manager_ad_type_code', 'siropu_ads_manager_ad_type_banner', 'siropu_ads_manager_ad_type_text', 'siropu_ads_manager_ad_type_link', 'siropu_ads_manager_ad_type_keyword', 'siropu_ads_manager_support_us', 'siropu_ads_manager_page_criteria_page_info', 'siropu_ads_manager_footer_links', 'siropu_ads_manager_admin_home', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 10, 1
Run Time: 0.001361
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 47 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('iversia_faq', 'tc_premium_page', 'media', 'ld_nav_title')
Params: 1
Run Time: 0.000200
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 4 | Using where |
SELECT d.*, ct.*, s.title as slider_title
FROM xfa_slider_display AS d
LEFT JOIN xfa_slider_content_template AS ct ON (d.content_template_id=ct.content_template_id)
LEFT JOIN xfa_slider AS s ON (d.slider_id=s.slider_id)
Run Time: 0.000202
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | d | ALL | | | | | 1 | |
SIMPLE | ct | eq_ref | PRIMARY | PRIMARY | 4 | destee_180205.d.content_template_id | 1 | |
SIMPLE | s | eq_ref | PRIMARY | PRIMARY | 4 | destee_180205.d.slider_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('aadvapp_sidebar', 'dark_azucloud')
AND style_id = ?
AND language_id = ?
Params: 10, 1
Run Time: 0.000330
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('aadvapp_sidebar', 'nat_bodyjs')
AND style_id = ?
AND language_id = ?
Params: 10, 1
Run Time: 0.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |