# Deleting records in a set

**URL:** <https://discuss.aerospike.com/t/deleting-records-in-a-set/127>\
**Category:** Deletion\
**Tags:** deletion\
**Created:** [August 15, 2014, 11:48pm UTC](https://discuss.aerospike.com/t/deleting-records-in-a-set/127 "2014-08-15T23:48:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldforum](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@oldforum](https://discuss.aerospike.com/u/oldforum)\
**Post date:** [August 15, 2014, 11:48pm UTC](https://discuss.aerospike.com/t/deleting-records-in-a-set/127/1 "2014-08-15T23:48:59Z")

</div>

Hi,

is there any way to clear a Set records else than running a Scan job and delete each record separately?

thanks

---

<div class="post-metadata">

**Author:** ![wchu](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@wchu](https://discuss.aerospike.com/u/wchu)\
**Post date:** [December 21, 2014, 7:01am UTC](https://discuss.aerospike.com/t/deleting-records-in-a-set/127/2 "2014-12-21T07:01:06Z")

</div>

It is possible to use the “delete-set” info command as well. This command scans the database similarly, but saves the round trip to the client.

See “A different approach”: [http://www.aerospike.com/community/labs/deleting\_sets\_and\_data.html](http://www.aerospike.com/community/labs/deleting_sets_and_data.html)
