在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
等參數。