Reputation: 418
Can I maximize bin name length greater then 14?
Error while saving data in Aerospike :
org.springframework.dao.RecoverableDataAccessException: Aerospike Error: Error Code 21: Bin name length greater than 14 characters or maximum bins exceeded; nested exception is com.aerospike.client.AerospikeException: Error Code 21: Bin name length greater than 14 characters or maximum bins exceeded
Upvotes: 4
Views: 1548
Reputation: 5405
No. It is a hardcoded fixed size allocation (15 bytes - 14 max plus null). Bin name is stored with every record on SSDs. Using bin names smaller than 14 characters will not save storage space either.
Upvotes: 6