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.000385
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.000078
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.000093
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.000062
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.000224
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 | prav110_pravorg.moderator.user_id | 1 | |
SIMPLE | permission_combination | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.user.permission_combination_id | 1 | |
DELETE FROM `xf_data_registry` WHERE (data_key = 'modLogCounts')
Run Time: 0.000129
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000105
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT
count(*) total
FROM xf_user user
INNER 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 LEFT JOIN xfa_blog_entry ON blog.last_entry_id = xfa_blog_entry.entry_id
WHERE
1 = 1
AND entry_count > 0 AND is_banned = 0 AND user_state = 'valid'
AND (
(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'
)
Run Time: 0.002612
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | blog | ALL | PRIMARY | | | | 396 | Using where |
SIMPLE | user | eq_ref | PRIMARY,user_state | PRIMARY | 4 | prav110_pravorg.blog.user_id | 1 | Using where |
SIMPLE | user_follow | eq_ref | PRIMARY,follow_user_id | PRIMARY | 8 | prav110_pravorg.user.user_id,const | 1 | Using index |
SIMPLE | user_privacy | eq_ref | PRIMARY,idx_blog | PRIMARY | 4 | prav110_pravorg.user.user_id | 1 | Using where |
SELECT
blog.*,
user.*
,user_privacy.allow_view_blog,user_follow.follow_user_id blog_owner_follows_visitor
, 1 prepare_last_entry
, xfa_blog_entry.entry_id le_entry_id
, xfa_blog_entry.user_id le_user_id
, xfa_blog_entry.title le_title
, xfa_blog_entry.post_date le_post_date
, xfa_blog_entry.reply_count le_reply_count
, xfa_blog_entry.view_count le_view_count
, xfa_blog_entry.message le_message
, xfa_blog_entry.message_state le_message_state
, xfa_blog_entry.ip_id le_ip_id
, xfa_blog_entry.position le_position
, xfa_blog_entry.likes le_likes
, xfa_blog_entry.like_users le_like_users
, xfa_blog_entry.allow_comments le_allow_comments
, xfa_blog_entry.allow_view_entry le_allow_view_entry
, xfa_blog_entry.allow_members_ids le_allow_members_ids
FROM xf_user user
INNER 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 LEFT JOIN xfa_blog_entry ON blog.last_entry_id = xfa_blog_entry.entry_id
WHERE
1 = 1
AND entry_count > 0 AND is_banned = 0 AND user_state = 'valid'
AND (
(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 last_entry DESC
LIMIT
120,40
Run Time: 0.009615
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | blog | ALL | PRIMARY | | | | 396 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY,user_state | PRIMARY | 4 | prav110_pravorg.blog.user_id | 1 | Using where |
SIMPLE | user_follow | eq_ref | PRIMARY,follow_user_id | PRIMARY | 8 | prav110_pravorg.user.user_id,const | 1 | Using index |
SIMPLE | xfa_blog_entry | eq_ref | PRIMARY | PRIMARY | 4 | prav110_pravorg.blog.last_entry_id | 1 | Using where |
SIMPLE | user_privacy | eq_ref | PRIMARY,idx_blog | PRIMARY | 4 | prav110_pravorg.user.user_id | 1 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xfa_blogs_username')
Params: 1
Run Time: 0.000084
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: xfab_totals
Run Time: 0.000302
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: xfab_wf_local_blogs
Run Time: 0.000968
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: xfab_wf_local_comments
Run Time: 0.001344
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: __xfab_global_categ
Run Time: 0.000176
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 41b4a409336c778d5105187fbf83e4df, , 1711694725
Run Time: 0.000128
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, , , XfAddOns_Blogs_ControllerPublic_BlogList, Index, valid, , 1711691125,
Run Time: 0.000083
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRMS_ModernStatistic', 'BRMS_modern_statistic_header', 'xfa_blog_wf_stats', 'xfa_blog_wf_blogs', 'xfa_blog_wf_comments', 'page_nav', 'xfa_blog_list', '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.000817
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 12 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xfa_blogs_blog_statistics', 'xfa_blogs_new_blogs', 'xfa_blogs_recent_comments')
Params: 1
Run Time: 0.000229
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 3 | Using where |
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.000112
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.000080
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.000070
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.000120
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.000065
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |