Query time 0.00107
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.40"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "f",
"access_type": "ref",
"possible_keys": [
"page_id"
],
"key": "page_id",
"used_key_parts": [
"page_id",
"status"
],
"key_length": "6",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "((`webmarco`.`f`.`page_id` <=> 184) and (`webmarco`.`f`.`status` <=> 'A'))",
"cost_info": {
"read_cost": "11.00",
"eval_cost": "2.20",
"prefix_cost": "13.20",
"data_read_per_join": "8K"
},
"used_columns": [
"element_id",
"page_id",
"parent_id",
"element_type",
"value",
"position",
"required",
"status"
]
}
},
{
"table": {
"table_name": "d",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code"
],
"key_length": "9",
"ref": [
"webmarco.f.element_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "11.00",
"eval_cost": "2.20",
"prefix_cost": "26.40",
"data_read_per_join": "264"
},
"used_columns": [
"object_id",
"description",
"lang_code"
]
}
}
]
}
}
}
Result
element_id |
page_id |
parent_id |
element_type |
value |
position |
required |
status |
description |
358 |
184 |
0 |
I |
|
0 |
Y |
A |
Name |
359 |
184 |
0 |
Y |
|
0 |
Y |
A |
E-mail |
360 |
184 |
0 |
Z |
|
0 |
Y |
A |
Phone Number |
361 |
184 |
0 |
S |
|
0 |
Y |
A |
Booking |
362 |
184 |
361 |
G |
|
0 |
N |
A |
Double Rooms |
363 |
184 |
361 |
G |
|
0 |
N |
A |
Twin Rooms |
364 |
184 |
361 |
G |
|
0 |
N |
A |
Family Rooms |
365 |
184 |
0 |
E |
|
0 |
N |
A |
|
366 |
184 |
0 |
K |
|
0 |
N |
A |
|
367 |
184 |
0 |
L |
|
0 |
N |
A |
|
368 |
184 |
0 |
J |
gjelbrim_sh@hotmail.com |
0 |
N |
A |
gjelbrim_sh@hotmail.com |