- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Phoenix Salted tables
- Labels:
-
Apache Phoenix
Created 03-22-2016 06:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 03-22-2016 06:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'
Created 03-22-2016 06:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'
