Cassandra CQL的限制

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章