Aerospike 的新列表和地图功能是否受行大小限制?
Are the NEW list and map features of Aerospike limited to row size?
根据 Aerospike 的说法,他们以前的大数据类型已被弃用:
http://www.aerospike.com/blog/aerospike-ldt/
但是,在解释 ldt 被弃用后的替换功能的博客文章(也来自 Aerospike)中,这些新功能似乎不受大小限制。 (这看起来很奇怪,因为这可能是问题之一,也是 Aerospike 弃用旧版本的原因之一。除非我误解了什么。)
http://www.aerospike.com/docs/guide/cdt-list.html
"Lists are useful when you are dealing size-bound lists residing in a single bin."
www(点)aerospike(点)com/docs/guide/cdt-map(点)html
"Maps in Aerospike are collections of key/value pairs. They are useful when dealing with a size-bound collection residing in a single bin. Aerospike map operations are optimal for manipulating key-value pairs directly on the Aerospike server. For example, add items, remove an item, or get a range of items by value, can all be done without reading and/or replacing the whole bin value."
所以有知道答案的人吗?
提前谢谢你。 :)
(我绝对没有允许任何人编辑我的问题,我不赞成。)
一般记录大小限制适用于列表和地图。一条记录的最大大小是write-block-size,此时最多可以配置为1MB。
对于 Thomas Browne:1 Mb 最大值由 write-block-size 定义(有关 write-block-size 的详细信息,请参阅 http://www.aerospike.com/docs/reference/configuration)
write-block-size 对于带 SSD 的命名空间建议使用 128Kb。
128 字节:不是 bins - 仅当命名空间存储被定义为 SSD 上的设备时,完整记录必须是 128 字节的倍数,因为您只能从 SSD 读取 128 字节块。 SSD 上的完整记录不仅是数据大小,还有开销。请参阅 http://www.aerospike.com/docs/operations/plan/capacity 以估计 SSD 上的记录大小(以字节为单位)。如果记录大小(数据 + 所有开销)为 129 字节,在 SSD 上,您最终将使用 256 字节。
根据 Aerospike 的说法,他们以前的大数据类型已被弃用: http://www.aerospike.com/blog/aerospike-ldt/
但是,在解释 ldt 被弃用后的替换功能的博客文章(也来自 Aerospike)中,这些新功能似乎不受大小限制。 (这看起来很奇怪,因为这可能是问题之一,也是 Aerospike 弃用旧版本的原因之一。除非我误解了什么。)
http://www.aerospike.com/docs/guide/cdt-list.html "Lists are useful when you are dealing size-bound lists residing in a single bin."
www(点)aerospike(点)com/docs/guide/cdt-map(点)html "Maps in Aerospike are collections of key/value pairs. They are useful when dealing with a size-bound collection residing in a single bin. Aerospike map operations are optimal for manipulating key-value pairs directly on the Aerospike server. For example, add items, remove an item, or get a range of items by value, can all be done without reading and/or replacing the whole bin value."
所以有知道答案的人吗?
提前谢谢你。 :)
(我绝对没有允许任何人编辑我的问题,我不赞成。)
一般记录大小限制适用于列表和地图。一条记录的最大大小是write-block-size,此时最多可以配置为1MB。
对于 Thomas Browne:1 Mb 最大值由 write-block-size 定义(有关 write-block-size 的详细信息,请参阅 http://www.aerospike.com/docs/reference/configuration)
write-block-size 对于带 SSD 的命名空间建议使用 128Kb。
128 字节:不是 bins - 仅当命名空间存储被定义为 SSD 上的设备时,完整记录必须是 128 字节的倍数,因为您只能从 SSD 读取 128 字节块。 SSD 上的完整记录不仅是数据大小,还有开销。请参阅 http://www.aerospike.com/docs/operations/plan/capacity 以估计 SSD 上的记录大小(以字节为单位)。如果记录大小(数据 + 所有开销)为 129 字节,在 SSD 上,您最终将使用 256 字节。