Query time 0.00045
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "6.19"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"rows_examined_per_scan": 29,
"rows_produced_per_join": 2,
"filtered": "10.00",
"cost_info": {
"read_cost": "2.86",
"eval_cost": "0.29",
"prefix_cost": "3.15",
"data_read_per_join": "185"
},
"used_columns": [
"filter_id",
"categories_path",
"feature_id",
"position",
"field_type",
"status",
"round_to",
"display_count",
"display"
],
"attached_condition": "((`nuie_scalesta_net`.`cscart_product_filters`.`status` = 'A') and ((`nuie_scalesta_net`.`cscart_product_filters`.`categories_path` = '') or (0 <> find_in_set(7170,`nuie_scalesta_net`.`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": [
"nuie_scalesta_net.cscart_product_filters.filter_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.73",
"eval_cost": "0.29",
"prefix_cost": "4.17",
"data_read_per_join": "2K"
},
"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": [
"nuie_scalesta_net.cscart_product_filters.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.73",
"eval_cost": "0.29",
"prefix_cost": "5.18",
"data_read_per_join": "1K"
},
"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": [
"nuie_scalesta_net.cscart_product_filters.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.73",
"eval_cost": "0.29",
"prefix_cost": "6.20",
"data_read_per_join": "6K"
},
"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 |
| 310 |
40 |
|
0.01 |
Y |
3 |
Style |
S |
checkbox |
|
|
| 0 |
4 |
P |
1 |
Y |
10 |
Price |
|
|
|
|
| 3 |
37 |
|
0.01 |
Y |
10 |
Colour |
S |
checkbox |
|
|
| 216 |
8 |
|
0.01 |
Y |
10 |
Width |
N |
slider |
|
|
| 1 |
38 |
|
0.01 |
Y |
10 |
Shop by Brands |
E |
checkbox |
|
|
| 0 |
2 |
A |
0.01 |
Y |
10 |
In Stock |
|
|
|
|