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.001056
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using index condition |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: modLogCounts
Run Time: 0.000117
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000111
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: dark_postrating_ratings
Run Time: 0.000092
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | 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,
IF(sticky_thread_order.display_order IS NULL, 1000, sticky_thread_order.display_order) AS sticky_display_order
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN sticky_thread_order AS sticky_thread_order ON(sticky_thread_order.thread_id = thread.thread_id)
WHERE thread.thread_id = ?
Params: 4939
Run Time: 0.000230
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 | |
SIMPLE | sticky_thread_order | ref | PRIMARY | PRIMARY | 4 | const | 1 | Using index |
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: 22
Run Time: 0.000204
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,
pr_cache.rating_cache,
pr2.rating
FROM xf_post AS post
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 AND session_activity.unique_key = CAST(post.user_id AS BINARY))
left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
WHERE post.thread_id = ?
AND (post.position >= 680 AND post.position < 700)
AND (post.message_state IN ('visible'))
ORDER BY post.position ASC, post.post_date ASC
Params: 4939
Run Time: 0.000982
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | range | thread_id_post_date,thread_id_position | thread_id_position | 8 | | 31 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | rassvet.post.user_id,func | 1 | Using where |
SIMPLE | pr_cache | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.post.post_id | 1 | |
SIMPLE | pr2 | eq_ref | post_id_user_id,post_id_rating,user_id_rating | post_id_user_id | 8 | rassvet.post.post_id,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 (469842, 470297, 475239, 477888, 479482, 479693)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000538
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | range | content_type_id_date | content_type_id_date | 31 | | 9 | Using index condition |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.attachment.data_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 4939
Run Time: 0.000070
SELECT post_id
FROM xf_bookmark
WHERE xf_bookmark.user_id = ?
Params: 0
Run Time: 0.000191
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_bookmark | index | | post_user_id | 8 | | 351 | Using where; Using index |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: d76343d8b49136cd39a6fe74392cc747, a:7:{s:12:"sessionStart";i:1715595170;s:2:"ip";s:4:"v ";s:11:"sessionCsrf";s:16:"I9SiF1e4o70L3kKG";s:9:"userAgent";s:103:"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1556176024;}}, 1715598770
Run Time: 0.000117
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, v , v , XenForo_ControllerPublic_Thread, Index, valid, thread_id=4939&page=35, 1715595170,
Run Time: 0.000083
SELECT *
FROM xf_related_content_cache
WHERE content_id = ?
AND content_type = ?
AND expiry_date > ?
Params: 4939, thread, 1715595170
Run Time: 0.000182
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_related_content_cache | const | content_id_content_type | content_id_content_type | 31 | const,const | 1 | |
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', 'doublepost_bb_code_tag', 'conversationpost_post', 'conversationpost_userinfo', 'wf_widget_wrapper', 'related_content_results', 'tinhte_xentag_widget_related_threads', 'thread_view', 'notice_cookies', 'EWRatendo_Navtabs', 'modess_moderator_bar_mod_log_counts', 'wf_hook_moderator_bar', 'wf_revealer', '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', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 12, 2
Run Time: 0.000614
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 35 | Using index condition |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('events')
Params: 2
Run Time: 0.000100
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_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_fda3b506eb2f3cc38f24d', 'wfc__1_thread_view_t4939')
Run Time: 0.000127
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using index condition |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_dcff9ae7783af8f69fafa')
Run Time: 0.000084
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_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_dcff9ae7783af8f69fafa, a:1:{s:27:"thread_view_lock_rct4939_19";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1715595170;}}
Run Time: 0.000090
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_fda3b506eb2f3cc38f24d, a:1:{s:22:"thread_view_rct4939_19";a:2:{s:4:"html";s:0:"";s:4:"time";i:1715595170;}}
Run Time: 0.000067
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_dcff9ae7783af8f69fafa, a:1:{s:27:"thread_view_lock_rct4939_19";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1715595170;}}
Run Time: 0.000063
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_cdd88d7181914dca0a3d3')
Run Time: 0.000083
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_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_cdd88d7181914dca0a3d3, a:1:{s:25:"thread_view_lock_t4939_18";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1715595170;}}
Run Time: 0.000068
SELECT search_index.content_type, search_index.content_id
FROM xf_search_index AS search_index
WHERE MATCH(search_index.title, search_index.message, search_index.metadata) AGAINST (? IN BOOLEAN MODE)
ORDER BY search_index.item_date desc
LIMIT 200
Params: +_md_tag_284 +_md_tag_283 +(_md_content_thread)
Run Time: 0.000280
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | fulltext | title_message_metadata | title_message_metadata | 0 | | 1 | Using where; Using filesort |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache,
pr_cache.rating_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
left join dark_postrating_post_cache pr_cache ON (thread.first_post_id = pr_cache.post_id)
WHERE thread.thread_id IN (19510, 16781, 15419, 15259, 14795, 4939)
Run Time: 0.000505
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 6 | Using index condition |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,rassvet.thread.node_id | 1 | Using where |
SIMPLE | pr_cache | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.thread.first_post_id | 1 | |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000273
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 57 | 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.000345
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 61 | Using index condition |
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE ((thread.node_id IN (50, 3, 4, 5, 6, 7, 28, 29, 36, 37, 38, 39, 30, 40, 31, 51, 34, 35, 32, 33, 18, 19, 25, 27, 20, 21, 22, 23, 24, 48, 59, 60, 61, 26, 47, 8, 12, 62, 9, 13, 55, 10, 42, 43, 44, 14, 15, 16, 17, 49, 56)) AND (thread.discussion_state IN ('visible'))) AND (thread.thread_id IN (19510, 16781, 15419, 15259, 14795, 4939))
ORDER BY thread.post_date DESC
LIMIT 20
Run Time: 0.000766
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | | 6 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | rassvet.thread.user_id | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_thread_view_t4939, a:1:{s:20:"thread_view_t4939_18";a:2:{s:4:"html";s:4134:"<div class="avatarList">
<ul>
<li class="thread-19510 thread-node-23">
<a href="index.php?members/fler.3980/" class="avatar Av3980s" data-avatarhtml="true"><img src="styles/soft_responsive/xenforo/avatars/avatar_female_s.png" width="48" height="48" alt="Fler" /></a>
<a title="Компьютер/монитор для обработки фото" class="Tooltip"
href="index.php?threads/kompjuter-monitor-dlja-obrabotki-foto.19510/">
Компьютер/монитор для обработки...
</a>
<div class="userTitle">
<a href="index.php?members/fler.3980/">Fler</a> posted <span class="DateTime" title="13 сен 2018 в 20:40">13 сен 2018</span>
</div>
</li>
<li class="thread-16781 thread-node-22">
<a href="index.php?members/alexey.267/" class="avatar Av267s" data-avatarhtml="true"><img src="data/avatars/s/0/267.jpg?1359665533" width="48" height="48" alt="Alexey" /></a>
<a
href="index.php?threads/xaljava-dlja-fotografov-ot-gugl.16781/">
Халява для фотографов от гугл
</a>
<div class="userTitle">
<a href="index.php?members/alexey.267/">Alexey</a> posted <span class="DateTime" title="25 мар 2016 в 17:46">25 мар 2016</span>
</div>
</li>
<li class="thread-15419 thread-node-22">
<a href="index.php?members/yadviga.2841/" class="avatar Av2841s" data-avatarhtml="true"><img src="data/avatars/s/2/2841.jpg?1368911982" width="48" height="48" alt="Yadviga" /></a>
<a
href="index.php?threads/snjat-foto-studiju.15419/">
снять фото студию
</a>
<div class="userTitle">
<a href="index.php?members/yadviga.2841/">Yadviga</a> posted <span class="DateTime" title="3 дек 2014 в 12:50">3 дек 2014</span>
</div>
</li>
<li class="thread-15259 thread-node-23">
<a href="index.php?members/relgames.2977/" class="avatar Av2977s" data-avatarhtml="true"><img src="data/avatars/s/2/2977.jpg?1454409828" width="48" height="48" alt="relgames" /></a>
<a
href="index.php?threads/foto-arxiv-na-os-x.15259/">
Фото архив на OS X
</a>
<div class="userTitle">
<a href="index.php?members/relgames.2977/">relgames</a> posted <span class="DateTime" title="28 сен 2014 в 18:58">28 сен 2014</span>
</div>
</li>
<li class="thread-14795 thread-node-23">
<a href="index.php?members/ncux.463/" class="avatar Av463s" data-avatarhtml="true"><img src="data/avatars/s/0/463.jpg?1478376912" width="48" height="48" alt="ncux" /></a>
<a title="Фотоновости: Интересное из мира фотографии и фототехники" class="Tooltip"
href="index.php?threads/fotonovosti-interesnoe-iz-mira-fotografii-i-fototexniki.14795/">
Фотоновости: Интересное из мира...
</a>
<div class="userTitle">
<a href="index.php?members/ncux.463/">ncux</a> posted <span class="DateTime" title="10 май 2014 в 21:22">10 май 2014</span>
</div>
</li>
<li class="thread-4939 thread-node-22">
<a href="index.php?members/peter.1141/" class="avatar Av1141s" data-avatarhtml="true"><img src="data/avatars/s/1/1141.jpg?1359665533" width="48" height="48" alt="Peter" /></a>
<a title="Давайте я вам фотки покажу? И все друг другу тоже. (Хобби такое :-))" class="Tooltip"
href="index.php?threads/davajte-ja-vam-fotki-pokazhu-i-vse-drug-drugu-tozhe-xobbi-takoe.4939/">
Давайте я вам фотки покажу? И...
</a>
<div class="userTitle">
<a href="index.php?members/peter.1141/">Peter</a> posted <span class="DateTime" title="18 авг 2005 в 15:50">18 авг 2005</span>
</div>
</li>
</ul>
</div>";s:4:"time";i:1715595170;}}
Run Time: 0.000137
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_cdd88d7181914dca0a3d3, a:1:{s:25:"thread_view_lock_t4939_18";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1715595170;}}
Run Time: 0.000076
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('nat_bodyjs')
AND style_id = ?
AND language_id = ?
Params: 12, 2
Run Time: 0.000109
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |