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.000646
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.000304
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: 5288593
Run Time: 0.000382
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
SELECT thread.*
,
forum.*,
forum.last_post_id AS forum_last_post_id,
forum.last_post_date AS forum_last_post_date,
forum.last_post_user_id AS forum_last_post_user_id,
forum.last_post_username AS forum_last_post_username,
forum.last_thread_title AS forum_last_thread_title,
thread.last_post_id,
thread.last_post_date,
thread.last_post_user_id,
thread.last_post_username,
0 AS thread_is_watched,
0 AS forum_is_watched
FROM xf_thread AS thread
LEFT JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id)
WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1709079046) AND (forum.find_new = 1)
ORDER BY thread.last_post_date DESC
LIMIT 200
Run Time: 0.001284
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | node_id_last_post_date,node_id_sticky_state_last_post,last_post_date | last_post_date | 4 | | 31 | Using where |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | admin_xfschaats.thread.node_id | 1 | Using where |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
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_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 (11645, 11633, 11643, 11637, 11646, 11631, 11641, 11528, 11639, 5146, 11642, 11640, 11636, 11291, 11627, 11506, 11630, 11638, 9112, 11632, 11618, 11602, 11625, 11629, 11635, 11606, 11494, 11628, 11617, 11624, 11608)
Run Time: 0.001113
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 31 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | admin_xfschaats.thread.user_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 |
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: [["thread",11645],["thread",11633],["thread",11643],["thread",11637],["thread",11646],["thread",11631],["thread",11641],["thread",11528],["thread",11639],["thread",5146],["thread",11642],["thread",11640],["thread",11636],["thread",11291],["thread",11627],["thread",11506],["thread",11630],["thread",11638],["thread",9112],["thread",11632],["thread",11618],["thread",11602],["thread",11625],["thread",11629],["thread",11635],["thread",11606],["thread",11494],["thread",11628],["thread",11617],["thread",11624],["thread",11608]], 31, recent-posts, , [], date, 0, , [], 0, 1711671046, 33d9f6025f582b3ef32bd337677090fe
Run Time: 0.000791
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: cad89c8ca8eef77955681ae2646b8a6d, , 1711674646
Run Time: 0.000273