Is there a cli or aql command to delete en entire namespace ? About changing its name ?
I guess I could remove this namespace from the config file, shut down all the servers and restart them… but I’m wondering if there is a programmatic way to do it.
No, there isn’t a way to add/remove a namespace from an API. Namespaces define a longterm storage strategy which typically requires a fair bit of planning.
Sets, however, can be added on the fly but deleting a sets data is currently a bit more involved, and currently there isn’t an easy way to purge the set structure itself.
The ability to add/remove namespaces with rolling restart of the cluster is added starting server version 3.13.0.1 for both Community and Enterprise versions on paxos-protocol version v5.