mc table maintenance info
The mc table maintenance info command shows a table’s effective maintenance configuration.
Syntax
The command has the following syntax:
mc table maintenance info [FLAGS] ALIAS/WAREHOUSE/NAMESPACE/TABLE
Flags
| Flag | Description |
|---|---|
--type value |
Maintenance type (icebergSnapshotManagement, icebergUnreferencedFileRemoval, icebergCompaction). |
Global flags
This command supports any of the global flags.
Examples
Show all effective maintenance configuration for a table.
mc table maintenance info myminio/my-warehouse/my-namespace/my-table
Show only the effective compaction configuration.
mc table maintenance info myminio/my-warehouse/my-namespace/my-table --type icebergCompaction
Show configuration with JSON output.
mc table maintenance info myminio/my-warehouse/my-namespace/my-table --json
Behavior
S3 compatibility
The mc command-line tool is built for compatibility with the AWS S3 API and is tested with MinIO AIStor and AWS S3 for expected functionality and behavior.