Query time 0.00245
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.42"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_ec_hb_facilities",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 6,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.02",
"eval_cost": "1.20",
"prefix_cost": "3.22",
"data_read_per_join": "96"
},
"used_columns": [
"facility_id",
"timestamp",
"allow_facility_for_cart_page",
"status"
],
"attached_condition": "(`atulecarter_atul_demo1`.`cscart_ec_hb_facilities`.`facility_id` in (1,2,3,4,5,6))"
}
},
{
"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": "10",
"ref": [
"atulecarter_atul_demo1.cscart_ec_hb_facilities.facility_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.00",
"eval_cost": "1.20",
"prefix_cost": "10.42",
"data_read_per_join": "4K"
},
"used_columns": [
"facility_id",
"title",
"lang_code"
],
"attached_condition": "<if>(is_not_null_compl(cscart_ec_hb_facilities_desc), (`atulecarter_atul_demo1`.`cscart_ec_hb_facilities_desc`.`facility_id` = `atulecarter_atul_demo1`.`cscart_ec_hb_facilities`.`facility_id`), true)"
}
}
]
}
}
Result
facility_id |
timestamp |
allow_facility_for_cart_page |
status |
title |
lang_code |
2 |
1756983037 |
Y |
A |
Non-smoking rooms |
en |
3 |
1756814627 |
Y |
A |
Free parking |
en |
4 |
1756375720 |
Y |
A |
Room service |
en |
5 |
1756814639 |
Y |
A |
Airport shuttle |
en |
6 |
1756814648 |
Y |
A |
Pool Area |
en |