Bug #102313 | Tablespace may still larger than limit after truncation | ||
---|---|---|---|
Submitted: | 20 Jan 2021 12:24 | Modified: | 21 Jan 2021 13:16 |
Reporter: | zhai weixiang (OCA) | Email Updates: | |
Status: | Analyzing | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.23 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[20 Jan 2021 12:24]
zhai weixiang
[20 Jan 2021 12:26]
zhai weixiang
sorry, possiblely it should be : n_pages = srv_max_undo_tablespace_size /(4 * UNIV_PAGE_SIZE)
[20 Jan 2021 19:09]
Sunny Bains
This is by design. In our tests, where the undo tablespace is being used very aggressively, the only way to reduce the impact of truncate and reduce stalls is to keep the tabelspace larger and a percentage of its max size. The assumption is that it will grow very quickly again. This is actually an interim fix until we roll out the change that allows the user to set the initial size and increment size explicitly via ALTER TABLESPACE ...; stay tuned.
[21 Jan 2021 13:16]
MySQL Verification Team
Just setting the correct status.