{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.62"
},
"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": 36,
"rows_produced_per_join": 3,
"filtered": "10.00",
"using_index": true,
"cost_info": {
"read_cost": "3.78",
"eval_cost": "0.36",
"prefix_cost": "4.14",
"data_read_per_join": "2K"
},
"used_columns": [
"destination_id",
"status"
],
"attached_condition": "((`zdrowy_db`.`b`.`status` = 'A') and (`zdrowy_db`.`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": [
"zdrowy_db.b.destination_id"
],
"rows_examined_per_scan": 12,
"rows_produced_per_join": 45,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.93",
"eval_cost": "4.55",
"prefix_cost": "19.62",
"data_read_per_join": "34K"
},
"used_columns": [
"element_id",
"destination_id",
"element",
"element_type"
]
}
}
]
}
}
| element_id | destination_id | element | element_type |
|---|---|---|---|
| 664 | 9 | RU | C |
| 663 | 9 | 559 | S |
| 662 | 9 | 569 | S |
| 661 | 9 | 572 | S |
| 660 | 9 | 598 | S |
| 659 | 9 | 599 | S |
| 658 | 9 | 555 | S |
| 657 | 9 | 562 | S |
| 656 | 9 | 574 | S |
| 655 | 9 | 579 | S |
| 654 | 9 | 583 | S |
| 653 | 9 | 589 | S |
| 652 | 9 | 590 | S |
| 651 | 9 | 592 | S |
| 650 | 9 | 597 | S |
| 698 | 12 | Moscow* | T |
| 699 | 12 | Москва* | T |
| 697 | 12 | Зеленоград | T |
| 696 | 12 | Московский | T |
| 695 | 12 | 598 | S |
| 609 | 13 | санкт* | T |
| 608 | 13 | sankt* | T |
| 607 | 13 | saint* | T |
| 606 | 13 | 187* | Z |
| 605 | 13 | RU | C |
| 604 | 13 | 599 | S |
| 610 | 13 | питер* | T |
| 611 | 13 | *петер* | T |
| 612 | 13 | piter* | T |
| 839 | 112 | RU | C |
| 838 | 112 | 574 | S |
| 846 | 115 | Московская обл. г. Балашиха, микрорайон Кучино, ул. Южная д.1 | A |
| 845 | 115 | Балашиха | T |
| 844 | 115 | 143981 | Z |
| 843 | 115 | RU | C |
| 842 | 115 | 572 | S |
| 576 | 116 | RU | C |
| 575 | 116 | 555 | S |
| 828 | 117 | ул.Т | A |
| 827 | 117 | ул. М | A |
| 826 | 117 | Сергиев | T |
| 825 | 117 | одинцо* | T |
| 824 | 117 | Мытищ* | T |
| 823 | 117 | мытищи | T |
| 822 | 117 | Балашиха | T |
| 821 | 117 | Любер* | T |
| 820 | 117 | люберцы | T |
| 819 | 117 | Павловский | T |
| 818 | 117 | 143987 | Z |
| 817 | 117 | 143989 | Z |
| 816 | 117 | 143988 | Z |
| 815 | 117 | 143980 | Z |
| 814 | 117 | RU | C |
| 813 | 117 | 572 | S |
| 615 | 120 | 562 | S |
| 616 | 120 | RU | C |
| 665 | 122 | 597 | S |
| 666 | 122 | RU | C |
| 671 | 124 | 569 | S |
| 672 | 124 | RU | C |
| 673 | 125 | 599 | S |
| 674 | 125 | RU | C |
| 832 | 126 | RU | C |
| 831 | 126 | 572 | S |
| 840 | 127 | 598 | S |
| 841 | 128 | 572 | S |
| 847 | 129 | 558 | S |
| 848 | 129 | Воронеж | T |