Query time 0.00090
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 (1004,1038,1131)) 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 |
1004 |
dropdown |
0 |
group_variation_catalog_item |
N |
Departure / Return |
Departure / Return |
|
|
1 |
1038 |
dropdown |
0 |
group_variation_catalog_item |
N |
Transport |
Transport |
|
|
1 |
1131 |
dropdown |
0 |
group_variation_catalog_item |
N |
The number of vacationers |
The number of vacationers |
|
|
1 |