gpdeletesystem v6.27.4
Deletes a WarehousePG cluster that was initialized using gpinitsystem.
Synopsis
gpdeletesystem [-d <coordinator_data_directory>] [-B <parallel_processes>] [-f] [-l <logfile_directory>] [-D] gpdeletesystem -? gpdeletesystem -v
Description
The gpdeletesystem utility performs the following actions:
Before running gpdeletesystem:
This utility will not uninstall the WarehousePG software.
Options
-d coordinator_data_directory
Specifies the coordinator host data directory. If this option is not specified, the setting for the environment variable
MASTER_DATA_DIRECTORYis used. If this option is specified, it overrides any setting ofMASTER_DATA_DIRECTORY. If coordinator_data_directory cannot be determined, the utility returns an error.-B parallel_processes
The number of segments to delete in parallel. If not specified, the utility will start up to 60 parallel processes depending on how many segment instances it needs to delete.
-f (force)
Force a delete even if backup files are found in the data directories. The default is to not delete WarehousePG instances if backup files are present.
-l logfile_directory
The directory to write the log file. Defaults to
~/gpAdminLogs.-D (debug)
Sets logging level to debug.
-? (help)
Displays the online help.
-v (show utility version)
Displays the version, status, last updated date, and check sum of this utility.
Examples
Delete a WarehousePG cluster:
gpdeletesystem -d /gpdata/gp-1
Delete a WarehousePG cluster even if backup files are present:
gpdeletesystem -d /gpdata/gp-1 -f
See Also
- On this page
- Synopsis
- Description
- Options
- Examples
- See Also