Skip to content

Commit

Permalink
Merge pull request #2334 from lathanbritz/master
Browse files Browse the repository at this point in the history
up the example default delete to 30,000
  • Loading branch information
mDuo13 authored Jan 17, 2024
2 parents 9476083 + 5b8783e commit 5d9d303
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ labels:

[node_db]
# Other settings unchanged ...
online_delete=2000
online_delete=300000
advisory_delete=1

- 指示された場合にのみオンライン削除を実行するには、`advisory_delete``1`に設定します。(`0`に設定すると、新しいレジャーバージョンが使用可能になると自動的にオンライン削除が実行されます。)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ labels:
[node_db]
type=NuDB
path=/var/lib/rippled/db/nudb
#online_delete=2000
#online_delete=300000
#advisory_delete=0

全履歴が記録されるサーバーでは、レジャーストアーにNuDBを使用します。これは、データベースがこれほど大きいと、RocksDBでは非常に大量のRAMが必要になるためです。詳細は、[容量の計画](capacity-planning.html)を参照してください。パフォーマンス関連の構成オプション`open_files``filter_bits``cache_mb``file_size_mb`、および`file_size_mult`は、RocksDBのみに適用されるオプションであるため、デフォルトの`[node_db]`スタンザから削除できます。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ labels:

[node_db]
# Other settings unchanged ...
online_delete=2000
online_delete=300000
advisory_delete=0

`online_delete`を、オンライン削除の実行後に維持するレジャーバージョンの最小数に設定します。自動削除が設定されている場合(デフォルト)、サーバーは通常、この数の約2倍のレジャーバージョンが蓄積されると削除を実行します。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ NuDBには、`rippled.cfg`にパフォーマンス関連の構成オプション
[node_db]
type=NuDB
path=/var/lib/rippled/db/nudb
online_delete=2000
online_delete=300000
advisory_delete=0
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ To configure advisory deletion with a daily schedule, perform the following step

[node_db]
# Other settings unchanged ...
online_delete=2000
online_delete=300000
advisory_delete=1

- Set `advisory_delete` to `1` to run online deletion only when prompted. (Set it to `0` to run online deletion automatically as new ledger versions become available.)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To configure your server to acquire and store full history, complete the followi
[node_db]
type=NuDB
path=/var/lib/rippled/db/nudb
#online_delete=2000
#online_delete=300000
#advisory_delete=0

On a full-history server, you should use NuDB for the ledger store, because RocksDB requires too much RAM when the database is that large. For more information, see [Capacity Planning](capacity-planning.html). You can remove the following performance-related configuration options from the default `[node_db]` stanza, because they only apply to RocksDB: `open_files`, `filter_bits`, `cache_mb`, `file_size_mb`, and `file_size_mult.`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To change the amount of history your server stores, perform the following steps:

[node_db]
# Other settings unchanged ...
online_delete=2000
online_delete=300000
advisory_delete=0

Set `online_delete` to the minimum number of ledger versions to keep after running online deletion. With automatic deletion (the default), the server typically runs deletion when it has accumulated about twice this many ledger versions.
Expand Down

0 comments on commit 5d9d303

Please sign in to comment.