如何在 Apache Phoenix 中获取盐桶计数?
How to get salt bucket count in Apache Phoenix?
Apache Phoenix 推荐 salted buckets 以提高性能。我希望获得我前段时间创建的 table 的盐桶数量。
- 基于 SQLLine 的客户端不提供类似于 MySQL
SHOW CREATE TABLE
. 的任何内容
- 此外,Hbase
describe
命令没有提供有关 SALT_BUCKETS
的任何信息。
如何获得计数?
select table_name, salt_buckets from SYSTEM.CATALOG where salt_buckets is not null;
Apache Phoenix 推荐 salted buckets 以提高性能。我希望获得我前段时间创建的 table 的盐桶数量。
- 基于 SQLLine 的客户端不提供类似于 MySQL
SHOW CREATE TABLE
. 的任何内容
- 此外,Hbase
describe
命令没有提供有关SALT_BUCKETS
的任何信息。
如何获得计数?
select table_name, salt_buckets from SYSTEM.CATALOG where salt_buckets is not null;