How to flush a CRDB database?

Last updated 19, Dec 2024

Question

How to flush a CRDB database?

Answer

CRDB or Active-Active databases don't support the FLUSHDB command. You will need to flush them using the crdb-cli.

You can also flush a CRDB database using the REST API as follows:

curl -v -u <username>:<password> -X PUT <https://>:9443/v1/crdbs/<guid>/flush

References