I made a simple webpage/tool that lets you calculate the amount of storage required for sets/bins/records.
At this point the tool calculates on disk storage requirements without indexes or replication. It only supports the integer and string/blob types. Please use with caution and at your own risk.
Nice tool. Suggestions -
1 - on Block size, may be make it drop down with two options - 128 and 512, or keep fixed at 128. In reality it will always be 128 bytes read block size for SSD and used for rounding the record size. for older Aerospike revs, may be 512.
2 - If you want to be fussy, put 63 char limit on set name.
3 - totalsizeRecords is actual bytes of data + overhead == vs == totalsizeOnDisk - actual disk space required. you could omit the totalSizeofRecords - what one really needs is the totalSizeOnDisk. again just a fine point.
Great contribution, I am going to use for rough sizing estimates!
I honestly didn’t even know that tool was still up on my domain, haha. It’s been a long time since I worked on it so things may definitely have changed!
I’m not using Aerospike at the moment, so I’m not up-to-date with the latest and greatest in advancements and specs. I wonder if maybe the Aerospike Team would be interested in adopting this tool… @aerospike ?
@linear Since you mentioned in the other thread, you are an EE customer, you should have access to Aerospike Academy. Please audit the Intro course, module 4 - Sizing - video recording - that will give a good starting point. There is one update since then, Server Ver 6.0x+ added 4 bytes to identify end of record on device storage.