首页 > 解决方案 > 何时使用 PrefixFilter?

问题描述

我遇到了慢查询问题PrefixFilter

看了之后

我应该在 HBase 中使用前缀过滤器还是行键范围扫描

https://community.hortonworks.com/articles/55204/recommended-way-to-do-hbase-prefix-scan-through-hb.html

我看到它PrefixFilter正在做全表扫描,那么我想问一下,既然startRowKey并且stopRowKey工作得很快,HBase 提供PrefixFilterAPI 有什么意义,我认为这个过滤器 API 根本不应该存在,或者我什么时候可以使用PrefixFilter

标签: hbase

解决方案


推荐阅读