zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

greenplum 5.7 + gpcheck详解数据库

数据库 详解 5.7 GreenPlum
2023-06-13 09:20:08 时间

查看帮助

[[email protected] bin]$ gpcheck --help 

COMMAND NAME: gpcheck 

Verifies and validates Greenplum Database platform settings. 

***************************************************** 

SYNOPSIS 

***************************************************** 

gpcheck {{-f | --file} hostfile_gpcheck | {-h | --host} host_ID 

 | --local } [-m master_host ] [-s standby_master_host ] 

 [--stdout | --zipout] [--config config_file ] 

gpcheck --zipin gpcheck_zipfile 

gpcheck -? 

gpcheck --version 

此处省略若干字 

***************************************************** 

EXAMPLES 

***************************************************** 

Verify and validate the Greenplum Database platform settings by entering 

a host file: 

 # gpcheck -f hostfile_gpcheck 

Save Greenplum Database platform settings to a zip file: 

 # gpcheck -f hostfile_gpcheck --zipout 

Verify and validate the Greenplum Database platform settings using a zip 

file created with the --zipout option: 

 # gpcheck --zipin gpcheck_timestamp.tar.gz 

View collected Greenplum Database platform settings: 

 # gpcheck -f hostfile_gpcheck --stdout 

See Also 

gpcheckperf
gpcheck -f

检查segment机器的操作系统情况,默认使用的–config 是 $GPHOME/etc/gpcheck.cnf

[root@node1 ~]# gpcheck -f /usr/local/greenplum-db/all_host

其余参数使用可以查看 gpcheck –help 的输出,非常详细

3874.html