Query time 0.00211
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.21"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_ec_hb_facilities",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"id"
],
"key_length": "4",
"rows_examined_per_scan": 7,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.42",
"eval_cost": "1.40",
"prefix_cost": "9.82",
"data_read_per_join": "112"
},
"used_columns": [
"id",
"timestamp"
],
"attached_condition": "(`atulecarter_march_setup`.`cscart_ec_hb_facilities`.`id` in (16,17,18,19,20,21,22))"
}
},
{
"table": {
"table_name": "cscart_ec_hb_facilities_desc",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"facility_id",
"lang_code"
],
"key_length": "6",
"ref": [
"atulecarter_march_setup.cscart_ec_hb_facilities.id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "1.40",
"prefix_cost": "18.22",
"data_read_per_join": "1K"
},
"used_columns": [
"facility_id",
"title",
"lang_code"
]
}
}
]
}
}
Result
id |
timestamp |
title |
lang_code |
16 |
0 |
Airport shuttle |
en |
17 |
0 |
Room service |
en |
18 |
0 |
Free parking |
en |
19 |
0 |
Non-smoking rooms |
en |
20 |
0 |
Free Wifi |
en |