Query time 0.00078
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.00"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"rows_examined_per_scan": 14,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "4.68",
"eval_cost": "0.28",
"prefix_cost": "4.96",
"data_read_per_join": "1K"
},
"used_columns": [
"filter_id",
"categories_path",
"feature_id",
"position",
"field_type",
"status",
"round_to",
"display_count",
"display"
],
"attached_condition": "((`danishecarter_31jan`.`cscart_product_filters`.`status` = 'A') and ((`danishecarter_31jan`.`cscart_product_filters`.`categories_path` = '') or find_in_set(240,`danishecarter_31jan`.`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_31jan.cscart_product_filters.filter_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.28",
"prefix_cost": "6.64",
"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": [
"danishecarter_31jan.cscart_product_filters.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.28",
"prefix_cost": "8.32",
"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": [
"danishecarter_31jan.cscart_product_filters.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.28",
"prefix_cost": "10.00",
"data_read_per_join": "3K"
},
"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 |
18 |
10 |
|
1 |
Y |
10 |
Brand |
E |
checkbox |
|
|
595 |
319 |
|
0.01 |
Y |
10 |
Category |
S |
checkbox |
|
|
549 |
313 |
|
0.01 |
Y |
10 |
Color |
S |
checkbox |
|
|
598 |
324 |
|
0.01 |
Y |
10 |
Conditions |
S |
checkbox |
|
|
599 |
322 |
|
0.01 |
Y |
10 |
First Registration |
S |
checkbox |
|
|
596 |
318 |
|
0.01 |
Y |
10 |
Makers |
E |
checkbox |
|
|
602 |
321 |
|
0.01 |
Y |
10 |
Mileage |
S |
checkbox |
|
|
597 |
320 |
|
0.01 |
Y |
10 |
Models |
S |
checkbox |
|
|
0 |
1 |
P |
1 |
Y |
10 |
Price |
|
|
|
|
605 |
323 |
|
0.01 |
Y |
10 |
Price Types |
S |
checkbox |
|
|
548 |
312 |
|
0.01 |
Y |
10 |
Size |
S |
checkbox |
|
|
15 |
7 |
|
1 |
Y |
10 |
Operating System |
S |
checkbox |
|
|
16 |
8 |
|
1 |
Y |
10 |
Display |
S |
checkbox |
|
|
17 |
9 |
|
1 |
Y |
10 |
Storage Capacity |
S |
checkbox |
|
|