SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.000481
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
Run Time: 0.000091
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: brmsModernStatisticCache
Run Time: 0.000101
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: modLogCounts
Run Time: 0.000111
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT user.*, permission_combination.cache_value AS global_permission_cache
FROM xf_moderator AS moderator
INNER JOIN xf_user AS user ON (user.user_id = moderator.user_id)
LEFT JOIN xf_permission_combination AS permission_combination ON (permission_combination.permission_combination_id = user.permission_combination_id)
Run Time: 0.000221
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | moderator | index | PRIMARY | PRIMARY | 4 | | 8 | Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | admin_123.moderator.user_id | 1 | |
SIMPLE | permission_combination | eq_ref | PRIMARY | PRIMARY | 4 | admin_123.user.permission_combination_id | 1 | |
DELETE FROM `xf_data_registry` WHERE (data_key = 'modLogCounts')
Run Time: 0.000166
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000101
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT * FROM xfa_blog_category WHERE category_id = ?
Params: 79
Run Time: 0.000912
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_category | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT
blog.*, blog.user_id blog_exists,
user.*
,user_privacy.allow_view_blog,user_follow.follow_user_id blog_owner_follows_visitor
FROM xf_user user
LEFT JOIN xfa_blog blog ON user.user_id = blog.user_id
INNER JOIN xf_user_privacy user_privacy ON user.user_id = user_privacy.user_id LEFT JOIN xf_user_follow user_follow ON user.user_id = user_follow.user_id AND follow_user_id = 0
WHERE
user.user_id = ?
Params: 9366
Run Time: 0.000793
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | blog | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_privacy | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user_follow | const | PRIMARY,follow_user_id | PRIMARY | 8 | const,const | 0 | unique row not found |
SELECT xfa_blog_entry.*
,xf_user.*,liked_content.like_date,xfa_blog.user_id, xfa_blog.blog_title, xfa_blog.blog_key,user_privacy.allow_view_blog,xfa_blog_entry_read.entry_read_date,user_follow.follow_user_id blog_owner_follows_visitor
FROM xfa_blog_entry
INNER JOIN xfa_blog_entry_category ON xfa_blog_entry.entry_id = xfa_blog_entry_category.entry_id
INNER JOIN xf_user ON xfa_blog_entry.user_id = xf_user.user_id
LEFT JOIN xf_liked_content AS liked_content
ON (liked_content.content_type = 'xfa_blog_entry'
AND liked_content.content_id = xfa_blog_entry.entry_id
AND liked_content.like_user_id = 0)
INNER JOIN xfa_blog ON xfa_blog_entry.user_id = xfa_blog.user_id INNER JOIN xf_user_privacy user_privacy ON xfa_blog.user_id = user_privacy.user_id LEFT JOIN xfa_blog_entry_read ON xfa_blog_entry.entry_id = xfa_blog_entry_read.entry_id AND xfa_blog_entry_read.user_id = 0 LEFT JOIN xf_user_follow user_follow ON xfa_blog_entry.user_id = user_follow.user_id AND follow_user_id = 0
WHERE
xfa_blog_entry_category.category_id = ? AND
xfa_blog_entry.message_state = 'visible'
AND (
(xfa_blog_entry.user_id = 0) OR
(xfa_blog_entry.allow_view_entry = 'followed' AND user_follow.follow_user_id > 0) OR
(xfa_blog_entry.allow_view_entry = 'list' AND FIND_IN_SET(0, allow_members_ids) > 0) OR
xfa_blog_entry.allow_view_entry = 'everyone'
)
AND (
(xfa_blog.user_id = 0) OR
(user_privacy.allow_view_blog = 'followed' AND user_follow.follow_user_id > 0) OR
user_privacy.allow_view_blog = 'everyone'
)
ORDER BY post_date DESC
LIMIT 0, 15
Params: 79
Run Time: 0.004860
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_entry_category | index | PRIMARY | PRIMARY | 8 | | 526 | Using where; Using index; Using temporary; Using filesort |
SIMPLE | xfa_blog_entry | eq_ref | PRIMARY,idx_user,idx_position | PRIMARY | 4 | admin_123.xfa_blog_entry_category.entry_id | 1 | Using where |
SIMPLE | liked_content | eq_ref | content_type_id_like_user_id,like_user_content_type_id | content_type_id_like_user_id | 35 | const,admin_123.xfa_blog_entry_category.entry_id,const | 1 | Using where |
SIMPLE | xfa_blog_entry_read | eq_ref | user_id | user_id | 8 | const,admin_123.xfa_blog_entry_category.entry_id | 1 | |
SIMPLE | user_follow | eq_ref | PRIMARY,follow_user_id | PRIMARY | 8 | admin_123.xfa_blog_entry.user_id,const | 1 | Using where; Using index |
SIMPLE | xfa_blog | eq_ref | PRIMARY | PRIMARY | 4 | admin_123.xfa_blog_entry.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY,idx_blog | PRIMARY | 4 | admin_123.xfa_blog_entry.user_id | 1 | Using where |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | admin_123.xfa_blog_entry.user_id | 1 | Using where |
SELECT
xf_user.*,
xfa_blog_read.blog_read_date,
xfa_blog.last_entry,
xfa_blog.blog_key
FROM xfa_blog_watch
INNER JOIN xf_user ON xfa_blog_watch.blog_user_id = xf_user.user_id
INNER JOIN xfa_blog ON xf_user.user_id = xfa_blog.user_id
LEFT JOIN xfa_blog_read ON xfa_blog.user_id = xfa_blog_read.blog_user_id AND xfa_blog_read.user_id = 0
WHERE
xfa_blog_watch.user_id = ?
ORDER BY
xfa_blog.last_entry DESC
Params: 9366
Run Time: 0.001215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_watch | ref | ux_watch | ux_watch | 4 | const | 1 | Using index; Using temporary; Using filesort |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | admin_123.xfa_blog_watch.blog_user_id | 1 | Using where |
SIMPLE | xfa_blog | eq_ref | PRIMARY | PRIMARY | 4 | admin_123.xf_user.user_id | 1 | Using where |
SIMPLE | xfa_blog_read | eq_ref | user_id | user_id | 8 | const,admin_123.xfa_blog.user_id | 1 | |
SELECT
*
FROM
xfa_blog_category
WHERE
user_id IN (9366,0)
ORDER BY user_id ASC, display_order ASC
Run Time: 0.000143
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_category | ALL | id_user | | | | 102 | Using where; Using filesort |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 033ea50999b974e2f3db51ab0b607f53, , 1686450096
Run Time: 0.000180
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRMS_ModernStatistic', 'BRMS_modern_statistic_header', 'xfa_blog_panel_categories', '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', 'xfa_blog_category_browse', 'xfa_blog_navigation_links', 'waindigo_navigation_visitor_tab_joinusergroup', 'xfa_blog_navigation_tab_link', 'modess_moderator_bar_mod_log_counts', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 5, 1
Run Time: 0.000473
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 16 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xfa_blogs_categories')
Params: 1
Run Time: 0.000124
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbms_twitter_css')
AND style_id = ?
AND language_id = ?
Params: 5, 1
Run Time: 0.000119
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 title, template_compiled
FROM xf_template_compiled
WHERE title IN ('kin_postthread_main')
AND style_id = ?
AND language_id = ?
Params: 5, 1
Run Time: 0.000114
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 title, template_compiled
FROM xf_template_compiled
WHERE title IN ('social_connect_status_editor')
AND style_id = ?
AND language_id = ?
Params: 5, 1
Run Time: 0.000115
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 title, template_compiled
FROM xf_template_compiled
WHERE title IN ('xxtW_js')
AND style_id = ?
AND language_id = ?
Params: 5, 1
Run Time: 0.000097
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 title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbms_twitter_XFormer')
AND style_id = ?
AND language_id = ?
Params: 5, 1
Run Time: 0.000084
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |