在CentOS上进行HBase性能测试,可参考以下方法:
nohup.out
查看结果。hbase.regionserver.handler.count
)。SNAPPY
)、预分区以优化性能。# 加载数据
$YCSB_HOME/bin/ycsb load hbase20 -p columnfamily=cf -P workloads/workloada
# 执行压测(如100万次读写,3线程)
nohup $YCSB_HOME/bin/ycsb run hbase20 -p recordcount=1000000 -p operationcount=1000000 -p threads=3 -s &> nohup.out &
hbase.hregion.memstore.flush.size
、hbase.hstore.blockingStoreFiles
等参数。