在hbase-site.xml中的配置:
①、Memstore持久化容量:hbase.hregion.memstore.flush.size(当Memstore数据达到该数值时进行持久化)
②、Memstore阻塞系数:hbase.hregion.memstore.block.multiplier(当Memstore数据为持久化容量的2倍时,强制阻塞所有更新操作。防止在Memstore容量接近但还未达到持久化容量之前,突然收到一批容量大的更新请求而导致Memstore容量超限)
③、hbase.hregion.max.filesize(单个hregion的HStoreFile最大值,任何表中的列族一旦超过这个大小将会自动split)
④、hbase.hstore.blocking.StoreFiles(当某一个region的storefile个数达到该值则block写入,等待compact)
⑤、hbase.hstore.blocking.WaitTime(block的等待时间)
⑥、hbase.hregion.majorcompaction(触发major compact的周期)
⑦、 hfile.block.cache.size (指定 HFile/StoreFile 缓存在JVM堆中分配的百分比)
⑧、hbase.hregion.memstore.mslab.enabled(是否开启mslab方案,减少因内存碎片导致的Full GC,提高整体性能)
⑨、hbase.hstore.compaction.min(进入minor compact队列的storefiles最小个数)
⑩、hbase.hstore.compaction.max(单次minor compact最多的文件个数)
⑪、hbase.hstore.compaction.min(进入minor compact队列的storefiles最小个数)
hbase客户端请求过程中涉及的可配置参数
最新推荐文章于 2023-03-02 01:03:24 发布