Find records with TTL 0 in Aerospike

my aerospatic cluster accounts for 50% of disk usage, and the records begin to be cut. I have doubts that I do not write so many daily entries in the cluster.Per entry. We have a 90 day TTL set and the default TTL for the namespace is 30 days.

What is my concern, I assume that we have records with 0 TTL that are not evicted or even used. How to check and find records (number of objects) with 0 TTL, which should be immediately changed to TTL by default.

Thank.

+4
source share
2 answers

You are looking for the following log line:

Sep 02 2016 15:14:00 GMT: INFO (nsup): (thr_nsup.c: 1114) {test} : 3725361, 0 0-vt, 0 (0) expired, 0 (0) , 0 (0) . Evict ttl: 0. : 0,0,0. : 765

, , "test", , 372561 , 0 0-vt void.

TTL - ( ), , void 0, .

+3

:

, , "0 v-t" ( 0):

{ns-name} Records: 37118670, 0 0-vt, 0(377102877) expired, 185677(145304222) evicted, 0(0) set deletes, 0(0) set evicted. Evict ttls: 34560,38880,0.118. Waits: 0,0,8743. Total time: 45467 ms

"" ( ).

, , ... java ( ) . , .

+4

Source: https://habr.com/ru/post/1653439/


All Articles