SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('addOns', 'addOnsComposer', 'autoJobRun', 'bbCodeMedia', 'classExtensions', 'codeEventListeners', 'connectedAccountCount', 'contentTypes', 'displayStyles', 'helpPageCount', 'languages', 'masterStyleProperties', 'nodeTypes', 'options', 'paymentProvider', 'reactions', 'reportCounts', 'simpleCache', 'smilies', 'unapprovedCounts', 'userBanners', 'userTitleLadder', 'userUpgradeCount', 'widgetCache', 'widgetDefinition', 'widgetPosition', 'bannedIps', 'bbCodeCustom', 'discouragedIps', 'forumTypes', 'notices', 'noticesLastReset', 'routeFilters', 'routesPublic', 'styles', 'userFieldsInfo', 'threadFieldsInfo', 'threadPrefixes', 'threadTypes')| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|---|---|---|---|---|---|---|---|
| SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | 39 | Using where |
-- XFDB=fromWrite SELECT session_data FROM xf_session WHERE session_id = ? AND expiry_date >= ?
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 `xf_rm_category`.*, `xf_permission_cache_content_Permissions_1`.* FROM `xf_rm_category` LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_1` ON (`xf_permission_cache_content_Permissions_1`.`content_type` = 'resource_category' AND `xf_permission_cache_content_Permissions_1`.`content_id` = `xf_rm_category`.`resource_category_id` AND `xf_permission_cache_content_Permissions_1`.`permission_combination_id` = '1') ORDER BY `xf_rm_category`.`lft` ASC
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|---|---|---|---|---|---|---|---|
| SIMPLE | xf_rm_category | ALL | 352 | Using filesort | ||||
| SIMPLE | xf_permission_cache_content_Permissions_1 | eq_ref | PRIMARY | PRIMARY | 35 | const,const,db624634433.xf_rm_category.resource_category_id | 1 | Using where |
SELECT prefix_id FROM xf_rm_category_prefix WHERE resource_category_id IN (372, 376, 379, 380, 387, 373, 377, 378, 374, 249, 250, 252, 251, 253, 5, 388, 363, 370, 382, 384, 100, 367, 232, 142, 180, 101, 353, 102, 103, 183, 104, 67, 105, 106, 63, 202, 107, 109, 185, 108, 110, 111, 112, 64, 65, 66, 113, 114, 115, 195, 61, 127, 50, 52, 53, 54, 55, 51, 57, 58, 59, 60, 56, 128, 187, 116, 117, 118, 284, 350, 177, 62, 119, 120, 216, 184, 186, 181, 182, 210, 211, 243, 245, 248, 268, 272, 274, 275, 289, 332, 334, 340, 344, 351, 347, 369, 381, 386, 203, 259, 260, 261, 262, 263, 264, 265, 266, 2, 366, 244, 283, 305, 307, 308, 309, 267, 310, 311, 312, 313, 174, 318, 319, 320, 321, 81, 82, 85, 86, 147, 87, 88, 89, 90, 91, 25, 123, 124, 125, 126, 92, 93, 94, 26, 30, 44, 45, 46, 31, 39, 40, 41, 42, 43, 95, 96, 97, 98, 99, 204, 205, 206, 207, 208, 212, 213, 269, 276, 287, 329, 336, 338, 345, 368, 3, 389, 365, 383, 385, 342, 354, 355, 356, 358, 145, 214, 238, 27, 29, 28, 135, 233, 293, 294, 295, 296, 330, 337, 359, 339, 255, 285, 256, 257, 258, 343, 346, 47, 121, 38, 176, 33, 34, 35, 36, 37, 136, 290, 375, 175, 139, 1, 8, 286, 143, 68, 9, 138, 10, 69, 133, 144, 146, 11, 215, 229, 131, 70, 12, 13, 14, 15, 129, 71, 72, 73, 16, 17, 24, 74, 18, 19, 75, 20, 21, 270, 23, 352, 130, 4, 360, 364, 361, 362, 297, 326, 304, 303, 302, 300, 299, 327, 301, 148, 322, 152, 153, 154, 155, 156, 323, 149, 150, 151, 325, 157, 158, 159, 160, 161, 162, 282, 163, 164, 165, 166, 331, 6, 223, 224, 225, 226, 227, 228, 230, 231, 221, 218, 220, 219, 277, 222, 271, 273, 278, 279, 281, 292, 335, 341, 357, 179, 178, 371, 333, 348, 7, 32, 217, 280, 132, 201)
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|---|---|---|---|---|---|---|---|
| SIMPLE | xf_rm_category_prefix | index | PRIMARY | prefix_id | 4 | 17 | Using where; Using index |
SELECT `xf_rm_resource_prefix`.* FROM `xf_rm_resource_prefix` WHERE (`xf_rm_resource_prefix`.`prefix_id` IN (3, 4, 5, 6)) ORDER BY `xf_rm_resource_prefix`.`materialized_order` ASC
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|---|---|---|---|---|---|---|---|
| SIMPLE | xf_rm_resource_prefix | ALL | PRIMARY | 6 | Using where; Using filesort |
SELECT view_date FROM xf_session_activity WHERE user_id = ? AND unique_key = ?
| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|---|---|---|---|---|---|---|---|
| SIMPLE | xf_session_activity | const | PRIMARY | PRIMARY | 22 | const,const | 1 |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('xfrmPrefixes')| Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
|---|---|---|---|---|---|---|---|---|
| SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 |
-- XFDB=noForceAllWrite INSERT INTO xf_session (session_id, session_data, expiry_date) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE session_data = VALUES(session_data), expiry_date = VALUES(expiry_date)
| bytes_sent | 8599 |
| bytes_received | 1411258 |
| packets_sent | 100 |
| packets_received | 680 |
| protocol_overhead_in | 2720 |
| protocol_overhead_out | 400 |
| bytes_received_ok_packet | 0 |
| bytes_received_eof_packet | 0 |
| bytes_received_rset_header_packet | 261 |
| bytes_received_rset_field_meta_packet | 0 |
| bytes_received_rset_row_packet | 108 |
| bytes_received_prepare_response_packet | 12208 |
| bytes_received_change_user_packet | 1398257 |
| packets_sent_command | 49 |
| packets_received_ok | 0 |
| packets_received_eof | 0 |
| packets_received_rset_header | 29 |
| packets_received_rset_field_meta | 0 |
| packets_received_rset_row | 18 |
| packets_received_prepare_response | 189 |
| packets_received_change_user | 426 |
| result_set_queries | 15 |
| non_result_set_queries | 3 |
| no_index_used | 4 |
| bad_index_used | 0 |
| slow_queries | 0 |
| buffered_sets | 0 |
| unbuffered_sets | 0 |
| ps_buffered_sets | 15 |
| ps_unbuffered_sets | 0 |
| flushed_normal_sets | 0 |
| flushed_ps_sets | 0 |
| ps_prepared_never_executed | 0 |
| ps_prepared_once_executed | 15 |
| rows_fetched_from_server_normal | 0 |
| rows_fetched_from_server_ps | 411 |
| rows_buffered_from_client_normal | 0 |
| rows_buffered_from_client_ps | 411 |
| rows_fetched_from_client_normal_buffered | 0 |
| rows_fetched_from_client_normal_unbuffered | 0 |
| rows_fetched_from_client_ps_buffered | 0 |
| rows_fetched_from_client_ps_unbuffered | 0 |
| rows_fetched_from_client_ps_cursor | 0 |
| rows_affected_normal | 0 |
| rows_affected_ps | 0 |
| rows_skipped_normal | 0 |
| rows_skipped_ps | 411 |
| copy_on_write_saved | 0 |
| copy_on_write_performed | 0 |
| command_buffer_too_small | 0 |
| connect_success | 1 |
| connect_failure | 0 |
| connection_reused | 0 |
| reconnect | 0 |
| pconnect_success | 1 |
| active_connections | 1 |
| active_persistent_connections | 1 |
| explicit_close | 0 |
| implicit_close | 0 |
| disconnect_close | 0 |
| in_middle_of_command_close | 0 |
| explicit_free_result | 0 |
| implicit_free_result | 0 |
| explicit_stmt_close | 0 |
| implicit_stmt_close | 0 |
| mem_emalloc_count | 0 |
| mem_emalloc_amount | 0 |
| mem_ecalloc_count | 0 |
| mem_ecalloc_amount | 0 |
| mem_erealloc_count | 0 |
| mem_erealloc_amount | 0 |
| mem_efree_count | 0 |
| mem_efree_amount | 0 |
| mem_malloc_count | 0 |
| mem_malloc_amount | 0 |
| mem_calloc_count | 0 |
| mem_calloc_amount | 0 |
| mem_realloc_count | 0 |
| mem_realloc_amount | 0 |
| mem_free_count | 0 |
| mem_free_amount | 0 |
| mem_estrndup_count | 0 |
| mem_strndup_count | 0 |
| mem_estrdup_count | 0 |
| mem_strdup_count | 0 |
| mem_edupl_count | 0 |
| mem_dupl_count | 0 |
| proto_text_fetched_null | 0 |
| proto_text_fetched_bit | 0 |
| proto_text_fetched_tinyint | 0 |
| proto_text_fetched_short | 0 |
| proto_text_fetched_int24 | 0 |
| proto_text_fetched_int | 0 |
| proto_text_fetched_bigint | 0 |
| proto_text_fetched_decimal | 0 |
| proto_text_fetched_float | 0 |
| proto_text_fetched_double | 0 |
| proto_text_fetched_date | 0 |
| proto_text_fetched_year | 0 |
| proto_text_fetched_time | 0 |
| proto_text_fetched_datetime | 0 |
| proto_text_fetched_timestamp | 0 |
| proto_text_fetched_string | 0 |
| proto_text_fetched_blob | 0 |
| proto_text_fetched_enum | 0 |
| proto_text_fetched_set | 0 |
| proto_text_fetched_geometry | 0 |
| proto_text_fetched_other | 0 |
| proto_binary_fetched_null | 0 |
| proto_binary_fetched_bit | 20 |
| proto_binary_fetched_tinyint | 0 |
| proto_binary_fetched_short | 3168 |
| proto_binary_fetched_int24 | 1056 |
| proto_binary_fetched_int | 0 |
| proto_binary_fetched_bigint | 4245 |
| proto_binary_fetched_decimal | 16 |
| proto_binary_fetched_float | 0 |
| proto_binary_fetched_double | 0 |
| proto_binary_fetched_date | 8 |
| proto_binary_fetched_year | 0 |
| proto_binary_fetched_time | 0 |
| proto_binary_fetched_datetime | 0 |
| proto_binary_fetched_timestamp | 0 |
| proto_binary_fetched_string | 0 |
| proto_binary_fetched_json | 1152 |
| proto_binary_fetched_blob | 2158 |
| proto_binary_fetched_enum | 0 |
| proto_binary_fetched_set | 0 |
| proto_binary_fetched_geometry | 0 |
| proto_binary_fetched_other | 0 |
| init_command_executed_count | 0 |
| init_command_failed_count | 0 |
| com_quit | 0 |
| com_init_db | 0 |
| com_query | 2 |
| com_field_list | 0 |
| com_create_db | 0 |
| com_drop_db | 0 |
| com_refresh | 0 |
| com_shutdown | 0 |
| com_statistics | 0 |
| com_process_info | 0 |
| com_connect | 0 |
| com_process_kill | 0 |
| com_debug | 0 |
| com_ping | 0 |
| com_time | 0 |
| com_delayed_insert | 0 |
| com_change_user | 0 |
| com_binlog_dump | 0 |
| com_table_dump | 0 |
| com_connect_out | 0 |
| com_register_slave | 0 |
| com_stmt_prepare | 16 |
| com_stmt_execute | 16 |
| com_stmt_send_long_data | 0 |
| com_stmt_close | 15 |
| com_stmt_reset | 0 |
| com_stmt_set_option | 0 |
| com_stmt_fetch | 0 |
| com_deamon | 0 |
| bytes_received_real_data_normal | 0 |
| bytes_received_real_data_ps | 1390202 |