Short note on Aerospike

  1. For community version, in order to delete all the data in a set (table, namespace is db) .
    source ~/.pyenv/versions/anaconda3-4.3.1/bin/activate python2
    asinfo -v “set-config:context=namespace;id=test;set=testset123;set-delete=true;”
  2. source ~/.pyenv/versions/anaconda3-4.3.1/bin/activate python2
    asinfo -v “truncate:namespace=test;set=testset123;lut=time” is faster

Leave a Reply