Query time 0.00074
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.17"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"possible_keys": [
"PRIMARY",
"feature_id"
],
"rows_examined_per_scan": 25,
"rows_produced_per_join": 2,
"filtered": "8.00",
"cost_info": {
"read_cost": "2.87",
"eval_cost": "0.20",
"prefix_cost": "3.07",
"data_read_per_join": "128"
},
"used_columns": [
"filter_id",
"feature_id",
"position",
"field_type",
"status",
"round_to",
"display_count",
"display"
],
"attached_condition": "((`cscart_db`.`cscart_product_filters`.`status` = 'A') and (`cscart_db`.`cscart_product_filters`.`filter_id` in (19,18,16,17,25,26,30,31,32,33,28,21,34,35,36,37,23,39,40,15)) and (`cscart_db`.`cscart_product_filters`.`feature_id` <> 62))"
}
},
{
"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": [
"cscart_db.cscart_product_filters.filter_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.20",
"prefix_cost": "3.77",
"data_read_per_join": "1K"
},
"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": [
"cscart_db.cscart_product_filters.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.20",
"prefix_cost": "4.47",
"data_read_per_join": "896"
},
"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": [
"cscart_db.cscart_product_filters.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.20",
"prefix_cost": "5.17",
"data_read_per_join": "4K"
},
"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 |
| 110 |
30 |
|
0.01 |
N |
10 |
Colour |
S |
checkbox |
|
|
| 103 |
36 |
|
0.01 |
N |
10 |
Flavor |
S |
checkbox |
|
|
| 0 |
18 |
P |
1 |
N |
10 |
Price |
|
|
|
|
| 56 |
15 |
|
0.01 |
N |
5 |
Diet |
M |
checkbox |
|
|
| 140 |
32 |
|
0.01 |
N |
5 |
PA Factor |
M |
checkbox |
|
|
| 139 |
31 |
|
0.01 |
N |
2 |
Barrier Type |
S |
checkbox |
|
|
| 32 |
34 |
|
0.01 |
N |
5 |
Hair Type |
M |
checkbox |
|
|
| 34 |
21 |
|
0.01 |
N |
5 |
Skin Type |
M |
checkbox |
|
|
| 154 |
39 |
|
0.01 |
N |
10 |
Ingredient |
E |
checkbox |
|
|
| 137 |
33 |
|
0.01 |
N |
6 |
SPF Rating |
M |
checkbox |
|
|
| 61 |
23 |
|
0.01 |
N |
5 |
Formulation |
M |
checkbox |
|
|
| 0 |
25 |
C |
0.01 |
N |
10 |
Products type |
|
|
|
|
| 73 |
28 |
|
0.01 |
N |
5 |
Concerns |
M |
checkbox |
|
|
| 119 |
40 |
|
0.01 |
N |
10 |
Gender |
S |
checkbox |
|
|
| 63 |
37 |
|
0.01 |
N |
10 |
Country of Origin |
S |
checkbox |
|
|
| 107 |
26 |
|
0.01 |
N |
10 |
Express Shipping |
M |
checkbox |
|
|
| 152 |
35 |
|
0.01 |
N |
5 |
Medicinal System |
E |
checkbox |
|
|