Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
行键可以有空格和一些特殊字符,比如 & 吗?
示例 - USA.new York.383937.abc@.1000
这是一个好习惯吗?
是的,它可以有这些字符和/或空格。如果省略它们(例如 SPACE)不会导致密钥冲突,那么最好不要拥有它们,以防拥有或不拥有它们会对新块产生影响。
KeyValue 实例不会跨块拆分。例如,如果有一个 8 MB 的 KeyValue,即使块大小是 64kb,这个 KeyValue 也会作为一个连贯的块读入。
但是,只有在 KeyValues 过于频繁地添加块时才应该担心,因为这不是很常见,所以它不应该是一个问题。
参考文件