Query time 0.00069
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.29"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"rows_examined_per_scan": 88,
"rows_produced_per_join": 8,
"filtered": "10.00",
"cost_info": {
"read_cost": "8.17",
"eval_cost": "0.88",
"prefix_cost": "9.05",
"data_read_per_join": "633"
},
"used_columns": [
"filter_id",
"categories_path",
"feature_id",
"position",
"field_type",
"status",
"round_to",
"display_count",
"display"
],
"attached_condition": "((`dev2`.`cscart_product_filters`.`status` = 'A') and ((`dev2`.`cscart_product_filters`.`categories_path` = '') or (0 <> find_in_set(921,`dev2`.`cscart_product_filters`.`categories_path`))))"
}
},
{
"table": {
"table_name": "cscart_product_filter_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"filter_id",
"lang_code"
],
"key_length": "9",
"ref": [
"dev2.cscart_product_filters.filter_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.20",
"eval_cost": "0.88",
"prefix_cost": "12.13",
"data_read_per_join": "9K"
},
"used_columns": [
"filter_id",
"lang_code",
"filter"
]
}
},
{
"table": {
"table_name": "cscart_product_features",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"dev2.cscart_product_filters.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.20",
"eval_cost": "0.88",
"prefix_cost": "15.21",
"data_read_per_join": "13K"
},
"used_columns": [
"feature_id",
"filter_style",
"feature_type"
]
}
},
{
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"dev2.cscart_product_filters.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.20",
"eval_cost": "0.88",
"prefix_cost": "18.29",
"data_read_per_join": "24K"
},
"used_columns": [
"feature_id",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}
}
Result
feature_id |
filter_id |
field_type |
round_to |
display |
display_count |
filter |
feature_type |
filter_style |
prefix |
suffix |
794 |
428 |
|
0.01 |
Y |
10 |
Вес товара с упаковкой, кг |
S |
checkbox |
|
|
793 |
427 |
|
0.01 |
Y |
10 |
Вес товара, кг |
S |
checkbox |
|
|
792 |
426 |
|
0.01 |
Y |
10 |
Вид крепления |
S |
checkbox |
|
|
790 |
424 |
|
0.01 |
Y |
10 |
Высота упаковки, см |
S |
checkbox |
|
|
787 |
421 |
|
0.01 |
Y |
10 |
Высота, см |
S |
checkbox |
|
|
791 |
425 |
|
0.01 |
Y |
10 |
Глубина упаковки, см |
S |
checkbox |
|
|
788 |
422 |
|
0.01 |
Y |
10 |
Длина, см |
S |
checkbox |
|
|
795 |
429 |
|
0.01 |
Y |
10 |
Материал изделия |
S |
checkbox |
|
|
789 |
423 |
|
0.01 |
Y |
10 |
Ширина упаковки, см |
S |
checkbox |
|
|
786 |
420 |
|
0.01 |
Y |
10 |
Ширина, см |
S |
checkbox |
|
|
616 |
339 |
|
0.01 |
N |
5 |
МФО |
S |
checkbox |
|
|
548 |
312 |
|
0.01 |
Y |
10 |
Размер |
S |
checkbox |
|
|
549 |
313 |
|
0.01 |
Y |
10 |
Цвет |
S |
checkbox |
|
|