Peter Mattis
Results
2
issues of
Peter Mattis
`checkConsistency()` is currently prohibitively slow for large numbers of warehouses and provides no progress indication. The most egregious check is for `W_YTD = sum(H_AMOUNT) for each warehouse`: ``` var sumHAmount...
The `history` table doesn't have a primary key which means Cockroach autogenerates a primary key with a `unique_rowid()` function. This creates a hotspot as every insertion into the `history` table...