Cardano DB Sync 13.4.0.0
This release is compatible with Cardano node version 9.1.0. Newer node versions may also work, but this has not been tested.
The release is compatible with 13.4, 13.3 ,13.2 and 13.1 snapshots. They can be found at
Network | Link to snapshot |
---|---|
Mainnet-13.4 | https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.4/ |
Mainnet-13.2 | https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.2/ |
Mainnet-13.1 | https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.1/ |
Older snapshots require migration, so it's recommended to use the latest version
Documentation for restoring from these files is available at state-snapshot.md.
Upgrade instructions
It is possible to upgrade to this release from previous versions.
A ledger state replay may be necessary from genesis. The existing db is not affected by this, only the ledger snapshot.
If you restart db-sync with different config or genesis files, you need to initially delete the ledger state snapshots files.
Documentation
Cardano DB Sync Overview
Building and Running the Cardano DB Sync Node
Schema Management
State snapshot
Smash
Postgres setup
It is advised to use a postgres version >= 14. The default docker postgres has been upgraded to 14.10-alpine
.
There is a postgres
requirement for users that don't use docker-compose
and have to manually configure postgres
:
It is advised to increase `maintenance_work_mem` from the Postgres configuration to 0.5GB - 1GB (the default is 64MB).
Also use the default (2) or higher for `max_parallel_maintenance_workers` (this parameter was introduced in `postgres` version 11)
Notes
When running db-sync
make sure you enable only the data that you need. This can be configured in the db-sync
config file as documented here configuration.md
Platforms
- Linux 64-bit
- Docker
Requiresghc-8.10.x
to build.
Changelog
The release mostly fixes issues to 13.3.0.0. Any schema changes are only minor.
Read more here
Known issues
- Using "only-utxo" preset has a bug: it enables the metadata instead of the multiassets. When using this flag, 13.4.0.1 tag should be used https://github.com/IntersectMBO/cardano-db-sync/releases/tag/13.4.0.1
- "pool_stats" preset will be renamed to "pool_stat" in next releases.
Sign off
Role | Approval |
---|---|
Technical Lead | 🟢 |
Cardano Head of Engineering | 🟢 |
Cardano Head of Product | 🟢 |
Test Engineer | 🟢 |
Site Reliability Engineer | 🟢 |