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 content_id, cache_value FROM xf_permission_cache_content WHERE permission_combination_id = ? AND content_type = ?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 902 | Using where |
SELECT `xf_tag`.*, `xf_tagess_synonym_SynonymOf_1`.*, `xf_tag_Tag_2`.* FROM `xf_tag` LEFT JOIN `xf_tagess_synonym` AS `xf_tagess_synonym_SynonymOf_1` ON (`xf_tagess_synonym_SynonymOf_1`.`tag_id` = `xf_tag`.`tag_id`) LEFT JOIN `xf_tag` AS `xf_tag_Tag_2` ON (`xf_tag_Tag_2`.`tag_id` = `xf_tagess_synonym_SynonymOf_1`.`tag_id`) WHERE (`xf_tag`.`tag_url` = 'pirates') LIMIT 1
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_tag | const | tag_url | tag_url | 302 | const | 1 | |
SIMPLE | xf_tagess_synonym_SynonymOf_1 | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found |
SIMPLE | xf_tag_Tag_2 | const | PRIMARY | 1 |
SELECT `xf_tag_result_cache`.* FROM `xf_tag_result_cache` WHERE (`xf_tag_result_cache`.`tag_id` = 315 AND `xf_tag_result_cache`.`user_id` = 0) LIMIT 1
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_tag_result_cache | const | tag_id_user_id | tag_id_user_id | 8 | const,const | 1 |
SELECT content_type, content_id FROM xf_tag_content WHERE tag_id = ? AND visible = 1 ORDER BY content_date DESC LIMIT 200
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_tag_content | ref | tag_id_content_date | tag_id_content_date | 4 | const | 141 | Using where |
SELECT `xf_thread`.*, `xf_forum_Forum_1`.*, `xf_node_Node_2`.*, `xf_user_User_3`.*, `xf_post_FirstPost_4`.*, `xf_permission_cache_content_Permissions_5`.* FROM `xf_thread` LEFT JOIN `xf_forum` AS `xf_forum_Forum_1` ON (`xf_forum_Forum_1`.`node_id` = `xf_thread`.`node_id`) LEFT JOIN `xf_node` AS `xf_node_Node_2` ON (`xf_node_Node_2`.`node_id` = `xf_forum_Forum_1`.`node_id`) LEFT JOIN `xf_user` AS `xf_user_User_3` ON (`xf_user_User_3`.`user_id` = `xf_thread`.`user_id`) LEFT JOIN `xf_post` AS `xf_post_FirstPost_4` ON (`xf_post_FirstPost_4`.`post_id` = `xf_thread`.`first_post_id`) LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_5` ON (`xf_permission_cache_content_Permissions_5`.`content_type` = 'node' AND `xf_permission_cache_content_Permissions_5`.`content_id` = `xf_node_Node_2`.`node_id` AND `xf_permission_cache_content_Permissions_5`.`permission_combination_id` = '1') WHERE (`xf_thread`.`thread_id` IN (182357, 182039, 181649, 181402, 180983, 179710, 178387, 178361, 177914, 176843, 176419, 172728, 171464, 168853, 168810, 168678, 168446, 166210, 162976, 162379, 158486, 158422, 158371, 158314, 157293, 156994, 156394, 156276, 155991, 155971, 155529, 155279, 154716, 154032, 153060, 152817, 140941, 139654, 131087, 130549, 130499, 130107, 129400, 128770, 128729, 128258, 127952, 127951, 127858, 126790, 126380, 122216, 121471, 121455, 118622, 117872, 116927, 114473, 111125, 111124, 110786, 110412, 108912, 108582, 107936, 107412, 106594, 106129, 106012, 103881, 101088, 101087, 100445, 99999, 98665, 98112, 96478, 94870, 94141, 93612, 93571, 93173, 92904, 92816, 91575, 88663, 86992, 86048, 82089, 81842, 81628, 81093, 81047, 81041, 81040, 80767, 80765, 80490, 79348, 77501, 75318, 74171, 74110, 73707, 73486, 72765, 68222, 64870, 64090, 61756, 61466, 60647, 60318, 59567, 59121, 55483, 55034, 52940, 48494, 46442, 46441, 45767, 45409, 45223, 41934, 36222, 34692, 34510, 31995, 30272, 29651, 20075, 5934, 3477, 2961, 2960, 1251))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_thread | range | PRIMARY | PRIMARY | 4 | 137 | Using where | |
SIMPLE | xf_forum_Forum_1 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_thread.node_id | 1 | |
SIMPLE | xf_node_Node_2 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_forum_Forum_1.node_id | 1 | Using where |
SIMPLE | xf_user_User_3 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_thread.user_id | 1 | |
SIMPLE | xf_post_FirstPost_4 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_thread.first_post_id | 1 | |
SIMPLE | xf_permission_cache_content_Permissions_5 | eq_ref | PRIMARY | PRIMARY | 35 | const,const,admin_xen.xf_node_Node_2.node_id | 1 | Using where |
SELECT `xf_tl_group`.*, `xf_tl_group_category_Category_1`.*, `xf_user_User_2`.* FROM `xf_tl_group` LEFT JOIN `xf_tl_group_category` AS `xf_tl_group_category_Category_1` ON (`xf_tl_group_category_Category_1`.`category_id` = `xf_tl_group`.`category_id`) LEFT JOIN `xf_user` AS `xf_user_User_2` ON (`xf_user_User_2`.`user_id` = `xf_tl_group`.`owner_user_id`) WHERE (`xf_tl_group`.`group_id` IN (112))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | Impossible WHERE noticed after reading const tables |
SELECT `xf_xa_ams_article`.*, `xf_user_User_1`.*, `xf_xa_ams_category_Category_2`.*, `xf_permission_cache_content_Permissions_3`.* FROM `xf_xa_ams_article` LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_xa_ams_article`.`user_id`) LEFT JOIN `xf_xa_ams_category` AS `xf_xa_ams_category_Category_2` ON (`xf_xa_ams_category_Category_2`.`category_id` = `xf_xa_ams_article`.`category_id`) LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_3` ON (`xf_permission_cache_content_Permissions_3`.`content_type` = 'ams_category' AND `xf_permission_cache_content_Permissions_3`.`content_id` = `xf_xa_ams_category_Category_2`.`category_id` AND `xf_permission_cache_content_Permissions_3`.`permission_combination_id` = '1') WHERE (`xf_xa_ams_article`.`article_id` IN (3989, 3982))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_xa_ams_article | range | PRIMARY | PRIMARY | 4 | 2 | Using where | |
SIMPLE | xf_user_User_1 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_xa_ams_article.user_id | 1 | |
SIMPLE | xf_xa_ams_category_Category_2 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_xa_ams_article.category_id | 1 | |
SIMPLE | xf_permission_cache_content_Permissions_3 | eq_ref | PRIMARY | PRIMARY | 35 | const,const,admin_xen.xf_xa_ams_category_Category_2.category_id | 1 | Using where |
BEGIN
UPDATE `xf_tag_result_cache` SET `expiry_date` = ? WHERE `result_cache_id` = 810263
COMMIT
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 |
-- XFDB=noForceAllWrite UPDATE xf_session_activity SET ip = ?, controller_name = ?, controller_action = ?, view_state = ?, params = ?, view_date = ?, robot_key = ? WHERE user_id = ? AND unique_key = ?
SELECT `xf_cv6_dice`.* FROM `xf_cv6_dice` WHERE (`xf_cv6_dice`.`active` = '1') ORDER BY `xf_cv6_dice`.`display_order` ASC
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_cv6_dice | ALL | 6 | Using where; Using filesort |
SELECT `xf_tagess_synonym`.*, `xf_tag_Tag_1`.* FROM `xf_tagess_synonym` LEFT JOIN `xf_tag` AS `xf_tag_Tag_1` ON (`xf_tag_Tag_1`.`tag_id` = `xf_tagess_synonym`.`tag_id`) WHERE (`xf_tagess_synonym`.`parent_tag_id` = 315)
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_tagess_synonym | ref | parent_tag_id | parent_tag_id | 4 | const | 1 | Using index |
SIMPLE | xf_tag_Tag_1 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_tagess_synonym.tag_id | 1 |
SELECT display_style_group_id FROM xf_user WHERE user_id=?
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | Impossible WHERE noticed after reading const tables |
SELECT `xf_user_profile`.*, `xf_kl_em_custom_emote_prefix_KLEMCustomEmotePrefix_1`.* FROM `xf_user_profile` LEFT JOIN `xf_kl_em_custom_emote_prefix` AS `xf_kl_em_custom_emote_prefix_KLEMCustomEmotePrefix_1` ON (`xf_kl_em_custom_emote_prefix_KLEMCustomEmotePrefix_1`.`user_id` = `xf_user_profile`.`user_id`) WHERE (`xf_user_profile`.`user_id` = 22445) LIMIT 1
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_user_profile | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_kl_em_custom_emote_prefix_KLEMCustomEmotePrefix_1 | ALL | 1 | Using where |
SELECT `xf_node`.*, `xf_permission_cache_content_Permissions_1`.* FROM `xf_node` LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_1` ON (`xf_permission_cache_content_Permissions_1`.`content_type` = 'node' AND `xf_permission_cache_content_Permissions_1`.`content_id` = `xf_node`.`node_id` AND `xf_permission_cache_content_Permissions_1`.`permission_combination_id` = '1') WHERE (`xf_node`.`node_id` IN (184))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_permission_cache_content_Permissions_1 | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 |
SELECT `xf_page`.*, `xf_node_Node_1`.* FROM `xf_page` LEFT JOIN `xf_node` AS `xf_node_Node_1` ON (`xf_node_Node_1`.`node_id` = `xf_page`.`node_id`) WHERE (`xf_page`.`node_id` IN (184))
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|---|---|---|---|---|---|---|---|
SIMPLE | xf_page | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_node_Node_1 | const | PRIMARY | PRIMARY | 4 | const | 1 |
bytes_sent | 14217 |
bytes_received | 2288639 |
packets_sent | 200 |
packets_received | 2239 |
protocol_overhead_in | 8956 |
protocol_overhead_out | 800 |
bytes_received_ok_packet | 0 |
bytes_received_eof_packet | 0 |
bytes_received_rset_header_packet | 513 |
bytes_received_rset_field_meta_packet | 0 |
bytes_received_rset_row_packet | 298 |
bytes_received_prepare_response_packet | 113281 |
bytes_received_change_user_packet | 2173788 |
packets_sent_command | 99 |
packets_received_ok | 0 |
packets_received_eof | 0 |
packets_received_rset_header | 57 |
packets_received_rset_field_meta | 0 |
packets_received_rset_row | 36 |
packets_received_prepare_response | 1378 |
packets_received_change_user | 734 |
result_set_queries | 30 |
non_result_set_queries | 6 |
no_index_used | 2 |
bad_index_used | 0 |
slow_queries | 0 |
buffered_sets | 0 |
unbuffered_sets | 0 |
ps_buffered_sets | 30 |
ps_unbuffered_sets | 0 |
flushed_normal_sets | 0 |
flushed_ps_sets | 0 |
ps_prepared_never_executed | 0 |
ps_prepared_once_executed | 31 |
rows_fetched_from_server_normal | 0 |
rows_fetched_from_server_ps | 704 |
rows_buffered_from_client_normal | 0 |
rows_buffered_from_client_ps | 704 |
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 | 704 |
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 | 2696 |
proto_binary_fetched_tinyint | 0 |
proto_binary_fetched_short | 2711 |
proto_binary_fetched_int24 | 1041 |
proto_binary_fetched_int | 0 |
proto_binary_fetched_bigint | 12127 |
proto_binary_fetched_decimal | 56 |
proto_binary_fetched_float | 1082 |
proto_binary_fetched_double | 6 |
proto_binary_fetched_date | 0 |
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 | 4693 |
proto_binary_fetched_blob | 3179 |
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 | 4 |
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 | 32 |
com_stmt_execute | 32 |
com_stmt_send_long_data | 0 |
com_stmt_close | 31 |
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 | 2155901 |
gets | 8 |
gets.time | 0.005820218 |
sets | 0 |
sets.time | 0 |
deletes | 0 |
deletes.time | 0 |
flushes | 0 |
flushes.time | 0 |
bytes_sent | 0 |
bytes_received | 146871 |
time_compression | 0 |
time_decompression | 0.002611432 |
time_encoding | 0 |
time_decoding | 0.00213709 |