Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "FAQ" page has been changed by JonathanEllis. http://wiki.apache.org/cassandra/FAQ?action=diff&rev1=100&rev2=101 -------------------------------------------------- * [[#rhel_selinux|Problems using on RHEL?]] * [[#auth|Is there an authentication/authorization mechanism for Cassandra?]] * [[#bulkloading|How do I bulk load data into Cassandra?]] + * [[#range_rp|Why aren't range slices/sequential scans giving me the expected results?]] * [[#unsubscribe|How do I unsubscribe from the email list?]] <<Anchor(cant_listen_on_ip_any)>> @@ -366, +367 @@ == How do I bulk load data into Cassandra? == See BulkLoading + <<Anchor(range_rp)>> + == Why aren't range slices/sequential scans giving me the expected results? == + + You're probably using the RandomPartitioner. This is the default because it avoids hotspots, but it means your rows are ordered by the md5 of the row key rather than lexicographically by the raw key bytes. + + You '''can''' start out with a start key and end key of '' (empty) and use the row count argument instead, if + your goal is paging the rows. To get the next page, start from the last key you got in the + previous page. + + You can also use intra-row ordering of column names to get ordered results '''within''' a row; with appropriate row 'bucketing,' you often don't need the rows themselves to be ordered. + <<Anchor(unsubscribe)>> == How do I unsubscribe from the email list? ==
