简体   繁体   English

表名称的最大长度(以Accumulo为单位)

[英]Maximum length of a table name in Accumulo

I've a use case where-in I have to create accumulo tables dynamically on user inputs. 我有一个用例,其中我必须在用户输入上动态创建累积表。 One of the concerns that I have is where there exists any maximum length for table name in accumulo? 我要担心的问题之一是,累积表名称的最大长度在哪里? If yes, then what is it? 如果是,那是什么?

As of the latest version at the time of this writing (1.8.1), there is no hard-coded limit imposed on the length of the table name. 从撰写本文时的最新版本(1.8.1)起,表名的长度没有硬编码的限制。 This could (and probably will, eventually) change in future versions. 在将来的版本中,这可能会(最终可能会)发生变化。

Excessively large table names could hypothetically cause performance problems with internal data structures, or out of memory errors. 假设表名过大,可能会导致内部数据结构出现性能问题,或者出现内存不足错误。

I'd recommend keeping them a reasonable length, since these names are intended to be human-readable. 我建议您将它们的长度保持合理,因为这些名称是为了便于人们阅读。 Anything larger than 50 characters seems excessive to me, personally, but an order of magnitude above that would probably not cause noticeable issues. 就我个人而言,任何大于50个字符的内容似乎对我来说都是多余的,但超出这个数量级可能不会引起明显的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM