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.001111
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.000134
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.000098
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: 14093
Run Time: 0.000235
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: 16
Run Time: 0.000208
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 >= 2360 AND post.position < 2380)
AND (post.message_state IN ('visible'))
ORDER BY post.position ASC, post.post_date ASC
Params: 14093
Run Time: 0.000980
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 | | 22 | 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 (435146, 435148, 435158)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000284
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | range | content_type_id_date | content_type_id_date | 31 | | 3 | 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: 14093
Run Time: 0.000062
SELECT post_id
FROM xf_bookmark
WHERE xf_bookmark.user_id = ?
Params: 0
Run Time: 0.000155
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: 1df415d0ef319daca7a11ffc8de989f2, , 1714275643
Run Time: 0.000098
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=14093&page=119, 1714272043,
Run Time: 0.000058
SELECT *
FROM xf_related_content_cache
WHERE content_id = ?
AND content_type = ?
AND expiry_date > ?
Params: 14093, thread, 1714272043
Run Time: 0.000098
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 DISTINCT content_type, content_id
FROM xf_tag_content
WHERE tag_id IN (1520, 1521, 908)
AND content_id <> ?
AND content_type IN ('node', 'post', 'thread')
AND visible = 1
ORDER BY content_date DESC
LIMIT 5
Params: 14093
Run Time: 0.000206
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_tag_content | range | content_type_id_tag,tag_id_content_date | tag_id_content_date | 4 | | 5 | Using index condition; Using where; Using temporary; 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 (14226)
Run Time: 0.000259
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 | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SIMPLE | pr_cache | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
INSERT INTO xf_related_content_cache
(content_id, content_type, cache_date, expiry_date, results)
VALUES
(?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE
cache_date = VALUES(cache_date),
expiry_date = VALUES(expiry_date),
results = VALUES(results)
Params: 14093, thread, 1714272043, 1714275643, [{"0":"thread","1":14226,"content":{"thread_id":14226,"node_id":9,"title":"\u0422\u0440\u043e\u043b\u0438 \u0438 \u0431\u043e\u0440\u044c\u0431\u0430 \u0441 \u043d\u0438\u043c\u0438","reply_count":8,"view_count":1633,"user_id":166,"username":"Stas","post_date":1387195242,"sticky":0,"discussion_state":"visible","discussion_open":1,"discussion_type":"","first_post_id":196233,"first_post_likes":0,"last_post_date":1387202553,"last_post_id":196260,"last_post_user_id":309,"last_post_username":"devoid","prefix_id":0,"tags":"a:5:{i:910;a:2:{s:3:\"tag\";s:18:\"\u043b\u0435\u0432\u043e\u0441\u0443\u0434\u0438\u0435\";s:7:\"tag_url\";s:9:\"levosudie\";}i:782;a:2:{s:3:\"tag\";s:20:\"\u043f\u0440\u0430\u0432\u043e\u0441\u0443\u0434\u0438\u0435\";s:7:\"tag_url\";s:10:\"pravosudie\";}i:909;a:2:{s:3:\"tag\";s:20:\"\u043f\u0440\u043e\u0432\u043e\u043a\u0430\u0446\u0438\u0438\";s:7:\"tag_url\";s:10:\"provokacii\";}i:908;a:2:{s:3:\"tag\";s:10:\"\u0444\u043b\u0435\u0439\u043c\";s:7:\"tag_url\";s:5:\"flejm\";}i:14;a:2:{s:3:\"tag\";s:10:\"\u0444\u043e\u0440\u0443\u043c\";s:7:\"tag_url\";s:5:\"forum\";}}","email":"stas@voroniy.com","gender":"male","custom_title":"","language_id":2,"style_id":0,"timezone":"Europe\/Amsterdam","visible":1,"user_group_id":6,"secondary_group_ids":"10,14","display_style_group_id":6,"permission_combination_id":103,"message_count":8550,"conversations_unread":0,"register_date":1033337092,"last_activity":1590441093,"trophy_points":214,"alerts_unread":3,"avatar_date":1359665533,"avatar_width":192,"avatar_height":192,"gravatar":"","user_state":"valid","is_moderator":0,"is_admin":0,"is_banned":0,"like_count":1895,"warning_points":0,"is_staff":0,"activity_visible":1,"privacy_policy_accepted":0,"terms_accepted":0,"node_title":"\u041e \u041a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438","node_name":"o-konferentsii","message":"\u0412\u043e\u0442 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043c\u043d\u0435 \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435 \"\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0444\u043e\u0440\u0443\u043c\u0430\" \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443- \n\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u043e\u043b\u044f (\u0442.\u0435. \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u043f\u043e\u0441\u0442\u044f\u0449\u0435\u0433\u043e \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u043f\u0440\u043e\u0432\u043e\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0432\u0435\u0449\u0438, \u0432\u044b\u0440\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u0446\u0438\u0442\u0430\u0442\u044b \u0438\/\u0438\u043b\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u043f\u0440\u0430\u0432\u043e\u0446\u0438\u0440\u043e\u044e\u0449\u0438\u0435 \u0444\u043b\u0435\u0439\u043c \u0438 \u0442.\u0434. \u0438 \u0442.\u043f.) \u0442\u0440\u043e\u043b\u0435\u043c \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u0435\u043c \u0444\u043e\u0440\u0443\u043c\u043d\u043e\u0439 \u044d\u0442\u0438\u043a\u0438. \u0410 \u0442\u0430\u043a\u0436\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u0438 \u043d\u0430\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u043c\u0438 \u0434\u0435\u044f\u043d\u0438\u044f\u043c\u0438 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0442\u0440\u043e\u043b\u044f \u0432 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0433\u043d\u043e\u0440-\u043b\u0438\u0441\u0442 \u0438 \u043f\u0440\u0438\u0437\u044b\u0432\u044b \u043a \u0434\u0440\u0443\u0433\u0438\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435.\n\u0417\u0430\u0440\u0430\u043d\u0435\u0435 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d \u0437\u0430 \u0440\u0430\u0437\u044c\u044f\u0441\u043d\u0435\u043d\u0438\u0435.","attach_count":0,"thread_read_date":null,"user_post_count":0,"node_permission_cache":"a:40:{s:10:\"viewOthers\";b:1;s:11:\"viewContent\";b:1;s:22:\"viewThreadPlaceholders\";b:0;s:20:\"viewPostPlaceholders\";b:0;s:4:\"like\";b:0;s:10:\"postThread\";b:0;s:18:\"stickUnstickThread\";b:0;s:9:\"postReply\";b:0;s:16:\"lockUnlockThread\";b:0;s:11:\"editOwnPost\";b:0;s:20:\"editOwnPostTimeLimit\";i:0;s:17:\"snogFirstPostEdit\";i:0;s:18:\"editOwnThreadTitle\";b:0;s:13:\"deleteOwnPost\";b:0;s:15:\"deleteOwnThread\";b:0;s:15:\"manageAnyThread\";b:0;s:14:\"viewAttachment\";b:0;s:16:\"uploadAttachment\";b:0;s:12:\"tagOwnThread\";b:0;s:12:\"tagAnyThread\";b:0;s:25:\"manageOthersTagsOwnThread\";b:0;s:15:\"deleteAnyThread\";b:0;s:19:\"hardDeleteAnyThread\";b:0;s:14:\"threadReplyBan\";b:0;s:8:\"votePoll\";b:0;s:11:\"editAnyPost\";b:0;s:13:\"deleteAnyPost\";b:0;s:17:\"hardDeleteAnyPost\";b:0;s:4:\"warn\";b:0;s:12:\"manageAnyTag\";b:0;s:11:\"viewDeleted\";b:0;s:13:\"viewModerated\";b:0;s:8:\"undelete\";b:0;s:16:\"approveUnapprove\";b:0;s:24:\"doublepost_merge_minutes\";i:0;s:23:\"doublepost_bump_minutes\";i:0;s:11:\"listRatings\";b:0;s:8:\"ratePost\";b:0;s:12:\"deleteRating\";b:0;s:4:\"view\";b:1;}","rating_cache":[],"permissions":{"viewOthers":true,"viewContent":true,"viewThreadPlaceholders":false,"viewPostPlaceholders":false,"like":false,"postThread":false,"stickUnstickThread":false,"postReply":false,"lockUnlockThread":false,"editOwnPost":false,"editOwnPostTimeLimit":0,"snogFirstPostEdit":0,"editOwnThreadTitle":false,"deleteOwnPost":false,"deleteOwnThread":false,"manageAnyThread":false,"viewAttachment":false,"uploadAttachment":false,"tagOwnThread":false,"tagAnyThread":false,"manageOthersTagsOwnThread":false,"deleteAnyThread":false,"hardDeleteAnyThread":false,"threadReplyBan":false,"votePoll":false,"editAnyPost":false,"deleteAnyPost":false,"hardDeleteAnyPost":false,"warn":false,"manageAnyTag":false,"viewDeleted":false,"viewModerated":false,"undelete":false,"approveUnapprove":false,"doublepost_merge_minutes":0,"doublepost_bump_minutes":0,"listRatings":false,"ratePost":false,"deleteRating":false,"view":true},"forum":{"node_id":9,"title":"\u041e \u041a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438","node_name":"o-konferentsii"},"canInlineMod":false,"canEditThread":false,"isNew":false,"haveReadData":false,"hasPreview":true,"canViewContent":true,"isRedirect":false,"isDeleted":false,"isModerated":false,"titleCensored":true,"lastPageNumbers":false,"lastPostInfo":{"post_date":1387202553,"post_id":196260,"user_id":309,"username":"devoid","isIgnoring":false},"customFields":[],"externalAuth":[],"isTrusted":false,"isIgnored":false,"tagsList":{"910":{"tag":"\u043b\u0435\u0432\u043e\u0441\u0443\u0434\u0438\u0435","tag_url":"levosudie"},"782":{"tag":"\u043f\u0440\u0430\u0432\u043e\u0441\u0443\u0434\u0438\u0435","tag_url":"pravosudie"},"909":{"tag":"\u043f\u0440\u043e\u0432\u043e\u043a\u0430\u0446\u0438\u0438","tag_url":"provokacii"},"908":{"tag":"\u0444\u043b\u0435\u0439\u043c","tag_url":"flejm"},"14":{"tag":"\u0444\u043e\u0440\u0443\u043c","tag_url":"forum"}},"dark_postrating_max":0,"dark_postrating_max_id":0}}]
Run Time: 0.005874
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.000635
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.000099
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_f1700c3b617407abb3af0', 'wfc__1_thread_view_t14093')
Run Time: 0.000121
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_784ab2dcdb747082b1b14')
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_784ab2dcdb747082b1b14, a:1:{s:28:"thread_view_lock_rct14093_19";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1714272043;}}
Run Time: 0.000094
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_f1700c3b617407abb3af0, a:1:{s:23:"thread_view_rct14093_19";a:2:{s:4:"html";s:0:"";s:4:"time";i:1714272043;}}
Run Time: 0.000069
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_784ab2dcdb747082b1b14, a:1:{s:28:"thread_view_lock_rct14093_19";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714272043;}}
Run Time: 0.000064
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_6ce7004a5603215b4f185')
Run Time: 0.000170
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_6ce7004a5603215b4f185, a:1:{s:26:"thread_view_lock_t14093_18";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1714272043;}}
Run Time: 0.000070
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_1520 +_md_tag_1521 +_md_tag_908 +(_md_content_thread)
Run Time: 0.000196
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 (14093)
Run Time: 0.000341
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 | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SIMPLE | pr_cache | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000306
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.000239
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 (14093))
ORDER BY thread.post_date DESC
LIMIT 20
Run Time: 0.000146
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 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_t14093, a:1:{s:21:"thread_view_t14093_18";a:2:{s:4:"html";s:642:"<div class="avatarList">
<ul>
<li class="thread-14093 thread-node-16">
<a href="index.php?members/devoid.309/" class="avatar Av309s" data-avatarhtml="true"><img src="data/avatars/s/0/309.jpg?1425224051" width="48" height="48" alt="devoid" /></a>
<a
href="index.php?threads/offtop.14093/">
Оффтоп
</a>
<div class="userTitle">
<a href="index.php?members/devoid.309/">devoid</a> posted <span class="DateTime" title="5 ноя 2013 в 14:10">5 ноя 2013</span>
</div>
</li>
</ul>
</div>";s:4:"time";i:1714272043;}}
Run Time: 0.000069
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_6ce7004a5603215b4f185, a:1:{s:26:"thread_view_lock_t14093_18";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1714272043;}}
Run Time: 0.000052
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.000091
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 60 | const,const,const | 1 | |