# Tools

**URL:** https://discuss.aerospike.com/c/tools/30.md

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

---

## [About the Tools category](https://discuss.aerospike.com/t/about-the-tools-category/52)

<div class="topic-metadata">

**Author:** [@kporter](https://discuss.aerospike.com/u/kporter)\
**Replies:** 0

</div>

Aerospike Tools Discussion.

---

## [TTL Histogram bucket size](https://discuss.aerospike.com/t/ttl-histogram-bucket-size/1303)

<div class="topic-metadata">

**Author:** [@egbuck](https://discuss.aerospike.com/u/egbuck)\
**Replies:** 7\
**Last updated:** [March 13, 2025, 12:35pm UTC](https://discuss.aerospike.com/t/ttl-histogram-bucket-size/1303 "2025-03-13T12:35:23Z")

</div>

Is there any way to set the bucket size for the TTL histogram? Almost all our records are showing up in the first histogram bucket, which means this tool is not very useful to us. Here is an example: asinfo -v "hist-dum…

---

## [Wrong output when truncate command is about to be executed](https://discuss.aerospike.com/t/wrong-output-when-truncate-command-is-about-to-be-executed/11874)

<div class="topic-metadata">

**Author:** [@kuskmen](https://discuss.aerospike.com/u/kuskmen)\
**Replies:** 2\
**Last updated:** [December 3, 2024, 6:19am UTC](https://discuss.aerospike.com/t/wrong-output-when-truncate-command-is-about-to-be-executed/11874 "2024-12-03T06:19:50Z")

</div>

Hello, I want to truncate one set but before that, I want to make some calculations based on how much data has been deleted, however… output of the command seems to be wrong Admin+\> manage truncate ns fm set feed\_3 bef…

---

## [Meaning of edigest field being "n/a" in a record?](https://discuss.aerospike.com/t/meaning-of-edigest-field-being-n-a-in-a-record/11399)

<div class="topic-metadata">

**Author:** [@iandntran](https://discuss.aerospike.com/u/iandntran)\
**Replies:** 3\
**Last updated:** [August 21, 2024, 4:03pm UTC](https://discuss.aerospike.com/t/meaning-of-edigest-field-being-n-a-in-a-record/11399 "2024-08-21T16:03:35Z")

</div>

Hi, I noticed that in a select query I ran, with record print metadata set to true, the edigest of the field was set to “n/a”. I thought the digest is always calculated using the primary key, or is it dependent on some …

---

## [How to sindex in aql queries on map bins](https://discuss.aerospike.com/t/how-to-sindex-in-aql-queries-on-map-bins/11058)

<div class="topic-metadata">

**Author:** [@PKuchibhatla](https://discuss.aerospike.com/u/PKuchibhatla)\
**Replies:** 22\
**Last updated:** [May 28, 2024, 6:18am UTC](https://discuss.aerospike.com/t/how-to-sindex-in-aql-queries-on-map-bins/11058 "2024-05-28T06:18:33Z")

</div>

How to use sindex in aql queries on map bins

---

## [Asinfo -v "latencies:" command scope](https://discuss.aerospike.com/t/asinfo-v-latencies-command-scope/11080)

<div class="topic-metadata">

**Author:** [@alwjoseph](https://discuss.aerospike.com/u/alwjoseph)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 2:43am UTC](https://discuss.aerospike.com/t/asinfo-v-latencies-command-scope/11080 "2024-05-09T02:43:43Z")

</div>

Is output from asinfo -v “latencies:” command at cluster level or current node level ? Thanks Alwin

---

## [How to create and use sindex in aql for mapbins](https://discuss.aerospike.com/t/how-to-create-and-use-sindex-in-aql-for-mapbins/11057)

<div class="topic-metadata">

**Author:** [@PKuchibhatla](https://discuss.aerospike.com/u/PKuchibhatla)\
**Replies:** 1\
**Last updated:** [May 3, 2024, 5:01pm UTC](https://discuss.aerospike.com/t/how-to-create-and-use-sindex-in-aql-for-mapbins/11057 "2024-05-03T17:01:25Z")

</div>

Can any one help me out with the sindex for map bin in a set . how to set index on a specific key

---

## [Question regarding 'asadm show latency' missing some stats from a few nodes](https://discuss.aerospike.com/t/question-regarding-asadm-show-latency-missing-some-stats-from-a-few-nodes/10871)

<div class="topic-metadata">

**Author:** [@iandntran](https://discuss.aerospike.com/u/iandntran)\
**Replies:** 9\
**Last updated:** [March 14, 2024, 4:45am UTC](https://discuss.aerospike.com/t/question-regarding-asadm-show-latency-missing-some-stats-from-a-few-nodes/10871 "2024-03-14T04:45:51Z")

</div>

Hi, on aerospike server version 4.9.0.30, we noticed that for some of the db-nodes, the asadm latency command is missing batch-index metrics. In the aerospike log, there doesn’t seem to be a message about the metric bein…

---

## [Select \* from \<namespace\>.\<set-name\> ------ throws UNSUPPORTED\_FEATURE Error](https://discuss.aerospike.com/t/select-from-namespace-set-name-throws-unsupported-feature-error/10863)

<div class="topic-metadata">

**Author:** [@Rupinder\_Guron](https://discuss.aerospike.com/u/Rupinder_Guron)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 4:38am UTC](https://discuss.aerospike.com/t/select-from-namespace-set-name-throws-unsupported-feature-error/10863 "2024-03-01T04:38:34Z")

</div>

Select \* from dev.foo ----fails with AEROSPIKE\_ERR\_UNSUPPORTED\_FEATURE while select \* from dev.foo where PK='134' works fine I am running both aerospikedb and aerospike-tools on mac — Docker Docker images being used: a…

---

## [Installation of Aerospike Tools on M1](https://discuss.aerospike.com/t/installation-of-aerospike-tools-on-m1/10777)

<div class="topic-metadata">

**Author:** [@Abigail\_Edwards](https://discuss.aerospike.com/u/Abigail_Edwards)\
**Replies:** 6\
**Last updated:** [January 19, 2024, 11:20pm UTC](https://discuss.aerospike.com/t/installation-of-aerospike-tools-on-m1/10777 "2024-01-19T23:20:23Z")

</div>

I am following the official documentation on Aerospike however I am receiving this error. Is this something on my end or is the doc command missing something? Thank you! Abigail wget -O aerospike-tools.tgz 'https://d…

---

## [Is it possible to insert multiple records at a time in aerospike server through a single query?](https://discuss.aerospike.com/t/is-it-possible-to-insert-multiple-records-at-a-time-in-aerospike-server-through-a-single-query/10332)

<div class="topic-metadata">

**Author:** [@sagar](https://discuss.aerospike.com/u/sagar)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 5:14am UTC](https://discuss.aerospike.com/t/is-it-possible-to-insert-multiple-records-at-a-time-in-aerospike-server-through-a-single-query/10332 "2023-07-18T05:14:56Z")

</div>

I want to insert multiple records at a time by using a single query just like we are doing in SQL.is it possible in aerospike or not?

---

## [I want to perform backup and restore operation for multiple namespaces in a single command](https://discuss.aerospike.com/t/i-want-to-perform-backup-and-restore-operation-for-multiple-namespaces-in-a-single-command/10311)

<div class="topic-metadata">

**Author:** [@sagar](https://discuss.aerospike.com/u/sagar)\
**Replies:** 4\
**Last updated:** [July 14, 2023, 4:56am UTC](https://discuss.aerospike.com/t/i-want-to-perform-backup-and-restore-operation-for-multiple-namespaces-in-a-single-command/10311 "2023-07-14T04:56:23Z")

</div>

---

## [Error while storing record - code 4](https://discuss.aerospike.com/t/error-while-storing-record-code-4/10299)

<div class="topic-metadata">

**Author:** [@Priyono\_Ramdhani](https://discuss.aerospike.com/u/Priyono_Ramdhani)\
**Replies:** 1\
**Last updated:** [July 4, 2023, 11:42pm UTC](https://discuss.aerospike.com/t/error-while-storing-record-code-4/10299 "2023-07-04T23:42:57Z")

</div>

Hi Guys, Need your help ,im tried to take the backup db : root@ip-10-163-21-121:/# asbackup --host 10.163.21.85 --namespace risk --output-file /etc/asdb\_new 2023-07-04 11:04:09 GMT \[INF\] \[ 9777\] Starting backup of 10.16…

---

## [Parallel asbackup and asrestore of multiple sets in a namespace](https://discuss.aerospike.com/t/parallel-asbackup-and-asrestore-of-multiple-sets-in-a-namespace/10287)

<div class="topic-metadata">

**Author:** [@mcoder](https://discuss.aerospike.com/u/mcoder)\
**Replies:** 3\
**Last updated:** [July 3, 2023, 4:40pm UTC](https://discuss.aerospike.com/t/parallel-asbackup-and-asrestore-of-multiple-sets-in-a-namespace/10287 "2023-07-03T16:40:19Z")

</div>

We have few aerospike sets in one namespace (that is setup in high availability mode) the total size of those sets is around 1 TB, we would like to take backup and restore those sets into a different namespace (setup in …

---

## [Asadm -e collectinfo fails with JSON error](https://discuss.aerospike.com/t/asadm-e-collectinfo-fails-with-json-error/10185)

<div class="topic-metadata">

**Author:** [@Ritesh\_Kumar\_Singh](https://discuss.aerospike.com/u/Ritesh_Kumar_Singh)\
**Replies:** 1\
**Last updated:** [May 9, 2023, 3:59pm UTC](https://discuss.aerospike.com/t/asadm-e-collectinfo-fails-with-json-error/10185 "2023-05-09T15:59:23Z")

</div>

Admin\> collectinfo; INFO: Data collection for Snapshot: 1 in progress.. INFO: Dumping collectinfo in JSON format. ERROR: Failed to write JSON file: ValueError("invalid literal for int() with base 10: '8605.4'",) is not J…

---

## [Aerospike amc authentication](https://discuss.aerospike.com/t/aerospike-amc-authentication/10075)

<div class="topic-metadata">

**Author:** [@Vedansh\_Singhal](https://discuss.aerospike.com/u/Vedansh_Singhal)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 10:16pm UTC](https://discuss.aerospike.com/t/aerospike-amc-authentication/10075 "2023-03-13T22:16:01Z")

</div>

Is there any way other than basic\_auth to setup authentication on Aerospike amc

---

## [AQL is missing in new version of Aerospike docker image](https://discuss.aerospike.com/t/aql-is-missing-in-new-version-of-aerospike-docker-image/9939)

<div class="topic-metadata">

**Author:** [@Stepanov](https://discuss.aerospike.com/u/Stepanov)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 8:16pm UTC](https://discuss.aerospike.com/t/aql-is-missing-in-new-version-of-aerospike-docker-image/9939 "2023-01-03T20:16:48Z")

</div>

Hi guys, I pulled an aerospike:ce-6.2.0.2 docker image. I found that version doesn’t have AQL support like a version before. I’m trying to run Aerospike on MacOS with arm64 architecture.

---

## [Asrestore issue while restoring data](https://discuss.aerospike.com/t/asrestore-issue-while-restoring-data/9801)

<div class="topic-metadata">

**Author:** [@Vinamra\_Mittal](https://discuss.aerospike.com/u/Vinamra_Mittal)\
**Replies:** 3\
**Last updated:** [October 14, 2022, 5:53pm UTC](https://discuss.aerospike.com/t/asrestore-issue-while-restoring-data/9801 "2022-10-14T17:53:34Z")

</div>

Hi team, we are facing some issue while restoring data to a 3 node cluster. 2022-10-12 22:46:35 GMT \[INF\] \[10272\] Restoring s3://indus-staging-aerospike-backup/user-personas/2022/10/11/user-personas\_00094.asb 2022-10-1…

---

## [EAGAIN (Resource temporarily unavailable) error during asrestore](https://discuss.aerospike.com/t/eagain-resource-temporarily-unavailable-error-during-asrestore/9273)

<div class="topic-metadata">

**Author:** [@Sahil\_Kamboj](https://discuss.aerospike.com/u/Sahil_Kamboj)\
**Replies:** 1\
**Last updated:** [March 14, 2022, 11:58pm UTC](https://discuss.aerospike.com/t/eagain-resource-temporarily-unavailable-error-during-asrestore/9273 "2022-03-14T23:58:13Z")

</div>

Hi All, i am seeing EAGAIN (Resource temporarily unavailable) error when i strace one of asrestore threads. I am using aerospike version 3.15.0.1. Below are the strace logs that i am getting however restore thread is wo…

---

## [Data loss when used asbackup during migrations](https://discuss.aerospike.com/t/data-loss-when-used-asbackup-during-migrations/9274)

<div class="topic-metadata">

**Author:** [@Sahil\_Kamboj](https://discuss.aerospike.com/u/Sahil_Kamboj)\
**Replies:** 3\
**Last updated:** [March 11, 2022, 4:13am UTC](https://discuss.aerospike.com/t/data-loss-when-used-asbackup-during-migrations/9274 "2022-03-11T04:13:30Z")

</div>

Hi all, i am using aerospike version 3.15.0.1 and was trying the asbackup/asrestore feature of aerospike. One of the case that feared me is that i started asbackup when aerospike cluster was rebalancing. I have 5 node c…

---

## [Asbackup taking similar time on local backup as full backup when using node-list](https://discuss.aerospike.com/t/asbackup-taking-similar-time-on-local-backup-as-full-backup-when-using-node-list/9117)

<div class="topic-metadata">

**Author:** [@Sahil\_Kamboj](https://discuss.aerospike.com/u/Sahil_Kamboj)\
**Replies:** 3\
**Last updated:** [December 27, 2021, 4:42pm UTC](https://discuss.aerospike.com/t/asbackup-taking-similar-time-on-local-backup-as-full-backup-when-using-node-list/9117 "2021-12-27T16:42:04Z")

</div>

Hi All, I have approx 8.6 crore of records on my 3 node cluster. When i run asbackup on full cluster it takes approx 16 min 23 sec. And when i do the local backup using node-list option then again its taking approx same…

---

## [Aerospike GUI Clairvoyance cannot load namespaces](https://discuss.aerospike.com/t/aerospike-gui-clairvoyance-cannot-load-namespaces/9027)

<div class="topic-metadata">

**Author:** [@sonch](https://discuss.aerospike.com/u/sonch)\
**Replies:** 6\
**Last updated:** [December 20, 2021, 8:59am UTC](https://discuss.aerospike.com/t/aerospike-gui-clairvoyance-cannot-load-namespaces/9027 "2021-12-20T08:59:25Z")

</div>

I use Clairvoyance to view the data but Clairvoyance can’t load data Can anyone give a solution? Sorry about my english status

---

## [Aerospike backup skips few keys](https://discuss.aerospike.com/t/aerospike-backup-skips-few-keys/9038)

<div class="topic-metadata">

**Author:** [@Chandan\_Kumar](https://discuss.aerospike.com/u/Chandan_Kumar)\
**Replies:** 9\
**Last updated:** [December 8, 2021, 4:43am UTC](https://discuss.aerospike.com/t/aerospike-backup-skips-few-keys/9038 "2021-12-08T04:43:26Z")

</div>

I was trying to backup all set of a namespace, First I had done backup with 100,000 records, backup contains all the records, I was successfully able to truncate and restore all the records. But when I tried backup for …

---

## [Asloader write speed - how to increase TPS](https://discuss.aerospike.com/t/asloader-write-speed-how-to-increase-tps/8868)

<div class="topic-metadata">

**Author:** [@shan.p](https://discuss.aerospike.com/u/shan.p)\
**Replies:** 2\
**Last updated:** [October 4, 2021, 11:30pm UTC](https://discuss.aerospike.com/t/asloader-write-speed-how-to-increase-tps/8868 "2021-10-04T23:30:37Z")

</div>

I am trying to load a 8 GB file into an empty Aerospike namespace. Here are the options I use: -h \<one host's IP\> -p 3000 -c ~/config.json -n pc ~/data.dsv I notice that when I load the file into a single node cluster …

---

## [Recommendations for integrating AS 3.x server with Spark 2.x](https://discuss.aerospike.com/t/recommendations-for-integrating-as-3-x-server-with-spark-2-x/8740)

<div class="topic-metadata">

**Author:** [@Ritesh\_Kumar\_Singh](https://discuss.aerospike.com/u/Ritesh_Kumar_Singh)\
**Replies:** 3\
**Last updated:** [August 24, 2021, 1:01am UTC](https://discuss.aerospike.com/t/recommendations-for-integrating-as-3-x-server-with-spark-2-x/8740 "2021-08-24T01:01:30Z")

</div>

We are currently exploring possible ingestion options using Spark to AS community edition. AS per my understanding, the connectors available are for enterprise edition. And so are there any community accepted ways to go …

---

## [How to create a AQL query corresponding to a Java Key object](https://discuss.aerospike.com/t/how-to-create-a-aql-query-corresponding-to-a-java-key-object/8571)

<div class="topic-metadata">

**Author:** [@shan.p](https://discuss.aerospike.com/u/shan.p)\
**Replies:** 1\
**Last updated:** [June 27, 2021, 5:58pm UTC](https://discuss.aerospike.com/t/how-to-create-a-aql-query-corresponding-to-a-java-key-object/8571 "2021-06-27T17:58:38Z")

</div>

I have a Java project where I can view (debug) the Key of every record saved in the namespace. This is my Key value when printed to String: {Key@11379} "namespace:null:u17c3304e-9c9b-4905-9889-a9cf2b26dc9c:948b5799fd2f6d…

---

## [How to pass multiple PK in the AQL Select query?](https://discuss.aerospike.com/t/how-to-pass-multiple-pk-in-the-aql-select-query/8543)

<div class="topic-metadata">

**Author:** [@vivekjha155](https://discuss.aerospike.com/u/vivekjha155)\
**Replies:** 4\
**Last updated:** [June 22, 2021, 5:14pm UTC](https://discuss.aerospike.com/t/how-to-pass-multiple-pk-in-the-aql-select-query/8543 "2021-06-22T17:14:29Z")

</div>

How to pass multiple PK in the AQL Select \* from namespace.setName where PK command?

---

## [Setting up Environment. Please Wait!](https://discuss.aerospike.com/t/setting-up-environment-please-wait/3046)

<div class="topic-metadata">

**Author:** [@Erik\_Parienty](https://discuss.aerospike.com/u/Erik_Parienty)\
**Replies:** 3\
**Last updated:** [June 9, 2016, 5:42pm UTC](https://discuss.aerospike.com/t/setting-up-environment-please-wait/3046 "2016-06-09T17:42:39Z")

</div>

after upgrade my cluster to 3.8.3 AMC stopped to work. in the AMC log i see exceptions: args:() kwargs:{'cluster': \<models.cluster.Cluster object at 0x7fe6da2ff690\>}Traceback (most recent call last): File "/opt/amc/se…

---

## [Backup and restore incremental with deleted/updated record](https://discuss.aerospike.com/t/backup-and-restore-incremental-with-deleted-updated-record/8136)

<div class="topic-metadata">

**Author:** [@blackmetalz](https://discuss.aerospike.com/u/blackmetalz)\
**Replies:** 2\
**Last updated:** [January 12, 2021, 1:52am UTC](https://discuss.aerospike.com/t/backup-and-restore-incremental-with-deleted-updated-record/8136 "2021-01-12T01:52:29Z")

</div>

Hi. Currently, I found backup with incremental doesn’t send the deleted/updated records. Step to re-procedure: Create 2 aerospike server Take a full backup in server 1 and restore into server 2 Delete / Update some re…

---

## [Info request for non existing set returns empty string](https://discuss.aerospike.com/t/info-request-for-non-existing-set-returns-empty-string/8011)

<div class="topic-metadata">

**Author:** [@Aloren](https://discuss.aerospike.com/u/Aloren)\
**Replies:** 1\
**Last updated:** [November 21, 2020, 5:32am UTC](https://discuss.aerospike.com/t/info-request-for-non-existing-set-returns-empty-string/8011 "2020-11-21T05:32:30Z")

</div>

Hi there! I’m using Java client for querying for asinfo the following way: String infoString = Info.request(node, "sets/" + namespace + "/" + setName); I’ve found that this request returns an empty string for non exist…

[Next page](https://discuss.aerospike.com/c/tools/30.md?page=1)
