Query time 0.00054
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.81"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "3.00"
},
"nested_loop": [
{
"table": {
"table_name": "pfd",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"rows_examined_per_scan": 3,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.61",
"eval_cost": "0.60",
"prefix_cost": "4.21",
"data_read_per_join": "6K"
},
"used_columns": [
"feature_id",
"description",
"prefix",
"suffix",
"lang_code",
"internal_name"
],
"attached_condition": "((`webmarco`.`pfd`.`feature_id` in (626,860,548)) and (`webmarco`.`pfd`.`lang_code` = 'en'))"
}
},
{
"table": {
"table_name": "pf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"webmarco.pfd.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "0.60",
"prefix_cost": "7.81",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"purpose",
"feature_style",
"display_on_catalog",
"position"
]
}
}
]
}
}
}
Result
feature_id |
feature_style |
position |
purpose |
display_on_catalog |
description |
internal_name |
prefix |
suffix |
purpose_position |
626 |
dropdown_labels |
0 |
group_variation_catalog_item |
N |
Kid/Teenage Sizes |
Kid/Teenage Sizes |
|
|
1 |
860 |
dropdown |
0 |
group_variation_catalog_item |
Y |
Color 1 |
Color 1 |
|
|
1 |
548 |
dropdown_labels |
20 |
group_variation_catalog_item |
Y |
Size 1 |
Size 1 |
|
|
1 |