Delete Database
To drop all data, you could send a DropAll request via /alter endpoint.
Alternatively, you could:
- Shutdown Dgraph and wait for all writes to complete,
- Delete (maybe do an export first) the
pandwdirectories, then - Restart Dgraph.
warning
Always export your data before deleting the database to ensure you have a backup.