gpdeletesystem

[gpadmin@master1 ~]$ gpdeletesystem -d /data/master/gpseg-1
20200505:20:47:07:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Checking for database dump files...
20200505:20:47:07:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Getting segment information...
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Instance Deletion Parameters
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:---------------------------------------
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Master hostname                  = localhost
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Master data directory            = /data/master/gpseg-1
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Master port                      = 5432
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Master standby host              = master2
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Master standby data directory    = /data/master/gpseg-1
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Master standby port              = 5432
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Greenplum Force delete of dump files       = OFF
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Batch size                                 = 32
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:---------------------------------------
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:- Segment Instance List 
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:---------------------------------------
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Host:Datadir:Port
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-master1:/data/master/gpseg-1:5432
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-master2:/data/master/gpseg-1:5432
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/primary/gpseg0:7000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/mirror/gpseg0:50000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/primary/gpseg1:7001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/mirror/gpseg1:50001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/primary/gpseg2:7002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/mirror/gpseg2:50002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/primary/gpseg3:7003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/mirror/gpseg3:50003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/primary/gpseg4:7004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/mirror/gpseg4:50004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/primary/gpseg5:7005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/mirror/gpseg5:50005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/primary/gpseg6:7000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/mirror/gpseg6:50000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/primary/gpseg7:7001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/mirror/gpseg7:50001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/primary/gpseg8:7002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/mirror/gpseg8:50002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/primary/gpseg9:7003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/mirror/gpseg9:50003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/primary/gpseg10:7004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/mirror/gpseg10:50004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg2:/data/primary/gpseg11:7005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/mirror/gpseg11:50005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/primary/gpseg12:7000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/mirror/gpseg12:50000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/primary/gpseg13:7001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/mirror/gpseg13:50001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/primary/gpseg14:7002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/mirror/gpseg14:50002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/primary/gpseg15:7003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/mirror/gpseg15:50003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/primary/gpseg16:7004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/mirror/gpseg16:50004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg3:/data/primary/gpseg17:7005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/mirror/gpseg17:50005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/primary/gpseg18:7000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/mirror/gpseg18:50000
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/primary/gpseg19:7001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/mirror/gpseg19:50001
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/primary/gpseg20:7002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/mirror/gpseg20:50002
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/primary/gpseg21:7003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/mirror/gpseg21:50003
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/primary/gpseg22:7004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/mirror/gpseg22:50004
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg4:/data/primary/gpseg23:7005
20200505:20:47:08:006791 gpdeletesystem:master1:gpadmin-[INFO]:-seg1:/data/mirror/gpseg23:50005


Continue with Greenplum instance deletion? Yy|Nn (default=N):
> y
20200505:20:47:24:006791 gpdeletesystem:master1:gpadmin-[INFO]:-FINAL WARNING, you are about to delete the Greenplum instance
20200505:20:47:24:006791 gpdeletesystem:master1:gpadmin-[INFO]:-on master host localhost.


Continue with Greenplum instance deletion? Yy|Nn (default=N):
> y
20200505:20:47:43:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Stopping database...
20200505:20:47:45:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Deleting tablespace directories...
20200505:20:47:45:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Waiting for worker threads to delete tablespace dirs...
20200505:20:47:45:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Deleting segments and removing data directories...
20200505:20:47:45:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Waiting for worker threads to complete...
20200505:20:47:46:006791 gpdeletesystem:master1:gpadmin-[INFO]:-Delete system successful.
[gpadmin@master1 ~]$ 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值