DROP REPOSITORY

You can use the DROP REPOSITORY statement to de-register a repository.

Table of contents

Synopsis

DROP REPOSITORY repository_name;

Description

When a repository is de-registered, it is no longer available for use.

Note

When you drop a repository, CrateDB deletes the corresponding record from sys.repositories but does not delete any snapshots from the corresponding backend data storage. If you create a new repository using the same backend data storage, any existing snapshots will become available again.

Parameters

repository_name

The name of the repository to de-register.