From 3b736600fd663f4029de894badccace732e2fd84 Mon Sep 17 00:00:00 2001 From: yubo Date: Tue, 5 Mar 2019 19:50:30 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a78f018..fef0248 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,15 @@ cita_db_insert 模拟chain的插入rocksdb **-p 预先插入多少高度的块** + **-t 预插入后,以多少毫秒的间隔插入** + **-d rocksdb的目录,默认 ./data** + **-g memory buget的值,db_write_buffer_size=memory_buget/num_column/2** 例如: + **./cita_db_insert -p 10000000 -t 3000 -d ./test -g 2048** 快速写rocksdb 10000000条消息以后,以3秒的间隔写入,db目录在./test