You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by S Ahmed <sa...@gmail.com> on 2016/09/21 21:38:37 UTC

understanding partitions

Hello,

If you have a 10 node cluster, how does having 10 partitions or 100
partitions change how cassandra will perform?

With 10 partitions you will have 1 partition per node.
WIth 100 partitions you will have 10 partitions per node.

With 100 partitions I guess it helps because when you add more nodes to
your cluster, the data can be redistributed since you have more nodes.

What else are things to consider?

Re: understanding partitions

Posted by Firdousi Farozan <ff...@gmail.com>.
Hi,

One more thing to consider is wide partition. Even though theoretically
Cassandra supports wide rows, practical limit is max 100 MB per partition.
So based on your use-case and model, you may have to split the data into
partitions so that wide partitions are not created.

Regards,
Firdousi

On Thu, Sep 22, 2016 at 3:08 AM, S Ahmed <sa...@gmail.com> wrote:

> Hello,
>
> If you have a 10 node cluster, how does having 10 partitions or 100
> partitions change how cassandra will perform?
>
> With 10 partitions you will have 1 partition per node.
> WIth 100 partitions you will have 10 partitions per node.
>
> With 100 partitions I guess it helps because when you add more nodes to
> your cluster, the data can be redistributed since you have more nodes.
>
> What else are things to consider?
>