Support Questions
Find answers, ask questions, and share your expertise

Phoenix Salted tables

From phoenix docs: https://phoenix.apache.org/salted.html:

"Phoenix provides a way to transparently salt the row key with a salting byte for a particular table. You need to specify this in table creation time by specifying a table property “SALT_BUCKETS” with a value from 1 to 256."

Questions:

- Does it mean number of region server in hbase cluster is limit to 256?

- My understanding is you can have more than 256 region servers, but the "salt" will be only between 1 and 256. Is that right?

Thanks.

Guilherme.

1 ACCEPTED SOLUTION

Accepted Solutions

Super Collaborator

You are right, you can have more than 256 region servers, but the 'salt' is limited by 256. The reason is that the single byte is using for 'salt'

View solution in original post

1 REPLY 1

Super Collaborator

You are right, you can have more than 256 region servers, but the 'salt' is limited by 256. The reason is that the single byte is using for 'salt'

View solution in original post