# Retrieving only specific bins

**URL:** <https://discuss.aerospike.com/t/retrieving-only-specific-bins/5271>\
**Category:** C Client Library\
**Created:** [June 21, 2018, 6:21am UTC](https://discuss.aerospike.com/t/retrieving-only-specific-bins/5271 "2018-06-21T06:21:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishal14101993](https://avatars.discourse-cdn.com/v4/letter/v/71e660/32.png) [@vishal14101993](https://discuss.aerospike.com/u/vishal14101993)\
**Post date:** [June 21, 2018, 6:21am UTC](https://discuss.aerospike.com/t/retrieving-only-specific-bins/5271/1 "2018-06-21T06:21:18Z")

</div>

Is there a client function to retrieve only specific bins from the server? I have used [aerospike\_key\_get()](https://www.aerospike.com/apidocs/c/d2/d56/group __key__ operations.html#ga15608cc14e9465b218483ac914259ee2), to fetch the entire row even when I had to access a subset of the total bins. Wouldn’t it be faster if there was a way to get only the required bins from the ‘get’ function?

---

<div class="post-metadata">

**Author:** ![Brian](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/brian/32/2211_2.png) [@Brian](https://discuss.aerospike.com/u/Brian)\
**Post date:** [June 21, 2018, 4:47pm UTC](https://discuss.aerospike.com/t/retrieving-only-specific-bins/5271/2 "2018-06-21T16:47:24Z")

</div>

Use aerospike\_key\_select().

---

<div class="post-metadata">

**Author:** ![vishal14101993](https://avatars.discourse-cdn.com/v4/letter/v/71e660/32.png) [@vishal14101993](https://discuss.aerospike.com/u/vishal14101993)\
**Post date:** [June 22, 2018, 6:07am UTC](https://discuss.aerospike.com/t/retrieving-only-specific-bins/5271/3 "2018-06-22T06:07:46Z")

</div>

Who’s awesome? …

…Brian is awesome!!🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/system/32/2274_2.png) [@system](https://discuss.aerospike.com/u/system)\
**Post date:** [July 16, 2018, 5:30am UTC](https://discuss.aerospike.com/t/retrieving-only-specific-bins/5271/4 "2018-07-16T05:30:04Z")

</div>

Closed on July 16, 2018, 5:30am UTC

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.
