{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "3.40"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "jmj_ab__mb_motivation_item_objects",
"access_type": "index",
"possible_keys": [
"PRIMARY",
"mid_otype"
],
"key": "mid_otype",
"used_key_parts": [
"motivation_item_id",
"object_type"
],
"key_length": "6",
"rows_examined_per_scan": 12,
"rows_produced_per_join": 3,
"filtered": "30.00",
"using_index": true,
"cost_info": {
"read_cost": "2.68",
"eval_cost": "0.72",
"prefix_cost": "3.40",
"data_read_per_join": "57"
},
"used_columns": [
"motivation_item_id",
"object_id",
"object_type"
],
"attached_condition": "((`jmj_test`.`jmj_ab__mb_motivation_item_objects`.`motivation_item_id` in (1,2,3,4)) and (`jmj_test`.`jmj_ab__mb_motivation_item_objects`.`object_type` in ('C','D','P')))"
}
}
}
}
| motivation_item_id | object_type | object_ids |
|---|---|---|
| 1 | C | 0 |
| 1 | D | 0 |
| 1 | P | 0 |
| 2 | C | 0 |
| 2 | D | 0 |
| 2 | P | 0 |
| 3 | C | 0 |
| 3 | D | 0 |
| 3 | P | 0 |
| 4 | C | 0 |
| 4 | D | 0 |
| 4 | P | 0 |