[MDEV-13034] Make innochecksum print a file's space ID Created: 2017-06-07 Updated: 2022-02-16 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients, Storage Engine - InnoDB |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | innochecksum, innodb | ||
| Description |
|
It would sometimes be useful to be able to manually view the space ID of an InnoDB tablespace file, especially when users see errors like the following:
Currently, innochecksum does not seem to print this information, even if -i and -v are specified:
You can view the space ID that the data dictionary has in the information_schema.innodb_sys_tablespaces table:
But as far as I understand it, the information in that table does not tell you if the space ID in the data dictionary conflicts with the one in the file itself. |