2

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.

  • The SQLLine based client doesn't offer anything similar to a MySQL SHOW CREATE TABLE.
  • Also Hbase describe command doesn't give any information on the SALT_BUCKETS.

How can one get the count ?

Community
  • 1
  • 1
Alavalathi
  • 713
  • 2
  • 9
  • 21

1 Answers1

7
select table_name, salt_buckets from SYSTEM.CATALOG where salt_buckets is not null;
hichris123
  • 10,145
  • 15
  • 56
  • 70
kliew
  • 3,073
  • 1
  • 14
  • 25