{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.42"
},
"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": 5,
"rows_produced_per_join": 1,
"filtered": "20.00",
"using_index": true,
"cost_info": {
"read_cost": "0.91",
"eval_cost": "0.10",
"prefix_cost": "1.01",
"data_read_per_join": "776"
},
"used_columns": [
"destination_id",
"status"
],
"attached_condition": "((`s2cart`.`b`.`status` = 'A') and (`s2cart`.`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": [
"s2cart.b.destination_id"
],
"rows_examined_per_scan": 67,
"rows_produced_per_join": 67,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.72",
"eval_cost": "6.70",
"prefix_cost": "10.43",
"data_read_per_join": "51K"
},
"used_columns": [
"element_id",
"destination_id",
"element",
"element_type"
]
}
}
]
}
}
element_id | destination_id | element | element_type |
---|---|---|---|
1070 | 9 | IN | C |
1069 | 9 | 848 | S |
1068 | 9 | 846 | S |
1067 | 9 | 847 | S |
1066 | 9 | 845 | S |
1065 | 9 | 844 | S |
1064 | 9 | 843 | S |
1063 | 9 | 842 | S |
1062 | 9 | 841 | S |
1061 | 9 | 840 | S |
1060 | 9 | 855 | S |
1059 | 9 | 839 | S |
1058 | 9 | 838 | S |
1057 | 9 | 837 | S |
1056 | 9 | 836 | S |
1055 | 9 | 835 | S |
1054 | 9 | 834 | S |
1053 | 9 | 833 | S |
1052 | 9 | 854 | S |
1051 | 9 | 832 | S |
1050 | 9 | 831 | S |
1049 | 9 | 830 | S |
1048 | 9 | 829 | S |
1047 | 9 | 828 | S |
1046 | 9 | 827 | S |
1045 | 9 | 826 | S |
1044 | 9 | 825 | S |
1043 | 9 | 853 | S |
1042 | 9 | 852 | S |
1041 | 9 | 851 | S |
1040 | 9 | 824 | S |
1039 | 9 | 850 | S |
1038 | 9 | 823 | S |
1037 | 9 | 822 | S |
1036 | 9 | 821 | S |
1035 | 9 | 820 | S |
1034 | 9 | 849 | S |
1033 | 10 | 600* | Z |
1032 | 10 | IN | C |
1031 | 10 | 843 | S |