Query time 0.00052
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "2.00"
},
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"rows_examined_per_scan": 2,
"rows_produced_per_join": 2,
"filtered": "100.00",
"index_condition": "(`portal`.`pf`.`feature_id` in (73,74))",
"cost_info": {
"read_cost": "4.41",
"eval_cost": "0.40",
"prefix_cost": "4.81",
"data_read_per_join": "864"
},
"used_columns": [
"feature_id",
"display_on_catalog",
"position",
"purpose",
"feature_style"
]
}
},
{
"table": {
"table_name": "pfd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"portal.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.00",
"eval_cost": "0.40",
"prefix_cost": "7.21",
"data_read_per_join": "3K"
},
"used_columns": [
"feature_id",
"description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}
}
Result
feature_id |
feature_style |
position |
purpose |
display_on_catalog |
description |
prefix |
suffix |
purpose_position |
73 |
dropdown |
0 |
group_variation_catalog_item |
Y |
Size |
|
|
1 |
74 |
dropdown |
0 |
group_variation_catalog_item |
Y |
Color |
|
|
1 |