DB Sync 13.7.0.3
DB Sync 13.7.0.3 supports node 10.7.1. It provides major performance improvements in speed and memory. It supports LSM (experimentally for now), which brings memory requirements down to ~6 GB.
For Linux, liburing, protobuf-compiler, and snappy-c are new dependencies.
Upgrading
Upgrading from older versions (13.6, 13.7) is possible with minor changes
to the database (see migration-2-0045-20250708.sql, migration-2-0046-20250223.sql, migration-2-0047-20260421.sql, migration-4-0009-20250223.sql).
The ledger snapshot format has changed and is now fully compatible with cardano-node. Upgrading requires a ledger replay from genesis. You will see log lines such as:
Migrating: removing <N> old .lstate snapshots
followed by a replay that takes a few hours.
Snapshots
The release is compatible with both 13.7 and 13.6 DB snapshots:
| Network | Link |
|---|---|
| Mainnet 13.7 | TODO |
| Mainnet 13.6 | https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.6/ |
Changelog
https://github.com/IntersectMBO/cardano-db-sync/blob/13.7.0.3/CHANGELOG.md#13703
LSM (experimental)
- Enable by setting
"ledger_backend": "lsm"in the db-sync config — see config docs. - Snapshots can be converted between InMemory and LSM with
snapshot-converter— see snapshot docs.
The compatiblesnapshot-converteris shipped with node-10.7.1. --bootstrap-tx-outis not supported with LSM.
Notes
When running db-sync, enable only the data you actually need. This is
configured in the db-sync config file — see config docs.
Platforms
- Linux 64-bit
- Docker image
- Requires
ghc-9.6.xto build
Sign-off
| Role | Approval |
|---|---|
| Technical Lead | 🟢 |
| Intersect TSC | |
| Intersect Product Committee | 🟢 |
| Test Engineer | |
| Site Reliability Engineer |