mc table maintenance status
The mc table maintenance status command shows the status of the most recent maintenance jobs for an Iceberg table.
Parameters
ALIAS
Required
The alias of a MinIO AIStor cluster.
WAREHOUSE
Required
The name of the warehouse.
NAMESPACE
Required
The namespace of the table.
TABLE
Required
The name of the table.
--type
Optional
Show only the status for the given maintenance type: icebergSnapshotManagement, icebergUnreferencedFileRemoval, or icebergCompaction.
Omit to show the status for all maintenance types.
Output
For each maintenance type, the command reports:
- Status - one of
Successful,Failed,Disabled, orNot_Yet_Run. - Last Run - the timestamp of the most recent run, when available.
- Failure - the failure message, when the last run failed.
Global flags
This command supports any of the global flags.
Examples
Show status for all maintenance types
mc table maintenance status myaistor analytics sales orders
Show status for a single maintenance type
mc table maintenance status myaistor analytics sales orders --type icebergSnapshotManagement
Show status with JSON output
mc table maintenance status myaistor analytics sales orders --json