Skip to content

Commit

Permalink
Update Rocksdb_vs_Leveldb.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shydesky committed Apr 10, 2019
1 parent 4394819 commit f654c9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TRX/Rocksdb_vs_Leveldb.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ROCKSDB VS LEVELDB

##1、Tuning the Database。
## 1、Tuning the Database。


| Comparison item | leveldb | rocksdb |
Expand Down Expand Up @@ -29,7 +29,7 @@ Some tuning parameters of rocksdb supported in java-tron are listed as follows,

note:these are just parameters we suggested on some specific machine,you should tune the parameters according to the logs of database running。

##2、a ".sst" file in rocksdb can stores more data than the leveldb, so it may ocuppy less storage space。
## 2、a ".sst" file in rocksdb can stores more data than the leveldb, so it may ocuppy less storage space。

|database size | sst files amount of leveldb| sst files amount of rocksdb|
|-----|-----|-----|
Expand All @@ -39,7 +39,7 @@ note:these are just parameters we suggested on some specific machine,you sho
|-----|-----|-----|
|block height:7930000| 142GB |126GB|

##3、Supporting for database backup。
## 3、Supporting for database backup。

leveldb can not support for database backup when the application is running。

Expand Down

0 comments on commit f654c9e

Please sign in to comment.