You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating our Stellar Captive Core node, we noticed a significant increase in disk usage. Before the update, the node successfully ingested 22 million ledgers without issues. However, following the update, only 1 million ledgers are consuming approximately 2 TB of disk space.
We need help identifying the cause of this issue and suggestions for resolving or optimizing storage usage.
System Configuration
OS: Ubuntu 23.10 (GNU/Linux 6.5.0-44-generic x86_64)
Disk Space: 3 TB
Hello, was this resolved as part of discussion on Horizon discord channel which seems to be reporting same issue and there was some further explanation on ledger ingestion sizing?
The disk space usage reported is referring to the Horizon Postgres db usage? There are a couple options to consider to mitigate horizon ingestion db size which may be worthwhile going forward if the application can accept the trade-offs. One recent additional option to reduce ingested db size is to use SKIP_TXMETA=true, it was introduced starting with Horizon 2.29.0 which just stops persisting the raw ledger transaction meta data(serialized xdr) into the horizon db, which accounts for a sizeable amount of db storage space in the history_transactions table, if the application doesn't use history_transactions.tx_meta direct from horizon db table or from the horizon API as result_meta_xdr then could be another option to consider.
Problem Description
After updating our Stellar Captive Core node, we noticed a significant increase in disk usage. Before the update, the node successfully ingested 22 million ledgers without issues. However, following the update, only 1 million ledgers are consuming approximately 2 TB of disk space.
We need help identifying the cause of this issue and suggestions for resolving or optimizing storage usage.
System Configuration
PostgreSQL Configuration
Stellar Core Configuration
rs-stellar-xdr:
Horizon Configuration
Observations
The text was updated successfully, but these errors were encountered: