Deleting replication databases

Run the nzdr command with the delete db subcommand to delete configurations for specified databases.

You can run the command on any of the systems.

About this task

If you are dropping a replicated database from Netezza Performance Server by using nzsql, make sure you also remove it from replication by following this procedure.

Important:

If you are planning to re-add the database with the same backupsetid then ensure the following:

Procedure

  1. Log in to the Netezza Performance Server container as the nz user.
    ssh nz@APPLIANCE HOSTNAME -p 51022
  2. Locate the nzdr utility in the /nrs directory.
  3. Delete databases.
    ./nzdr delete db --db-name DATABASE NAME
    Example:
    ./nzdr delete db --db-name MYDB2
    Successfully deleted replication database MYDB2.

    For more information about the nzdr command and its options and parameters, see The nzdr command.