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)
大家都能看得懂,我就不一一翻译了。更详细请参考: http://docs.datastax.com/en/cql/3.3/cql/cql_reference/refLimits.html#refLimits
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。