文章列表
Lucandra在storage-conf文件中的设置为:
<Keyspace Name="Lucandra">
<ColumnFamily Name="TermInfo"
CompareWith="BytesType"
ColumnType="Super"
CompareSubcolumnsWith="BytesType"
KeysCached="10%" /&g ...
1:单行的所有数据必须存储在集群中的一台机器上。
2:单Column数据不能超过2GB(其实应该是够用了)。
3:在SuperColumnFamily中,所有对SuperColumn的请求都会反序列化SuperColumn所有的子Column。所以要避免SuperColumn中有大量子Column。因为Cassandra只存在key和Column两级index。
4:不支持对过大Value的读取,Value的大小必须能够被载入内存中。
5:0.7版本之前的Cassandra会一次性反序列化整行的数据。所以每个ColumnFamily/Key对应的数据都不能太大。