Performs a number of Tanzu Greenplum command center tasks from the command line, including starting a recommendations scan, performing a table metadata scan, and importing and exporting workload management rules.
gpcc-util <command> [ <options> ]
gpcc [ --version | -v ]
gpcc [ --help | -h ]
The recommendation
command controls the recommendation scan process.
-d
or
--duration
--help
recommendation
command.
start
The table-scan
command performs a scan of the table metadata in the cluster.
--help
table-scan
command.
start
--skip_size_check
or
-s
The wlm-rule
command imports or exports workload management rules.
export
--file
or
-f
--help
table-scan
command.
import
--version
or
-v
gpcc-util
version.
--help
or
-h
gpcc-util
command.
Start a recommendation scan immediately, limiting its duration to 12 hours:
gpcc-util recommendation start -d 12h
Get help on the table metadata scan’s start
command:
gpcc-util table-scan start --help
Export workload management rules to a file in the /tmp
directory called rules.txt
:
gpcc-util wlm-rule export --file /tmp/rules.txt