[ 
https://issues.apache.org/jira/browse/CASSANDRA-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844942#action_12844942
 ] 

Stu Hood commented on CASSANDRA-749:
------------------------------------

> Load balancing doesn't help if you are indexing something with less potential 
> values than you have nodes in the cluster
Again, this brings up the topic of skinny rows: I'm sticking with the idea that 
we would want skinny rows with a compound key, so that each row key in the 
index/view might start with "true" in the boolean case, but the actual view row 
key would be a compound: "true|<base-key>". So, yes, even in the boolean case 
it is possible to partition the index: you would have very hot spots around 
"true|*" and "false|*", but that wouldn't stop our load balancing from 
splitting based on the remainder of the key.

> Nobody wants to write static java code to define a view, I can promise you 
> that. :)
I know, but it is a temporary solution that allows us to fine tune the 
interface without providing scripting support or anything else crazy.

> Secondary indices for column families
> -------------------------------------
>
>                 Key: CASSANDRA-749
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-749
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 0001-simple-secondary-indices.patch, 
> views-discussion-2.txt, views-discussion.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to