mc table warehouse maintenance info
The mc table warehouse maintenance info command shows the maintenance configuration for an Iceberg warehouse.
The following command shows all maintenance configuration for the analytics warehouse on the myaistor MinIO AIStor cluster:
mc table warehouse maintenance info myaistor analyticsThe command has the following syntax:
mc [GLOBALFLAGS] table warehouse maintenance info \
ALIAS \
WAREHOUSE \
[--type VALUE]- Brackets
[]indicate optional parameters.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
ALIAS
Required
The alias of a MinIO AIStor cluster.
WAREHOUSE
Required
The name of the warehouse.
--type
Optional
Show only the configuration for the given maintenance type: icebergSnapshotManagement, icebergUnreferencedFileRemoval, or icebergCompaction.
Omit to show the configuration for all maintenance types.
Global flags
This command supports any of the global flags.
Examples
Show all maintenance configuration
mc table warehouse maintenance info myaistor analyticsShow only snapshot management configuration
mc table warehouse maintenance info myaistor analytics --type icebergSnapshotManagementShow configuration with JSON output
mc table warehouse maintenance info myaistor analytics --json