Reputation: 753
Apache Phoenix recommends salted buckets for improved performance. I wish to get the count of salted buckets for a table I created some time ago.
SHOW CREATE TABLE
.describe
command doesn't give any information on the SALT_BUCKETS
.How can one get the count ?
Upvotes: 2
Views: 1507
Reputation: 3183
select table_name, salt_buckets from SYSTEM.CATALOG where salt_buckets is not null;
Upvotes: 7