Query time 0.00169
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.07"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_filters",
"access_type": "ALL",
"possible_keys": [
"feature_id"
],
"rows_examined_per_scan": 17,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "2.11",
"eval_cost": "0.17",
"prefix_cost": "2.28",
"data_read_per_join": "122"
},
"used_columns": [
"filter_id",
"feature_id",
"position",
"field_type",
"status",
"round_to",
"display_count",
"abt__ut2_display_desktop"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_filters`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_filters`.`feature_id` <> 657))"
}
},
{
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_filters.filter_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.43",
"eval_cost": "0.17",
"prefix_cost": "2.88",
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_filters.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.43",
"eval_cost": "0.17",
"prefix_cost": "3.47",
"data_read_per_join": "748"
},
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_filters.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.43",
"eval_cost": "0.17",
"prefix_cost": "4.07",
"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 |
| 656 |
318 |
|
0.01 |
N |
5 |
Color |
S |
color |
|
|
| 659 |
331 |
|
0.01 |
N |
10 |
Connectivity |
S |
checkbox |
|
|
| 649 |
321 |
|
0.01 |
N |
3 |
Display |
S |
checkbox |
|
|
| 765 |
329 |
|
0.01 |
Y |
10 |
LEGO Sets |
S |
checkbox |
|
|
| 762 |
330 |
|
0.01 |
Y |
10 |
Manufacturer |
S |
checkbox |
|
|
| 666 |
326 |
|
0.01 |
N |
10 |
Power Support |
S |
checkbox |
|
|
| 677 |
323 |
|
0.01 |
Y |
5 |
Printer Technology |
S |
checkbox |
|
|
| 651 |
328 |
|
0.01 |
Y |
10 |
Processor |
S |
checkbox |
|
|
| 650 |
322 |
|
0.01 |
Y |
10 |
Refresh Rate (Hz) |
S |
checkbox |
|
|
| 771 |
334 |
|
0.01 |
Y |
10 |
Size |
S |
checkbox |
|
|
| 766 |
332 |
|
0.01 |
N |
10 |
TV Display |
S |
checkbox |
|
|
| 756 |
333 |
|
0.01 |
Y |
10 |
Weight |
S |
checkbox |
|
|
| 662 |
325 |
|
0.01 |
N |
3 |
Wifi Standard |
S |
checkbox |
|
|
| 0 |
1 |
P |
1 |
Y |
10 |
Price |
|
|
|
|
| 643 |
319 |
|
0.01 |
N |
3 |
Ram |
S |
checkbox |
|
|
| 648 |
320 |
|
0.01 |
N |
3 |
Storage |
S |
checkbox |
|
|