You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jean Paul Adant <je...@gmail.com> on 2014/01/24 14:39:51 UTC
Cassandra partitioning and limit
Hi all
I'm using cassandra 1.1.9
I have this columnFamily, created with hector API. Here is its cql2
descrition.
CREATE TABLE TDF (
KEY bigint PRIMARY KEY
) WITH
comment='' AND
comparator='CompositeType(org.apache.cassandra.db.marshal.LongType,org.apache.cassandra.db.marshal.LongType,org.apache.cassandra.db.marshal.LongType,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type)'
AND
read_repair_chance=1.000000 AND
gc_grace_seconds=864000 AND
default_validation=text AND
min_compaction_threshold=4 AND
max_compaction_threshold=32 AND
replicate_on_write='true' AND
compaction_strategy_class='SizeTieredCompactionStrategy' AND
compression_parameters:sstable_compression='SnappyCompressor';
- I must insert a lot of sorted data (about 100 per second) and i'm using
composite keys as column name.
- Almost all datas are written on columns under the same row key
Question?
I understand row partitioning, and understood that all columns will be on
the same row, so on the same partitioner (so on the same machine)
As columnsFamilies have limitations of 2 billions cells per partitioner,
will the CF limited to 2 billions entries?
Thanks!
note: my english is not so good, feel free to ask me questions if needed
--
-----------------------------------------------------
Jean Paul Adant - Créative-Ingénierie
jean.paul.adant@gmail.com
Re: Cassandra partitioning and limit
Posted by Robert Coli <rc...@eventbrite.com>.
On Fri, Jan 24, 2014 at 5:39 AM, Jean Paul Adant
<je...@gmail.com>wrote:
> I'm using cassandra 1.1.9
> I have this columnFamily, created with hector API. Here is its cql2
> descrition.
>
You should not use CQL2, it will be removed from future versions of
Cassandra.
=Rob