Query time 0.00072
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.36"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filter_descriptions",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 27,
"rows_produced_per_join": 2,
"filtered": "10.00",
"cost_info": {
"read_cost": "7.21",
"eval_cost": "0.54",
"prefix_cost": "7.75",
"data_read_per_join": "12K"
},
"used_columns": [
"filter_id",
"lang_code",
"filter"
],
"attached_condition": "(`44mm_ru`.`cscart_product_filter_descriptions`.`lang_code` = 'ru')"
}
},
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"feature_id"
],
"key": "PRIMARY",
"used_key_parts": [
"filter_id"
],
"key_length": "3",
"ref": [
"44mm_ru.cscart_product_filter_descriptions.filter_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "42.31",
"cost_info": {
"read_cost": "2.70",
"eval_cost": "0.23",
"prefix_cost": "10.99",
"data_read_per_join": "137"
},
"used_columns": [
"filter_id",
"feature_id",
"position"
],
"attached_condition": "(`44mm_ru`.`cscart_product_filters`.`feature_id` in (578,569,581,579,577,576,580,573,571,18,549))"
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"ref": [
"44mm_ru.cscart_product_filter_descriptions.filter_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.14",
"eval_cost": "0.23",
"prefix_cost": "12.37",
"data_read_per_join": "182"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`44mm_ru`.`cscart_ult_objects_sharing`.`share_object_id` = `44mm_ru`.`cscart_product_filter_descriptions`.`filter_id`)"
}
}
]
}
}
}
Result
feature_id |
filter_id |
filter |
18 |
10 |
Бренд |