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.000621
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.000278
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: 55392774
Run Time: 0.000586
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
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: +Rodchenkov
Run Time: 0.000983
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
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
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)
WHERE post.post_id IN (278326, 268435, 266730, 266729, 266375, 265687, 265673, 265668, 265667, 265656, 265610, 265605, 265601, 265599, 265553, 265388, 265386, 261192, 259071, 259061, 258820, 258816, 258793, 258791, 258771, 258577, 258542, 258512, 257675)
Run Time: 0.005042
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 | | 29 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | admin_xfschaats.post.user_id | 1 | |
SIMPLE | thread | eq_ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | admin_xfschaats.post.thread_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | admin_xfschaats.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,admin_xfschaats.thread.node_id | 1 | Using where |
SELECT user.*
FROM xf_user AS user
WHERE (user.username LIKE 'Rodchenkov%') AND (user.user_state = 'valid') AND (user.is_banned = 0)
ORDER BY user.username
LIMIT 10
Run Time: 0.000737
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",278326],["post",268435],["post",266730],["post",266729],["post",266375],["post",265687],["post",265673],["post",265668],["post",265667],["post",265656],["post",265610],["post",265605],["post",265601],["post",265599],["post",265553],["post",265388],["post",265386],["post",261192],["post",259071],["post",259061],["post",258820],["post",258816],["post",258793],["post",258791],["post",258771],["post",258577],["post",258542],["post",258512],["post",257675]], 29, , Rodchenkov, [], date, 0, , [], 0, 1715340641, 485c3f6d9155530aa3e56e7daa4f5737
Run Time: 0.000639
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 6b240ba890529ad8253b630a6a39f78c, , 1715344241
Run Time: 0.000186