Hi Flavio, I like the idea of “adaptable configuration” where you specify a config value as a % of some cluster resource (with relatively conservative defaults). Salting is somewhat of a gray area though as it’s not config based, but driven by your DDL. One solution you could implement on top of Phoenix is scripting for DDL that fills in the salt bucket parameter based on cluster size. Thanks, James
On Tue, Dec 5, 2017 at 12:50 AM Flavio Pompermaier <pomperma...@okkam.it> wrote: > Hi to all, > as stated by at the documentation[1] "for optimal performance, number of > salt buckets should match number of region servers". > So, why not to add an option AUTO/DEFAULT for salting that defaults this > parameter to the number of region servers? > Otherwise I have to manually connect to HBase, retrieve that number and > pass to Phoenix... > What do you think? > > [1] https://phoenix.apache.org/performance.html#Salting > > Best, > Flavio >