SELECT *
FROM xf_brivium_addon
ORDER BY addon_id
Run Time: 0.001385
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_addon | index | | PRIMARY | 77 | | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: brBriviumAddOns, a:0:{}
Run Time: 0.000494
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000389
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar,
NULL AS thread_read_date,
0 AS thread_reply_banned,
0 AS thread_is_watched,
'' AS draft_message, NULL AS draft_extra
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE thread.thread_id = ?
Params: 2422
Run Time: 0.000958
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_id = ?
Params: 41
Run Time: 0.000645
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT post.*
,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
user_profile.*,
user_privacy.*,
session_activity.view_date AS last_view_date,
0 AS like_date
FROM xf_post AS post
LEFT JOIN xf_thread AS thread ON
(thread.thread_id = post.thread_id AND thread.post_sticky = 1)
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = post.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = post.user_id)
LEFT JOIN xf_session_activity AS session_activity ON
(post.user_id > 0 AND session_activity.user_id = post.user_id)
WHERE post.thread_id = ?
AND (((post.message_state IN ('visible'))
AND (post.position >= 420 AND post.position < 440) ) OR (post.post_id = thread.first_post_id AND thread.post_sticky))
ORDER BY post.position ASC, post.post_date ASC
Params: 2422
Run Time: 0.040083
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | ref | PRIMARY,thread_id_post_date,thread_id_position | thread_id_post_date | 4 | const | 4764 | Using where; Using filesort |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.post.thread_id | 1 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.post.user_id | 1 | |
SIMPLE | session_activity | ref | PRIMARY | PRIMARY | 4 | fishingk_xen.post.user_id | 1 | Using where |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 2422
Run Time: 0.003320
SELECT *
FROM xf_brivium_metadata
WHERE content_type = ? AND content_id = ?
Params: thread, 2422
Run Time: 0.001472
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_metadata | ALL | | | | | 4037 | Using where |
SELECT *
FROM xf_brivium_metadata
WHERE content_type = ? AND content_id = ?
Params: forum, 41
Run Time: 0.001252
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_metadata | ALL | | | | | 4037 | Using where |
SELECT thread.*
,
0 AS thread_reply_banned
FROM xf_thread AS thread
WHERE thread.thread_id = ?
Params: 2422
Run Time: 0.000514
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_id = ?
Params: 41
Run Time: 0.000620
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.001087
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 91 | Using filesort |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000617
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 88 | Using index condition |
SELECT params
FROM xf_session_activity
WHERE user_id = '0'
AND controller_action = 'CreateThread'
Run Time: 0.000327
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session_activity | ref | PRIMARY | PRIMARY | 4 | const | 1 | Using where |
SELECT xf_thread.thread_id,
xf_thread.node_id,
xf_thread.title,
xf_thread.reply_count,
xf_thread.view_count,
xf_thread.username,
xf_thread.post_date,
xf_thread.last_post_date,
xf_thread.last_post_user_id,
xf_thread.last_post_username,
xf_node.title AS nodeTitle,
xf_user.user_id,
xf_user.gender,
xf_user.avatar_date
FROM xf_thread
INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
INNER JOIN xf_user ON xf_user.user_id = xf_thread.user_id
WHERE xf_thread.title LIKE '%Вопрос%'
AND xf_thread.title LIKE '%ответ%'
AND xf_thread.discussion_state = 'visible'
AND xf_thread.discussion_type <> 'redirect'
AND (xf_thread.node_id = 12 OR xf_thread.node_id = 26 OR xf_thread.node_id = 42 OR xf_thread.node_id = 57 OR xf_thread.node_id = 59 OR xf_thread.node_id = 101 OR xf_thread.node_id = 100 OR xf_thread.node_id = 105 OR xf_thread.node_id = 43 OR xf_thread.node_id = 44 OR xf_thread.node_id = 73 OR xf_thread.node_id = 74 OR xf_thread.node_id = 75 OR xf_thread.node_id = 76 OR xf_thread.node_id = 45 OR xf_thread.node_id = 28 OR xf_thread.node_id = 27 OR xf_thread.node_id = 113 OR xf_thread.node_id = 54 OR xf_thread.node_id = 63 OR xf_thread.node_id = 64 OR xf_thread.node_id = 65 OR xf_thread.node_id = 66 OR xf_thread.node_id = 67 OR xf_thread.node_id = 112 OR xf_thread.node_id = 68 OR xf_thread.node_id = 69 OR xf_thread.node_id = 95 OR xf_thread.node_id = 98 OR xf_thread.node_id = 16 OR xf_thread.node_id = 25 OR xf_thread.node_id = 30 OR xf_thread.node_id = 29 OR xf_thread.node_id = 31 OR xf_thread.node_id = 50 OR xf_thread.node_id = 18 OR xf_thread.node_id = 1 OR xf_thread.node_id = 19 OR xf_thread.node_id = 36 OR xf_thread.node_id = 33 OR xf_thread.node_id = 2 OR xf_thread.node_id = 37 OR xf_thread.node_id = 107 OR xf_thread.node_id = 108 OR xf_thread.node_id = 109 OR xf_thread.node_id = 110 OR xf_thread.node_id = 111 OR xf_thread.node_id = 23 OR xf_thread.node_id = 102 OR xf_thread.node_id = 84 OR xf_thread.node_id = 83 OR xf_thread.node_id = 85 OR xf_thread.node_id = 86 OR xf_thread.node_id = 81 OR xf_thread.node_id = 87 OR xf_thread.node_id = 80 OR xf_thread.node_id = 88 OR xf_thread.node_id = 89 OR xf_thread.node_id = 90 OR xf_thread.node_id = 91 OR xf_thread.node_id = 92 OR xf_thread.node_id = 79 OR xf_thread.node_id = 82 OR xf_thread.node_id = 103 OR xf_thread.node_id = 22 OR xf_thread.node_id = 39 OR xf_thread.node_id = 41 OR xf_thread.node_id = 56 OR xf_thread.node_id = 53 OR xf_thread.node_id = 96 OR xf_thread.node_id = 52 OR xf_thread.node_id = 55 OR xf_thread.node_id = 60 OR xf_thread.node_id = 61 OR xf_thread.node_id = 62 OR xf_thread.node_id = 10 OR xf_thread.node_id = 77 OR xf_thread.node_id = 72 OR xf_thread.node_id = 6 OR xf_thread.node_id = 11 OR xf_thread.node_id = 13 OR xf_thread.node_id = 70 OR xf_thread.node_id = 99)
AND xf_thread.thread_id <> '2422'
ORDER BY xf_thread.thread_id DESC
LIMIT 5
Run Time: 0.026321
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,user_id | PRIMARY | 4 | | 6 | Using where |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.xf_thread.node_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.xf_thread.user_id | 1 | |
SELECT xf_thread.thread_id,
xf_thread.node_id,
xf_thread.title,
xf_thread.reply_count,
xf_thread.view_count,
xf_thread.username,
xf_thread.post_date,
xf_thread.last_post_date,
xf_thread.last_post_user_id,
xf_thread.last_post_username,
xf_node.title AS nodeTitle,
xf_user.user_id,
xf_user.gender,
xf_user.avatar_date
FROM xf_thread
INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
INNER JOIN xf_user ON xf_user.user_id = xf_thread.user_id
WHERE xf_thread.title LIKE '%Вопрос%'
AND xf_thread.discussion_state = 'visible'
AND xf_thread.discussion_type <> 'redirect'
AND (xf_thread.node_id = 12 OR xf_thread.node_id = 26 OR xf_thread.node_id = 42 OR xf_thread.node_id = 57 OR xf_thread.node_id = 59 OR xf_thread.node_id = 101 OR xf_thread.node_id = 100 OR xf_thread.node_id = 105 OR xf_thread.node_id = 43 OR xf_thread.node_id = 44 OR xf_thread.node_id = 73 OR xf_thread.node_id = 74 OR xf_thread.node_id = 75 OR xf_thread.node_id = 76 OR xf_thread.node_id = 45 OR xf_thread.node_id = 28 OR xf_thread.node_id = 27 OR xf_thread.node_id = 113 OR xf_thread.node_id = 54 OR xf_thread.node_id = 63 OR xf_thread.node_id = 64 OR xf_thread.node_id = 65 OR xf_thread.node_id = 66 OR xf_thread.node_id = 67 OR xf_thread.node_id = 112 OR xf_thread.node_id = 68 OR xf_thread.node_id = 69 OR xf_thread.node_id = 95 OR xf_thread.node_id = 98 OR xf_thread.node_id = 16 OR xf_thread.node_id = 25 OR xf_thread.node_id = 30 OR xf_thread.node_id = 29 OR xf_thread.node_id = 31 OR xf_thread.node_id = 50 OR xf_thread.node_id = 18 OR xf_thread.node_id = 1 OR xf_thread.node_id = 19 OR xf_thread.node_id = 36 OR xf_thread.node_id = 33 OR xf_thread.node_id = 2 OR xf_thread.node_id = 37 OR xf_thread.node_id = 107 OR xf_thread.node_id = 108 OR xf_thread.node_id = 109 OR xf_thread.node_id = 110 OR xf_thread.node_id = 111 OR xf_thread.node_id = 23 OR xf_thread.node_id = 102 OR xf_thread.node_id = 84 OR xf_thread.node_id = 83 OR xf_thread.node_id = 85 OR xf_thread.node_id = 86 OR xf_thread.node_id = 81 OR xf_thread.node_id = 87 OR xf_thread.node_id = 80 OR xf_thread.node_id = 88 OR xf_thread.node_id = 89 OR xf_thread.node_id = 90 OR xf_thread.node_id = 91 OR xf_thread.node_id = 92 OR xf_thread.node_id = 79 OR xf_thread.node_id = 82 OR xf_thread.node_id = 103 OR xf_thread.node_id = 22 OR xf_thread.node_id = 39 OR xf_thread.node_id = 41 OR xf_thread.node_id = 56 OR xf_thread.node_id = 53 OR xf_thread.node_id = 96 OR xf_thread.node_id = 52 OR xf_thread.node_id = 55 OR xf_thread.node_id = 60 OR xf_thread.node_id = 61 OR xf_thread.node_id = 62 OR xf_thread.node_id = 10 OR xf_thread.node_id = 77 OR xf_thread.node_id = 72 OR xf_thread.node_id = 6 OR xf_thread.node_id = 11 OR xf_thread.node_id = 13 OR xf_thread.node_id = 70 OR xf_thread.node_id = 99)
AND xf_thread.thread_id <> '2422'
AND xf_thread.thread_id <> 4550 AND xf_thread.thread_id <> 201
ORDER BY xf_thread.thread_id DESC
LIMIT 3
Run Time: 0.018955
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,user_id | PRIMARY | 4 | | 3 | Using where |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.xf_thread.node_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | fishingk_xen.xf_thread.user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 0a19bc72880219a8d607389eecc5afc8, , 1726884975
Run Time: 0.026202
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_Thread, Index, valid, thread_id=2422&page=22, 1726881375,
Run Time: 0.000264
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'tinhte_xentag_bb_code_tag_tag', 'tinhte_xentag_bb_code_tag_hashtag', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'sonnb_xengallery_bbcode_photo', 'sonnb_xengallery_bbcode_video', 'sonnb_xengallery_bbcode_album', 'bdmedal_message_medals', 'SFP_thread_view', 'SFP_message_classes', 'tinhte_xentag_thread_view', 'tinhte_xentag_hook_thread_view_pagenav_before', 'tinhte_xentag_hook_thread_view_form_before', 'tinhte_xentag_hook_thread_view_qr_before', 'tinhte_xentag_hook_thread_view_qr_after', 'rotating_ads_second_post', 'BRME_page_container_head', 'xengallery_bb_code_tag_gallery', 'thread_view', 'EWRporta_Navtabs', 'iversia_faq_navtabs', 'xenzine_nav', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'xenCODE_Meta_Keywords', 'bdmedal_navigation_tabs_help', 'wf_hook_moderator_bar', 'wf_revealer', 'tinhte_xentag_hook_message_below', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_navigation_tabs_forums', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'rotating_ads_slider', 'sonnb_xengallery_nav_visitor', 'xengallery_media_block_items', 'xengallery_comments_block', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.001047
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 45 | Using index condition |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('home', 'iversia_faq', 'xz_articles_nav')
Params: 1
Run Time: 0.000366
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 3 | Using index condition |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('SFP_message_classes')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000398
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbms_twitter_css')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000275
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 ('xxbb_css')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000269
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 ('SFP_js_first_post')
AND style_id = ?
AND language_id = ?
Params: 2, 1
Run Time: 0.000249
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: 2, 1
Run Time: 0.000323
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |