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.000921
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.000289
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_key, data_value
FROM xf_data_registry
WHERE data_key IN ('ads', 'adPositions', 'adTypes')
Run Time: 0.000220
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 3 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000249
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT xfa_blog_entry.*
,xf_user.*,deletion_log.*,liked_content.like_date,xfa_blog_entry_watch.watch_id watch_id,xfa_blog_entry_read.entry_read_date,user_follow.follow_user_id blog_owner_follows_visitor
FROM xfa_blog_entry
INNER JOIN xf_user ON xfa_blog_entry.user_id = xf_user.user_id LEFT JOIN xf_deletion_log deletion_log ON xfa_blog_entry.entry_id = deletion_log.content_id AND content_type = 'xfa_blog_entry'
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)
LEFT JOIN xfa_blog_entry_watch ON xfa_blog_entry.entry_id = xfa_blog_entry_watch.entry_id AND xfa_blog_entry_watch.user_id = 0 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.entry_id = ?
Params: 6154
Run Time: 0.002123
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_entry | const | PRIMARY,idx_user,idx_position | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | deletion_log | const | PRIMARY | PRIMARY | 31 | const,const | 0 | unique row not found |
SIMPLE | liked_content | const | content_type_id_like_user_id,like_user_content_type_id | content_type_id_like_user_id | 35 | const,const,const | 0 | unique row not found |
SIMPLE | xfa_blog_entry_watch | const | ux_watch | ux_watch | 8 | const,const | 0 | unique row not found |
SIMPLE | xfa_blog_entry_read | const | user_id | user_id | 8 | const,const | 0 | unique row not found |
SIMPLE | user_follow | const | PRIMARY,follow_user_id | PRIMARY | 8 | const,const | 0 | unique row not found |
SELECT
blog.*, blog.user_id blog_exists,
user.*
,user_privacy.allow_view_blog,user_follow.follow_user_id blog_owner_follows_visitor,xfa_blog_read.blog_read_date
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 LEFT JOIN xfa_blog_read ON user.user_id = xfa_blog_read.blog_user_id AND xfa_blog_read.user_id = 0
WHERE
user.user_id = ?
Params: 20
Run Time: 0.000898
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 |
SIMPLE | xfa_blog_read | const | user_id | user_id | 8 | const,const | 0 | unique row not found |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('xfa_blogs_username')
Params: 2
Run Time: 0.000374
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | const | PRIMARY | PRIMARY | 106 | const,const | 1 | |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (6154)
ORDER BY attachment.content_id, attachment.attach_date
Params: xfa_blog_entry
Run Time: 0.000688
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | m11459_uabets.attachment.data_id | 1 | |
SELECT category.*
FROM xfa_blog_entry_category entry_category
INNER JOIN xfa_blog_category category ON entry_category.category_id = category.category_id
WHERE
entry_category.entry_id = ?
Params: 6154
Run Time: 0.000368
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | entry_category | ref | PRIMARY | PRIMARY | 4 | const | 1 | Using index |
SIMPLE | category | eq_ref | PRIMARY | PRIMARY | 4 | m11459_uabets.entry_category.category_id | 1 | |
SELECT
xfa_blog_comment.*
,xf_user.*,deletion_log.*,liked_content.like_date,xfa_blog.last_entry blog_last_entry
,xfa_blog_read.blog_read_date blog_read_date
,xfa_blog.blog_key blog_key
FROM xfa_blog_comment
INNER JOIN xf_user ON xfa_blog_comment.user_id = xf_user.user_id LEFT JOIN xf_deletion_log deletion_log ON xfa_blog_comment.comment_id = deletion_log.content_id AND content_type = 'xfa_blog_comment'
LEFT JOIN xf_liked_content AS liked_content
ON (liked_content.content_type = 'xfa_blog_comment'
AND liked_content.content_id = xfa_blog_comment.comment_id
AND liked_content.like_user_id = 0)
LEFT JOIN xfa_blog ON xfa_blog_comment.user_id = xfa_blog.user_id
LEFT JOIN xfa_blog_read ON xfa_blog_comment.user_id = xfa_blog_read.blog_user_id AND xfa_blog_read.user_id = 0
WHERE
xfa_blog_comment.entry_id = ?
ORDER BY
xfa_blog_comment.post_date
Params: 6154
Run Time: 0.001691
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_comment | ref | idx_entry,idx_user,idx_position | idx_entry | 4 | const | 1 | Using where; Using filesort |
SIMPLE | deletion_log | eq_ref | PRIMARY | PRIMARY | 31 | const,m11459_uabets.xfa_blog_comment.comment_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,m11459_uabets.xfa_blog_comment.comment_id,const | 1 | Using where |
SIMPLE | xfa_blog | eq_ref | PRIMARY | PRIMARY | 4 | m11459_uabets.xfa_blog_comment.user_id | 1 | |
SIMPLE | xfa_blog_read | eq_ref | user_id | user_id | 8 | const,m11459_uabets.xfa_blog_comment.user_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | m11459_uabets.xfa_blog_comment.user_id | 1 | Using where |
INSERT INTO xfa_blog_entry_view
(entry_id, type, ipOrUser, views, last_visit)
VALUES
(?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE
views = views + 1,
last_visit = VALUES(last_visit)
Params: 6154, guest, 316309389, 1, 1713494972
Run Time: 0.001658
INSERT INTO `xfa_blog_deferred_view` (`type`, `id`) VALUES (?, ?)
Params: entry, 6154
Run Time: 0.000783
SELECT *
FROM xf_draft
WHERE draft_key = ? AND user_id = ?
Params: xfa-blog-comment-6154, 0
Run Time: 0.000395
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
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: 20
Run Time: 0.001523
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 | m11459_uabets.xfa_blog_watch.blog_user_id | 1 | Using where |
SIMPLE | xfa_blog | eq_ref | PRIMARY | PRIMARY | 4 | m11459_uabets.xf_user.user_id | 1 | Using where |
SIMPLE | xfa_blog_read | eq_ref | user_id | user_id | 8 | const,m11459_uabets.xfa_blog.user_id | 1 | |
SELECT
*
FROM
xfa_blog_category
WHERE
user_id IN (20,0)
ORDER BY user_id ASC, display_order ASC
Run Time: 0.000402
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xfa_blog_category | range | id_user | id_user | 4 | | 2 | Using index condition; Using filesort |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 7afd4e9afec083e045ca1bd43dddb074, , 1713498572
Run Time: 0.000197
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_BlogEntry, Index, valid, entry_id=6154, 1713494972,
Run Time: 0.000113
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('xfa_blog_panel_blogroll', 'page_nav', 'estebbc_bb_code_tag_hide', 'estebbc_bb_code_tag_button', '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', 'xfa_blog_entry', 'EWRporta2_Navtabs', 'nflj_sportsbook_tab_links', 'siropu_custom_tabs_child_list', 'xfa_blog_navigation_links', 'siropu_chat', 'siropu_chat_disabled', 'xfa_blog_navigation_tab_link', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 1, 2
Run Time: 0.001621
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 20 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRME_page_container_head')
AND style_id = ?
AND language_id = ?
Params: 1, 2
Run Time: 0.000237
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_likes_library')
AND style_id = ?
AND language_id = ?
Params: 1, 2
Run Time: 0.000173
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 merc_ad_last_view
ORDER BY view_date ASC
Run Time: 0.000111
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | merc_ad_last_view | system | | | | | 0 | const row not found |