欢迎投稿

今日深度:

Cassandra CQL的限制,CassandraCQL限制

Cassandra CQL的限制,CassandraCQL限制


Cassandra一些数据得遵守以下   上限:

  • Cells in a partition: ~2 billion (231); single column value size: 2 GB ( 1 MB is recommended)
  • Clustering column value, length of: 65535 (216-1)
  • Key length: 65535 (216-1)
  • Table / CF name length: 48 characters
  • Keyspace name length: 48 characters
  • Query parameters in a query: 65535 (216-1)
  • Statements in a batch: 65535 (216-1)
  • Fields in a tuple: 32768 (215) (just a few fields, such as 2-10, are recommended)
  • Collection (List): collection limit: ~2 billion (231); values size: 65535 (216-1) (Cassandra 2.1 and later, using native protocol v3)
  • Collection (Set): collection limit: ~2 billion (231); values size: 65535 (216-1) (Cassandra 2.1 and later, using native protocol v3)
  • Collection (Map): collection limit: ~2 billion (231); number of keys: 65535 (216-1); values size: 65535 (216-1) (Cassandra 2.1 and later, using native protocol v3)
  • Blob size: 2 GB ( less than 1 MB is recommended)
Note: The limits specified for collections are for non-frozen collections.
大家都能看得懂,我就不一一翻译了。更详细请参考: http://docs.datastax.com/en/cql/3.3/cql/cql_reference/refLimits.html#refLimits

www.htsjk.Com true http://www.htsjk.com/cassandra/28070.html NewsArticle Cassandra CQL的限制,CassandraCQL限制 Cassandra一些数据得遵守以下   上限: Cells in a partition: ~2 billion (2 31 ); single column value size: 2 GB ( 1 MB is recommended) Clustering column value, length of: 65535 (2 16 -1...
相关文章
    暂无相关文章
评论暂时关闭