DeleteKeyspace

vtctldclient DeleteKeyspace

Deletes the specified keyspace from the topology.

Synopsis

Deletes the specified keyspace from the topology.

In recursive mode, it also recursively deletes all shards in the keyspace. Otherwise, the keyspace must be empty (have no shards), or returns an error.

  1. vtctldclient DeleteKeyspace [--recursive|-r] [--force|-f] <keyspace>

Options

  1. -f, --force Delete the keyspace even if it cannot be locked; this should only be used for cleanup operations.
  2. -h, --help help for DeleteKeyspace
  3. -r, --recursive Recursively delete all shards in the keyspace, and all tablets in those shards.

Options inherited from parent commands

  1. --action_timeout duration timeout for the total command (default 1h0m0s)
  2. --server string server to use for connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.