# Drop a namespace quickly

**URL:** <https://discuss.aerospike.com/t/drop-a-namespace-quickly/3360>\
**Category:** Operations\
**Tags:** aql\
**Created:** [September 2, 2016, 11:51pm UTC](https://discuss.aerospike.com/t/drop-a-namespace-quickly/3360 "2016-09-02T23:51:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fober](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/fober/32/615_2.png) [@fober](https://discuss.aerospike.com/u/fober)\
**Post date:** [September 2, 2016, 11:51pm UTC](https://discuss.aerospike.com/t/drop-a-namespace-quickly/3360/1 "2016-09-02T23:51:26Z")

</div>

We are running YCSB benchmarks on aerospike community edition 3.9.1. We build up our namespace called “ycsb” and we generally want to run different tests so we want to drop our namespace and start over.

here are our steps:

1. We want to mark the namespace as delete capable with this command.

2. we go into aql and see that the set is ready for delete with a “SHOW SETS” command

3. Then we try

But these don’t really work, we see that the data does start getting dropped by monitoring info in asadm, but this is all too painful.

Any good ideas, besides just “dd” 'ing the drive in between runs?

Thanks!

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [October 1, 2016, 1:21am UTC](https://discuss.aerospike.com/t/drop-a-namespace-quickly/3360/2 "2016-10-01T01:21:27Z")

</div>

Namespaces cannot be dynamically added or removed.

---

<div class="post-metadata">

**Author:** ![anushree](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@anushree](https://discuss.aerospike.com/u/anushree)\
**Post date:** [June 13, 2017, 8:11pm UTC](https://discuss.aerospike.com/t/drop-a-namespace-quickly/3360/3 "2017-06-13T20:11:06Z")

</div>

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.

[AER-3485] - (KVS) Support adding/removing namespaces with rolling restart. [http://www.aerospike.com/download/server/notes.html#3.13.0.1](http://www.aerospike.com/download/server/notes.html#3.13.0.1)
