How to delete whole set from Aerospike namespace?

E V S S Harsha  picture E V S S Harsha · Feb 6, 2015 · Viewed 8.4k times · Source

Is there any way to delete a set from namespace (Aerospike) from aql or CLI ???

My set also contains Ldts .

Please suggest me a way to delete whole Set from LDT

Answer

Anshu Prateek picture Anshu Prateek · Feb 6, 2015

You can delete a set by using

asinfo -v "set-config:context=namespace;id=namespace_name;set=set_name;set-delete=true;"

This link explains more about how the set is deleted

http://www.aerospike.com/docs/operations/manage/sets/#deleting-a-set-in-a-namespace