Skip to content

Commit

Permalink
update archive design (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust committed Jan 30, 2023
1 parent 29885ee commit e8b3535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3.x/zh_CN/docs/design/storage/archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

### 归档数据范围

统计某个有100w块高的FISCO-BCOS 3.0节点中数据占比如下,可以看到交易数据占46.5G(占比58.3%),收据数据占16.5G(占比20.7%),状态数据占40.3G(占比50.5%),而除此之外最大的`s_number_2_txs`区块交易哈希列表只有4.9G(占比6.19%),所以方案决定仅归档交易和收据数据,而对于其他的数据不作处理,这样在归档近79%数据的情况下,还能做到基本不影响归档节点的功能。归档节点只是不能获取归档区块的交易和收据,其他功能正常。
统计某个有100w块高的FISCO-BCOS 3.0节点中数据占比如下,可以看到交易数据占46.5G(占比42.7%),收据数据占16.5G(占比15.2%),状态数据占40.3G(占比37.1%),而除此之外最大的`s_number_2_txs`区块交易哈希列表只有4.9G(占比4.5%),所以方案决定仅归档交易和收据数据,而对于其他的数据不作处理,这样在归档近57.9%数据的情况下,还能做到基本不影响归档节点的功能。归档节点只是不能获取归档区块的交易和收据,其他功能正常。

```bash
s_tables size is 661.029MB
Expand Down

0 comments on commit e8b3535

Please sign in to comment.