Is it possible to insert multiple records at a time in aerospike server through a single query?

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?

You can insert/update multiple records as part of a call using the Batch API (see this doc page: Batch Operations | Aerospike Documentation).

Here is a tutorial that walks through some examples: Aerospike Interactive Tutorial: Batch Operations in Aerospike | Developer.

I am not sure how similar it is to what SQL allows, though…

Hope this helps.

1 Like

Thanks @meher for the input.