Query time 0.00077
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "63.92"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"rows_examined_per_scan": 107,
"rows_produced_per_join": 10,
"filtered": "10.00",
"cost_info": {
"read_cost": "23.26",
"eval_cost": "2.14",
"prefix_cost": "25.40",
"data_read_per_join": "8K"
},
"used_columns": [
"filter_id",
"categories_path",
"feature_id",
"position",
"field_type",
"status",
"round_to",
"display_count",
"display",
"mdc_code"
],
"attached_condition": "((`danishecarter_25_march`.`cscart_product_filters`.`status` = 'A') and ((`danishecarter_25_march`.`cscart_product_filters`.`categories_path` = '') or find_in_set(202,`danishecarter_25_march`.`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": [
"danishecarter_25_march.cscart_product_filters.filter_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.70",
"eval_cost": "2.14",
"prefix_cost": "38.24",
"data_read_per_join": "8K"
},
"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": [
"danishecarter_25_march.cscart_product_filters.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.70",
"eval_cost": "2.14",
"prefix_cost": "51.08",
"data_read_per_join": "12K"
},
"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": [
"danishecarter_25_march.cscart_product_filters.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.70",
"eval_cost": "2.14",
"prefix_cost": "63.92",
"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 |
mdc_code |
18 |
10 |
|
1 |
Y |
10 |
Brand |
E |
checkbox |
|
|
|
549 |
313 |
|
0.01 |
Y |
10 |
Color |
S |
checkbox |
|
|
|
0 |
336 |
R |
0.01 |
Y |
10 |
Dealer Ratings |
|
|
|
|
|
45 |
370 |
|
0.01 |
Y |
10 |
Exterior Body Color |
S |
checkbox |
|
|
|
1137 |
690 |
|
0.01 |
Y |
10 |
is checkbox |
C |
checkbox |
|
|
|
0 |
1 |
P |
1 |
Y |
10 |
Price |
|
|
|
|
mdc_price |
548 |
312 |
|
0.01 |
Y |
10 |
Size |
S |
checkbox |
|
|
|