Skip to main content
Loading

Aerospike Database 7.0 Release Notes

Aerospike Database Release Notes 7.0โ€‹

November 15, 2023

Aerospike Database software version 7.0 is now available.

New in this versionโ€‹

This version implements a variety of feature requests and improvements to enhance performance, usability and reliability.

New featuresโ€‹

  • New storage engine for in-memory namespaces
    • Unified write-block storage format
    • Aerospike Enterprise Edition (EE) and Standard Edition (SE) store data in shared memory segments
    • Fast restarts for EE and SE in-memory namespaces
    • Compression available for in-memory namespaces
  • Default TTL can now be configured at set level
  • Secondary indexes can be built on the bytes data type (BLOBs)
  • See the detailed complete list of all new features

Updatesโ€‹

  • Server UDF subsystem upgraded to Lua version 5.4
  • Aerospike Tools 10.0
  • Removed limit on number of unique bin names per namespace
  • Increased the maximum number of sets per namespace to 4095
  • An optimization for data-in-memory namespaces with storage-backed persistence, where hot keys that remain exactly the same size between writes were written in-place, has been removed in Database 7.0 as part of AER-6666.
  • API changes
    • The device_size and memory_size expressions are now deprecated. Use the new expression record_size instead.
    • Developer API option to keep a CDT index on a per-bin basis is available for any storage engine
  • See Platform support and compatibility for all currently supported platforms

Configuration changesโ€‹

  • Before upgrading to 7.0, from pre-7.0, cluster-name must be set dynamically on all nodes in the pre-7.0 cluster.
  • index-type flash does not work with storage-engine pmem or storage-engine memory.
  • See configuration changes for namespace data storage and data retention.

Configuration items added or enhancedโ€‹

ItemActionNotes
storage-engine memoryaddednew context supporting most of the storage-engine device configuration items
data-sizeaddedfor storage-engine memory, only if there is no device/file backing (that is, โ€œmemory onlyโ€)

Configuration items removedโ€‹

ItemActionNotes
memory-sizeremovedStarting with Database 7.1 use indexes-memory-budget
stop-writes-pctremoveduse stop-writes-sys-memory-pct
data-in-memoryremoveduse storage-engine memory
high-water-memory-pctremoved
commit-min-sizeremoved

Configuration items renamedโ€‹

ItemActionNew name
high-water-disk-pctrenamedevict-used-pct
mounts-size-limitrenamedmounts-budget
max-used-pctrenamedstop-writes-used-pct
min-avail-pctrenamedstop-writes-avail-pct
mounts-high-water-pctrenamedevict-mounts-pct

Info commands changesโ€‹

ItemAction
binsremoved

Metrics changesโ€‹

Metrics items removedโ€‹

ItemAction
memory_used_bytesremoved
memory_free_pctremoved
bin_namesremoved
bin_names_quotaremoved
available_bin_namesremoved

Metrics items renamedโ€‹

ItemActionNew name
memory_used_data_bytesrenameddata_used_bytes
memory_used_index_bytesrenamedindex_used_bytes
memory_used_set_index_bytesrenamedset_index_used_bytes
memory_used_sindex_bytesrenamedsindex_used_bytes
index_pmem_used_bytesrenamedindex_used_bytes
index_pmem_used_pctrenamedindex_mounts_used_pct
sindex_pmem_used_bytesrenamedsindex_used_bytes
sindex_pmem_used_pctrenamedsindex_mounts_used_pct
index_flash_used_bytesrenamedindex_used_bytes
index_flash_used_pctrenamedindex_mounts_used_pct
sindex_flash_used_bytesrenamedsindex_used_bytes
sindex_flash_used_pctrenamedsindex_mounts_used_pct
pmem_total_bytesrenameddata_total_bytes
pmem_used_bytesrenameddata_used_bytes
pmem_free_pctrenameddata_used_pct
pmem_available_pctrenameddata_avail_pct
pmem_compression_ratiorenameddata_compression_ratio
device_total_bytesrenameddata_total_bytes
device_used_bytesrenameddata_used_bytes
device_free_pctrenameddata_used_pct
device_available_pctrenameddata_avail_pct
device_compression_ratiorenameddata_compression_ratio
memory_data_bytesrenameddata_used_bytes
device_data_bytesrenameddata_used_bytes

Server log changesโ€‹

ItemAction
memory-usageremoved
index-pmem-usageremoved
index-flash-usageremoved
sindex-pmem-usageremoved
sindex-flash-usageremoved
pmem-usageremoved
device-usageremoved
index-usageadded
set-index-usageadded
sindex-usageadded
data-usageadded

Tools changesโ€‹

Changes in Tools 10.0.0โ€‹

  • Aerospike shared memory tool (ASMT) now backs up storage-engine memory to and from shared memory (shmem).
  • Removed AQL truncate command. (Replaced with asadm manage command).

See Tools 10.0 Release Notes.

Client/server feature compatiblityโ€‹

For a complete list of client features and the server versions that support them, see the Client Matrix.

Ecosystem compatibilityโ€‹

Compatible client versionsโ€‹

For full feature access in Database 7.0:

  • Java client 7.2.0
  • Python client 14.0.0
  • C# client 6.2.0
  • C client 6.5.0
  • Go client 7.0 is required for use with Database 7.0
  • Node.js client 5.9.0

Compatible connector versionsโ€‹

  • Trino connector 1.2.0 or later
  • Spark connector 3.1.1 or later

Prerequisites and notesโ€‹

Complete list of changesโ€‹

IDDescription
AER-6666(STORAGE) Redesigned memory storage, including significant changes to configuration and statistics.
AER-6668(KVS) The number of bin names per namespace is now unlimited.
AER-6669(UDF) Upgraded Lua to version 5.4.
AER-6671(STORAGE) Storage benchmark histograms may now be configured to use units of microseconds.
AER-6672(KVS) Added set context configuration item 'default-ttl' to optionally specify a default ttl at the set level.
AER-6674(KVS) Increased the maximum number of sets per namespace to 4095.
AER-6675(UDF) Implemented record.size(), to replace the now-deprecated record.memory_size() and record.device_size() methods.
AER-6676(EXPRESSIONS) Added a record_size() op, to replace the now-deprecated device_size() and memory_size() ops.
AER-6677(CDT) Added support for persisting CDT indexes as specified per operation.
AER-6678(CLUSTERING) It is now mandatory to set service context configuration item cluster-name.
AER-6679(SINDEX) Added support for secondary indexes on "blob" type elements.
AER-6683(UDF) Preserve the specific blob type of a bin when it is read and rewritten by a UDF.
AER-6685(STORAGE) Removed storage context configuration item commit-min-size.
AER-6686(CDT) If not already key-sorted, sort all maps written to the server.

Product lifecycle updatesโ€‹

Aerospike provides Maintenance and Support for 2 years (24 months) starting with Database release 6.3. See Platform support for details.

Known limitationsโ€‹