DROP REPOSITORY
¶
You can use the DROP REPOSITORY
statement to
de-register a repository.
See also
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.
Note
A repository can only be dropped when not in use, i.e. when there are no snapshots being taken.
Parameters¶
- repository_name:
The name of the repository to de-register.