Query time 0.00123
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.80"
},
"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": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "((`webmarco`.`f`.`page_id` <=> 219) and (`webmarco`.`f`.`status` <=> 'A'))",
"cost_info": {
"read_cost": "12.00",
"eval_cost": "2.40",
"prefix_cost": "14.40",
"data_read_per_join": "9K"
},
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.00",
"eval_cost": "2.40",
"prefix_cost": "28.80",
"data_read_per_join": "288"
},
"used_columns": [
"object_id",
"description",
"lang_code"
]
}
}
]
}
}
}
Result
element_id |
page_id |
parent_id |
element_type |
value |
position |
required |
status |
description |
665 |
219 |
0 |
I |
|
0 |
Y |
A |
Full Name |
666 |
219 |
0 |
Y |
|
0 |
Y |
A |
E-mail |
667 |
219 |
0 |
P |
|
0 |
N |
A |
Phone |
668 |
219 |
0 |
S |
|
0 |
Y |
A |
Choose a Subject |
669 |
219 |
0 |
T |
|
0 |
Y |
A |
Your Message |
670 |
219 |
0 |
E |
|
0 |
N |
A |
|
671 |
219 |
0 |
K |
|
0 |
N |
A |
|
672 |
219 |
0 |
L |
|
0 |
N |
A |
|
673 |
219 |
0 |
J |
irinicela00@yahoo.com |
0 |
N |
A |
irinicela00@yahoo.com |
674 |
219 |
668 |
G |
|
0 |
N |
A |
Cosmetic Bases |
675 |
219 |
668 |
G |
|
0 |
N |
A |
Essential Oils |
676 |
219 |
668 |
G |
|
0 |
N |
A |
Nutritional Supplements |