SELECT cache_value FROM xf_permission_combination WHERE permission_combination_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT user.* FROM xf_user AS user WHERE user.user_id = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 |
SELECT search_index.content_type, search_index.content_id FROM xf_search_index AS search_index WHERE search_index.user_id = ? ORDER BY search_index.item_date DESC LIMIT 200
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | search_index | ref | user_id_item_date | user_id_item_date | 4 | const | 802 | Using where |
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 (921868, 921859, 916207, 913873, 913850, 913846, 913838, 913837, 913833, 913446, 913443, 910380, 910316, 910251, 910245, 910176, 907201, 904197, 901596, 900220, 898446, 898385, 895477, 889473, 888995, 421927, 413959, 357066, 275952, 275234, 273681, 260874, 259179, 257110, 252361, 250248, 240374, 240098, 240064, 231453, 231308, 229563, 228175, 228019, 227629, 227598, 223792, 194128, 170667, 170059, 169491, 158914, 158776, 155510, 155370, 151156, 150625, 149209, 146949, 143886, 140950, 140479, 140420, 140153, 139818, 138743, 137280, 137270, 137199, 137127, 136604, 135394, 135333, 134747, 134726, 134630, 134569, 132162, 132106, 132104, 132071, 131950, 131948, 131726, 131491, 131376, 131367, 131215, 130643, 130584, 130468, 129228, 129031, 129002, 128998, 128944, 128906, 128894, 128882, 128879, 128874, 128871, 128854, 128836, 128834, 128630, 128557, 128542, 127462, 127425, 127382, 123768, 123765, 123679, 123641, 123002, 122980, 122955, 122051, 122047, 121614, 121612, 121595, 121563, 121543, 121539, 121538, 121528, 121375, 121116, 121114, 121104, 121030, 120974, 120967, 120954, 120947, 120943, 120939, 120928, 120925, 120902, 120851, 120767, 120596, 120564, 120535, 120533, 120193, 119718, 119711, 119538, 119348, 119264, 119087, 119042, 119038, 119010, 118593, 118592, 118588, 118580, 118554, 118553, 118373, 118348, 118021, 117984, 117980, 117968, 117479, 117162, 117153, 116883, 116605, 116586, 116480, 116477, 115380, 115338, 114816, 114740, 114665, 114294, 114223, 114205, 114170, 114151, 114146, 114129, 113714)
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 | 191 | Using where | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.post.user_id | 1 | |
SIMPLE | thread | eq_ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post | PRIMARY | 4 | psychopa_vanilla.post.thread_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.thread.node_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,psychopa_vanilla.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, post.message, post.attach_count, NULL AS thread_read_date, 0 AS user_post_count, permission.cache_value AS node_permission_cache, last_post_user.avatar_date AS last_post_user_avatar_date, last_post_user.gravatar AS last_post_user_gravatar, last_post_user.gender AS last_post_user_gender 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 xf_user AS last_post_user ON (last_post_user.user_id = thread.last_post_user_id) WHERE thread.thread_id IN (80023, 79173, 79137, 78823, 78577, 78172, 78061, 9627, 8211)
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | 9 | Using where | |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,psychopa_vanilla.thread.node_id | 1 | Using where |
SIMPLE | last_post_user | eq_ref | PRIMARY | PRIMARY | 4 | psychopa_vanilla.thread.last_post_user_id | 1 |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
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)
SELECT title, phrase_text FROM xf_phrase_compiled WHERE language_id = ? AND title IN ('no_results_found', 'fc_psychopath_test_tab', 'fc_bookshelf_tab', 'fc_donationLink')
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | 4 | Using where |