# Difference between recored inside set and without set

**URL:** <https://discuss.aerospike.com/t/difference-between-recored-inside-set-and-without-set/2761>\
**Category:** Planning\
**Created:** [March 31, 2016, 6:43pm UTC](https://discuss.aerospike.com/t/difference-between-recored-inside-set-and-without-set/2761 "2016-03-31T18:43:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishant.nitjsr](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/nishant.nitjsr/32/501_2.png) [@nishant.nitjsr](https://discuss.aerospike.com/u/nishant.nitjsr)\
**Post date:** [March 31, 2016, 6:43pm UTC](https://discuss.aerospike.com/t/difference-between-recored-inside-set-and-without-set/2761/1 "2016-03-31T18:43:30Z")

</div>

Aerospike supports record within set and directly within namespace (without any set).

What are the use cases for the later one?

Is there any performance or functionality limitation on them?

**My case:** I will have lots (1 Billion) of records in a set say **test\_set** within a bin named **test\_bin\_value**. Now I want to keep track of latest record update/insert time in bin **update\_timestamp**. This bin’s value will be updated whenever someone insert or update record in bin **test\_bin\_value**. Should i keep bin **update\_timestamp** inside set **test\_set** or outside? If i will keep it within same set, will it take more space? There will be frequent read and write operation on both bins.

---

<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:** [March 31, 2016, 6:50pm UTC](https://discuss.aerospike.com/t/difference-between-recored-inside-set-and-without-set/2761/2 "2016-03-31T18:50:08Z")

</div>

These questions are answered here: [Capacity Planning Guide | Aerospike Documentation](http://www.aerospike.com/docs/operations/plan/capacity/)

> [@nishant.nitjsr](#):
>
> What are the use cases for the later one?

Originally there was only the null set.

> [@nishant.nitjsr](#):
>
> Is there any performance or functionality limitation on them?

From the link above

> If using a set name: [for each record add] 9 bytes overhead + set name length.
