{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "48.91"
},
"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": 87,
"rows_produced_per_join": 87,
"filtered": "100.00",
"index_condition": "(`test_uchur_k`.`cscart_warehouses_sum_products_amount`.`product_id` in (51076,51073,51072,51074,51075,22711,22710,51077,51080,51078,51079,51357,51360,51359,51358,51361,30,51362,51363,51364,51365,31,51366,51367,51368,51369,46,51370,51371,51372,51373,51452,51453,42,51376,51377,51378,51379,51380))",
"cost_info": {
"read_cost": "40.21",
"eval_cost": "8.70",
"prefix_cost": "48.91",
"data_read_per_join": "1K"
},
"used_columns": [
"product_id",
"amount"
]
}
}
}
| product_id | amount |
|---|---|
| 30 | 4 |
| 30 | 4 |
| 31 | 3 |
| 31 | 3 |
| 42 | 5 |
| 42 | 5 |
| 46 | 16 |
| 46 | 16 |
| 22710 | 16 |
| 22710 | 16 |
| 22711 | 12 |
| 22711 | 12 |
| 51072 | 22 |
| 51072 | 22 |
| 51073 | 14 |
| 51073 | 14 |
| 51074 | 7 |
| 51074 | 7 |
| 51075 | 1 |
| 51075 | 1 |
| 51076 | 1 |
| 51076 | 1 |
| 51077 | 16 |
| 51077 | 16 |
| 51078 | 13 |
| 51078 | 13 |
| 51079 | 13 |
| 51079 | 13 |
| 51080 | 5 |
| 51080 | 5 |
| 51357 | 10 |
| 51357 | 10 |
| 51358 | 9 |
| 51358 | 9 |
| 51359 | 7 |
| 51359 | 7 |
| 51360 | 2 |
| 51360 | 2 |
| 51361 | 4 |
| 51361 | 4 |
| 51362 | 6 |
| 51362 | 6 |
| 51363 | 6 |
| 51363 | 6 |
| 51364 | 3 |
| 51364 | 3 |
| 51365 | 1 |
| 51365 | 1 |
| 51366 | 4 |
| 51366 | 4 |
| 51367 | 4 |
| 51367 | 4 |
| 51368 | 3 |
| 51368 | 3 |
| 51369 | 2 |
| 51369 | 2 |
| 51370 | 18 |
| 51370 | 18 |
| 51371 | 25 |
| 51371 | 25 |
| 51372 | 15 |
| 51372 | 15 |
| 51373 | 13 |
| 51373 | 13 |
| 51376 | 3 |
| 51376 | 3 |
| 51377 | 2 |
| 51377 | 2 |
| 51378 | 4 |
| 51378 | 4 |
| 51379 | 5 |
| 51379 | 5 |
| 51380 | 5 |
| 51380 | 5 |
| 51452 | 8 |
| 51452 | 8 |
| 51453 | 10 |
| 51453 | 10 |