Query time 0.00062
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.35"
},
"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": 8,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.75",
"eval_cost": "0.80",
"prefix_cost": "1.55",
"data_read_per_join": "6K"
},
"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": [
"betaatif_store.f.element_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.00",
"eval_cost": "0.80",
"prefix_cost": "4.35",
"data_read_per_join": "192"
},
"used_columns": [
"object_id",
"description",
"lang_code"
]
}
}
]
}
}
}
Result
element_id |
page_id |
parent_id |
element_type |
value |
position |
required |
status |
description |
5 |
26 |
0 |
E |
3 |
0 |
N |
A |
3 |
6 |
26 |
0 |
K |
|
0 |
N |
A |
|
7 |
26 |
0 |
L |
|
0 |
N |
A |
|
8 |
26 |
0 |
J |
sales2@af.sa |
0 |
N |
A |
sales2@af.sa |
1 |
26 |
0 |
I |
|
1 |
Y |
A |
Full name |
2 |
26 |
0 |
Y |
|
2 |
Y |
A |
Email |
3 |
26 |
0 |
I |
|
3 |
Y |
A |
Subject |
4 |
26 |
0 |
T |
|
4 |
Y |
A |
Message |