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.

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

Options #

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

Options inherited from parent commands #

      --action_timeout duration              timeout to use for the command (default 1h0m0s)
      --compact                              use compact format for otherwise verbose outputs
      --server string                        server to use for the connection (required)
      --topo-global-root string              the path of the global topology data in the global topology server (default "/vitess/global")
      --topo-global-server-address strings   the address of the global topology server(s) (default [localhost:2379])
      --topo-implementation string           the topology implementation to use (default "etcd2")


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