Skip to content

Cardano DB Sync 13.5.0.2

Latest
Compare
Choose a tag to compare
@kderme kderme released this 04 Sep 22:42
· 20 commits to master since this release
13.5.0.2

This release fixes an issue with restarts, similar to node version 9.1.1. It is compatible with node version 9.1.1.

It is recommended that all users upgrade to db-sync version 13.5.0.2 when restarting their db-sync instance. It is also recommended to delete all ledger snapshots before upgrading.

The release also fixes an issue with flag --disable-cache not working properly and makes replaying from genesis faster, since it reduces redundant snapshots.

Upgrading

Upgrading from any 13.4.x.x or 13.5.x.x db-sync instance requires a ledger state replay from genesis. This doesn't affect the database. This is the final release that will support upgrading from pre-HF 13.x versions.

The release is compatible with 13.5, 13.4, 13.2 and 13.1 snapshots. They can be found at:

Network Link to snapshot
Mainnet-13.5 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.5/
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/

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
    Requires ghc-8.10.x to build.

Sign off

Role Approval
Technical Lead 🟢
Cardano Head of Engineering 🟢
Cardano Head of Product 🟢
Test Engineer 🟢
Site Reliability Engineer 🟢