Cassandra 0.7中的自动二级索引的可扩展性如何? [英] How scalable are automatic secondary indexes in Cassandra 0.7?

查看:147
本文介绍了Cassandra 0.7中的自动二级索引的可扩展性如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,为节点本地数据生成了自动辅助索引。



在这种情况下,通过辅助索引的查询涉及存储列族的一部分的所有节点结果(?)所以(如果我是对的)如果数据分布在50个节点,那么50个节点涉及单个查询?



这比手动二级索引(倒排索引列族)更具可扩展性吗?

请参阅Stu从ml中的回答http://www.mail-archive.com/user@cassandra.apache.org/msg10506.html


As far as I understand automatic secondary indexes are generated for node local data.

In this case query by secondary index involve all nodes storing part of column family to get results (?) so (if i am right) if data is spread across 50 nodes then 50 nodes are involved in single query?

How far can this scale? Is this more scalable than manual secondary indexes (inverted index column family)? Few nodes or hundred nodes?

解决方案

See Stu's answer from the ml http://www.mail-archive.com/user@cassandra.apache.org/msg10506.html

这篇关于Cassandra 0.7中的自动二级索引的可扩展性如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆