{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.11"
},
"table": {
"table_name": "cscart_warehouses_sum_products_amount",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 48,
"rows_produced_per_join": 48,
"filtered": "100.00",
"index_condition": "(`test_uchur_k`.`cscart_warehouses_sum_products_amount`.`product_id` in (127,51325,63,51326,135,50984,51450,51451,51343,51342,51341,51340,47,136,65,42,51376,51377,51378,51379,51380,134))",
"cost_info": {
"read_cost": "22.31",
"eval_cost": "4.80",
"prefix_cost": "27.11",
"data_read_per_join": "768"
},
"used_columns": [
"product_id",
"amount"
]
}
}
}
| product_id | amount |
|---|---|
| 42 | 5 |
| 42 | 5 |
| 47 | 5 |
| 47 | 5 |
| 63 | 5 |
| 63 | 5 |
| 65 | 1 |
| 65 | 1 |
| 127 | 3 |
| 127 | 3 |
| 134 | 2 |
| 134 | 2 |
| 135 | 6 |
| 135 | 6 |
| 136 | 13 |
| 136 | 13 |
| 50984 | 1 |
| 50984 | 1 |
| 51325 | 1 |
| 51325 | 1 |
| 51326 | 6 |
| 51326 | 6 |
| 51340 | 2 |
| 51340 | 2 |
| 51341 | 7 |
| 51341 | 7 |
| 51342 | 3 |
| 51342 | 3 |
| 51343 | 2 |
| 51343 | 2 |
| 51376 | 3 |
| 51376 | 3 |
| 51377 | 2 |
| 51377 | 2 |
| 51378 | 4 |
| 51378 | 4 |
| 51379 | 5 |
| 51379 | 5 |
| 51380 | 5 |
| 51380 | 5 |
| 51450 | 3 |
| 51450 | 3 |
| 51451 | 3 |
| 51451 | 3 |