Is Large Data Type the same as Complex Data Type?


On the documentation, at there are three different data types, Basic Types, Complex Data Types, and Large Data Types (LDT).

QUESTION: Are Complex Data Types different from Large Data Types?

If Complex Data Types ARE different from LDTs, I also was wondering the following.

QUESTION: Do CDTs support replication between data centers, and backup & restore tools.

Thank you.


By nature complex data type is like document store. It allows ability to store map/list in arbitrarily nested manner.

Large list is by nature a collection of values. These values by themselves can be CDT type but LDT DOES NOT allow storing of Large List as value inside Large List.

CDT maximum allowed size is bound by write block size. It cannot span records. Large list as a collection have no such limitation it can be of arbitrary size.

Yes !! CDT supports replication between data center, backup and restore

– R


Thank you Raj for the info on LDT and CDT, this is very helpful! :smile:



Thank you for posting about LDTs in our forum. Please see the LDT Feature Guide for current LDT recommendations and best practices.



Effective immediately, we will no longer actively support the LDT feature and will eventually remove the API. The exact deprecation and removal timeline will depend on customer and community requirements. Instead of LDTs, we advise that you use our newer List and SortedMap APIs, which are now available in all Aerospike-supported clients at the General Availability level. Read our blog post for details.