# Primary Key search

**URL:** <https://discuss.aerospike.com/t/primary-key-search/558>\
**Category:** Java Client\
**Tags:** key, query, secondary, primary, index\
**Created:** [November 27, 2014, 1:27pm UTC](https://discuss.aerospike.com/t/primary-key-search/558 "2014-11-27T13:27:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![manigandham](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/manigandham/32/58_2.png) [@manigandham](https://discuss.aerospike.com/u/manigandham)\
**Post date:** [November 27, 2014, 3:14pm UTC](https://discuss.aerospike.com/t/primary-key-search/558/6 "2014-11-27T15:14:59Z")

</div>

Aerospike is a key-value store so if you’re storing it with that primary key, you just get it with that primary key.

You don’t need to perform a query, that’s only used for selecting multiple records that match a secondary index or a UDF method.

Just get the record you want directly by the key in the driver you’re using.

---

_[View the full topic](https://discuss.aerospike.com/t/primary-key-search/558)._
