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.000468
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | ALL | PRIMARY | | | | 33 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000236
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 197746051
Run Time: 0.000300
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | no matching row in const table |
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_node_42)
Run Time: 0.025596
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | search_index | fulltext | title_message_metadata | title_message_metadata | 0 | const | 1 | Using where; Ft_hints: no_ranking; Using filesort |
SELECT
post.*
,
thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
thread.post_date AS thread_post_date,
post.user_id, post.username, post.post_date,
node.title AS node_title, node.node_name,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
permission.cache_value AS node_permission_cache, session.view_date
FROM xf_post AS post
INNER JOIN xf_thread AS thread ON
(thread.thread_id = post.thread_id)
INNER JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_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 OUTER JOIN xf_session_activity AS session ON post.user_id = session.user_id
WHERE post.post_id IN (757459, 757131, 706318, 671202, 633614, 633107, 632162, 628272, 627591, 601169, 595266, 581660, 579779, 574606, 542426, 541336, 384884, 384536, 384361, 338661, 319143, 319119, 318993, 318981, 318904, 318360, 318341, 292216, 283543, 214018, 213911, 213649, 157959, 120901, 61367)
Run Time: 0.001332
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | range | PRIMARY,thread_id_post_date,thread_id_position | PRIMARY | 4 | | 35 | Using where |
SIMPLE | thread | eq_ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | krainamaystriv.post.thread_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | krainamaystriv.thread.node_id | 1 | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | krainamaystriv.post.user_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,krainamaystriv.thread.node_id | 1 | Using where |
SIMPLE | session | ref | PRIMARY | PRIMARY | 4 | krainamaystriv.post.user_id | 20 | |
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
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)
WHERE thread.thread_id IN (25043, 19768)
Run Time: 0.000690
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 2 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | krainamaystriv.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | krainamaystriv.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | krainamaystriv.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,krainamaystriv.thread.node_id | 1 | Using where |
SELECT user.*
FROM xf_user AS user
WHERE (user.username LIKE 'ЗАПАХ%') AND (user.user_state = 'valid') AND (user.is_banned = 0)
ORDER BY user.username
LIMIT 10
Run Time: 0.000458
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | range | username,user_state | username | 152 | | 1 | Using index condition; Using where |
INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Params: [["post",757459],["post",757131],["post",706318],["post",671202],["post",633614],["post",633107],["post",632162],["post",628272],["post",627591],["post",601169],["post",595266],["post",581660],["thread",25043],["post",574606],["post",542426],["post",541336],["post",384884],["post",384536],["post",384361],["thread",19768],["post",319143],["post",319119],["post",318993],["post",318981],["post",318904],["post",318360],["post",318341],["post",292216],["post",283543],["post",214018],["post",213911],["post",213649],["post",157959],["post",120901],["post",61367]], 35, , ЗАПАХ, {"node":"42"}, date, 0, , [], 0, 1715026503, 9288cbe8d17ba5a53b008592706c3c35
Run Time: 0.011778
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 67fb7aafb8adb3d3dfcfde4b358bbfd2, , 1715030103
Run Time: 0.011716