[MDEV-11383] AliSQL: [Feature] Issue#29: ADD INFORMATION_SCHEMA.INNODB_RSEG TABLE TO DISPLAY THE ROLLBACK INFORMATION Created: 2016-11-29 Updated: 2022-03-09 Resolved: 2022-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Marko Mäkelä |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | AliSQL patches | ||||||||||||||||
| Description |
|
https://github.com/alibaba/AliSQL/commit/0a4817fffcbfb0b1bad46122380d1cded6dfdce0 |
| Comments |
| Comment by Marko Mäkelä [ 2017-11-17 ] | ||||||||||
|
plinux, I would prefer not to add this table, because in a future version of MariaDB, I would like to redesign the InnoDB undo logs. There would no longer be rseg_id, but instead I would try to have an .ibu undo log file for each .ibd file. In the patch, the column zip_size should always be reported as 0. If we want this table in MariaDB (expecting the columns to be changed in a later release), I think that this column should be omitted, and the table name should be something else, such as innodb_undo or innodb_transaction_logs. | ||||||||||
| Comment by Marko Mäkelä [ 2021-03-09 ] | ||||||||||
|
As noted in As part of undo log format changes, we may implement some instrumentation, which would have to reflect the format of our choice. | ||||||||||
| Comment by Marko Mäkelä [ 2022-03-09 ] | ||||||||||
|
While we still have not changed the transaction metadata and undo log format beyond how it was changed in
The rollback segment ID is conceptually a primary key. Ever since The space_id identifies the undo tablespace. It and page_no are constant in the TRX_SYS page since the database creation. The column zip_size should always be 0, because undo tablespaces can never use any ROW_FORMAT=COMPRESSED storage format. Above, the most interesting columns would be curr_size and max_size. Ever since |