phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <>
Subject Re: Salt buckets for constantly growing table
Date Mon, 17 Mar 2014 16:56:27 GMT
Hi Amit,
Yes, I'd recommend using salt buckets. A table cannot "outgrow" the
buckets, as we allocate the salt byte by mod-ing with the number of salt
buckets. You can set the number of salt buckets based on the size of your
cluster. Perhaps 1 or 2x the number of region servers. Do some perf testing
and see what works best for your use case and environment.

On Mon, Mar 17, 2014 at 2:10 AM, Amit Sela <> wrote:

> Hi all,
> I have a case where a table grows on daily bases (prefix of row keys is
> date) and I was wondering if it is possible to use salt buckets.
> Since salt buckets (and number of buckets) are declared at create table
> time, what happens when the table outgrows the buckets declared ?

View raw message