# \#record

**URL:** https://discuss.aerospike.com/tag/record/70.md

[Latest](https://discuss.aerospike.com/latest.md) · [Categories](https://discuss.aerospike.com/categories.md) · [Tags](https://discuss.aerospike.com/tags.md)

---

## [Record level locking and latency](https://discuss.aerospike.com/t/record-level-locking-and-latency/5181)

<div class="topic-metadata">

**Author:** [@swayamraina](https://discuss.aerospike.com/u/swayamraina)\
**Replies:** 6\
**Last updated:** [May 19, 2018, 12:00am UTC](https://discuss.aerospike.com/t/record-level-locking-and-latency/5181 "2018-05-19T00:00:28Z")

</div>

Hi, we all know for consistency locking is required, I wanted to know what strategy does aerospike use to handle locking. I mean, I have an aerospike set with records. Will there be latency if I am trying to update a BI…

---

## [Query records by using record's metadata (lut) and filter expressions](https://discuss.aerospike.com/t/query-records-by-using-records-metadata-lut-and-filter-expressions/11000)

<div class="topic-metadata">

**Author:** [@kuskmen](https://discuss.aerospike.com/u/kuskmen)\
**Replies:** 20\
**Last updated:** [April 22, 2024, 5:31am UTC](https://discuss.aerospike.com/t/query-records-by-using-records-metadata-lut-and-filter-expressions/11000 "2024-04-22T05:31:39Z")

</div>

Hello, I’ve been looking for a way to query efficiently records and I came up with idea to build an expression that will rely on its metadata since its in the index metadata and hopefully some storage access can be saved…

---

## [How to delete a record based on secondary index?](https://discuss.aerospike.com/t/how-to-delete-a-record-based-on-secondary-index/2262)

<div class="topic-metadata">

**Author:** [@shamik](https://discuss.aerospike.com/u/shamik)\
**Replies:** 4\
**Last updated:** [May 19, 2023, 5:59pm UTC](https://discuss.aerospike.com/t/how-to-delete-a-record-based-on-secondary-index/2262 "2023-05-19T17:59:41Z")

</div>

Hi, I’m trying to delete a record based on a secondary index value. I’m using java API and the only thing it supports right now seemed to be based on PK. Here’s an example on what I’m trying to do :smile: Following are…

---

## [How to get least recently read records](https://discuss.aerospike.com/t/how-to-get-least-recently-read-records/8760)

<div class="topic-metadata">

**Author:** [@adarshkr532](https://discuss.aerospike.com/u/adarshkr532)\
**Replies:** 2\
**Last updated:** [August 28, 2021, 5:31am UTC](https://discuss.aerospike.com/t/how-to-get-least-recently-read-records/8760 "2021-08-28T05:31:35Z")

</div>

As a part of cleanup process to reduce disk usage, I want to get all records which have not been read in the past one year and delete those. These records are getting updated frequently but since they are not read, they …

---

## [Is it possible to use primary key along with secondary key in Aerospike for fetching a record?](https://discuss.aerospike.com/t/is-it-possible-to-use-primary-key-along-with-secondary-key-in-aerospike-for-fetching-a-record/7537)

<div class="topic-metadata">

**Author:** [@Myst](https://discuss.aerospike.com/u/Myst)\
**Replies:** 7\
**Last updated:** [March 30, 2021, 5:11am UTC](https://discuss.aerospike.com/t/is-it-possible-to-use-primary-key-along-with-secondary-key-in-aerospike-for-fetching-a-record/7537 "2021-03-30T05:11:50Z")

</div>

Is it possible to use primary key along with secondary key. I want to get all records on the basis of primary key and then apply secondary index over it? Is it the correct way to do it or some other approach should be us…

---

## [Write record exception:AerospikeException$Timeout](https://discuss.aerospike.com/t/write-record-exception-aerospikeexception-timeout/6995)

<div class="topic-metadata">

**Author:** [@xixi](https://discuss.aerospike.com/u/xixi)\
**Replies:** 5\
**Last updated:** [January 3, 2020, 3:00am UTC](https://discuss.aerospike.com/t/write-record-exception-aerospikeexception-timeout/6995 "2020-01-03T03:00:53Z")

</div>

I am trouble with a problem for writing record Just one record is ok while writing The exception com.aerospike.client.AerospikeException$Timeout: Client timeout: iteration=2 socket=30000 total=30000 maxRetries=3 node=BB…

---

## [How to get record size in Go Client](https://discuss.aerospike.com/t/how-to-get-record-size-in-go-client/4843)

<div class="topic-metadata">

**Author:** [@shuucream2011](https://discuss.aerospike.com/u/shuucream2011)\
**Replies:** 6\
**Last updated:** [January 4, 2018, 3:22am UTC](https://discuss.aerospike.com/t/how-to-get-record-size-in-go-client/4843 "2018-01-04T03:22:48Z")

</div>

I’d like to get record sizes in order to split a large record. And I found the following solution. But, the estimateSize method is private in go client. How can I acutually get a record size in my application.

---

## [Is it possible to get record of specified generation (versioning support)?](https://discuss.aerospike.com/t/is-it-possible-to-get-record-of-specified-generation-versioning-support/3679)

<div class="topic-metadata">

**Author:** [@AlexK](https://discuss.aerospike.com/u/AlexK)\
**Replies:** 1\
**Last updated:** [December 12, 2016, 5:40pm UTC](https://discuss.aerospike.com/t/is-it-possible-to-get-record-of-specified-generation-versioning-support/3679 "2016-12-12T17:40:42Z")

</div>

I did not find methods at Policy and Client classes for getting record of none last generation. For example I have a record of 3 generations. Is it possible to get record for 2nd generation? Is versioning supported? T…

---

## [What is the maximum size of record stored in inmemory namespace?](https://discuss.aerospike.com/t/what-is-the-maximum-size-of-record-stored-in-inmemory-namespace/3065)

<div class="topic-metadata">

**Author:** [@AnilKumar\_Valluri](https://discuss.aerospike.com/u/AnilKumar_Valluri)\
**Replies:** 2\
**Last updated:** [June 17, 2016, 4:50am UTC](https://discuss.aerospike.com/t/what-is-the-maximum-size-of-record-stored-in-inmemory-namespace/3065 "2016-06-17T04:50:40Z")

</div>

HI, i want to use list as value for in-memory namespace. In the following link Known Limitations | Aerospike Documentation they are told about maximum record value size is limited to write-block-size. But this configurat…

---

## [How is record replica written](https://discuss.aerospike.com/t/how-is-record-replica-written/2946)

<div class="topic-metadata">

**Author:** [@Gagan\_Agrawal](https://discuss.aerospike.com/u/Gagan_Agrawal)\
**Replies:** 1\
**Last updated:** [May 17, 2016, 5:00pm UTC](https://discuss.aerospike.com/t/how-is-record-replica-written/2946 "2016-05-17T17:00:29Z")

</div>

If we have replication-factor 2, then how is the replica record written on other node. Does the client first writes to master node and then master node sends it to replica node and acknowledges client. Or client writes b…

---

## [How to get any "N" number of records from a set in namespace?](https://discuss.aerospike.com/t/how-to-get-any-n-number-of-records-from-a-set-in-namespace/2149)

<div class="topic-metadata">

**Author:** [@Hammad](https://discuss.aerospike.com/u/Hammad)\
**Replies:** 2\
**Last updated:** [November 23, 2015, 6:57am UTC](https://discuss.aerospike.com/t/how-to-get-any-n-number-of-records-from-a-set-in-namespace/2149 "2015-11-23T06:57:31Z")

</div>

I want to get any “n” number of records from a set in namespace. I want to show a sample data from the set. Its more like having a peek into the set to see what data is in it. I am assuming that i have placed the same sc…

---

## [Context about three, somewhat commonly seen, Aerospike errors](https://discuss.aerospike.com/t/context-about-three-somewhat-commonly-seen-aerospike-errors/1886)

<div class="topic-metadata">

**Author:** [@brandante](https://discuss.aerospike.com/u/brandante)\
**Replies:** 5\
**Last updated:** [September 29, 2015, 5:09pm UTC](https://discuss.aerospike.com/t/context-about-three-somewhat-commonly-seen-aerospike-errors/1886 "2015-09-29T17:09:58Z")

</div>

We are using the Node.js implementation of Aerospike. Here are the versions we are using in production: asd --version Aerospike Enterprise Edition, build 3.5.8 npm ls | grep aerospike Aerospike Node Client, version …
