Query time 0.00119
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` <=> 245) 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 |
710 |
245 |
0 |
I |
|
0 |
Y |
A |
Name |
711 |
245 |
0 |
P |
|
0 |
Y |
A |
Phone |
712 |
245 |
0 |
Y |
|
0 |
Y |
A |
E-mail |
713 |
245 |
0 |
S |
|
0 |
Y |
A |
Destinacion |
714 |
245 |
713 |
G |
|
0 |
N |
A |
Sardegna |
715 |
245 |
713 |
G |
|
0 |
N |
A |
Napoli |
716 |
245 |
0 |
V |
|
0 |
Y |
A |
Date |
717 |
245 |
0 |
E |
|
0 |
N |
A |
|
718 |
245 |
0 |
K |
|
0 |
N |
A |
|
719 |
245 |
0 |
L |
|
0 |
N |
A |
|
720 |
245 |
0 |
J |
scugnizzaescursioni@gmail.com |
0 |
N |
A |
scugnizzaescursioni@gmail.com |