{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.46"
},
"nested_loop": [
{
"table": {
"table_name": "b",
"access_type": "index",
"possible_keys": [
"PRIMARY",
"c_status"
],
"key": "c_status",
"used_key_parts": [
"destination_id",
"status"
],
"key_length": "6",
"rows_examined_per_scan": 4,
"rows_produced_per_join": 1,
"filtered": "25.00",
"using_index": true,
"cost_info": {
"read_cost": "0.80",
"eval_cost": "0.10",
"prefix_cost": "0.90",
"data_read_per_join": "776"
},
"used_columns": [
"destination_id",
"status"
],
"attached_condition": "((`marketplace`.`b`.`status` = 'A') and (`marketplace`.`b`.`destination_id` is not null))"
}
},
{
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": [
"c_status"
],
"key": "c_status",
"used_key_parts": [
"destination_id"
],
"key_length": "3",
"ref": [
"marketplace.b.destination_id"
],
"rows_examined_per_scan": 79,
"rows_produced_per_join": 79,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.65",
"eval_cost": "7.90",
"prefix_cost": "11.46",
"data_read_per_join": "60K"
},
"used_columns": [
"element_id",
"destination_id",
"element",
"element_type"
]
}
}
]
}
}
| element_id | destination_id | element | element_type |
|---|---|---|---|
| 355 | 9 | 857 | S |
| 356 | 9 | 858 | S |
| 357 | 9 | 859 | S |
| 358 | 9 | 860 | S |
| 359 | 9 | 861 | S |
| 360 | 9 | 862 | S |
| 361 | 9 | 863 | S |
| 362 | 9 | 864 | S |
| 363 | 9 | 865 | S |
| 364 | 9 | 866 | S |
| 365 | 9 | 867 | S |
| 366 | 9 | 868 | S |
| 367 | 9 | 869 | S |
| 368 | 9 | 870 | S |
| 369 | 9 | 871 | S |
| 370 | 9 | 872 | S |
| 371 | 9 | 873 | S |
| 372 | 9 | 874 | S |
| 373 | 9 | 875 | S |
| 374 | 9 | UY | C |