Skip to content

Cardano DB Sync 13.3.0.0

Compare
Choose a tag to compare
@kderme kderme released this 12 Jul 21:13
· 110 commits to master since this release
13.3.0.0

This release is compatible with Cardano node version 9.0.0. Newer node versions may also work, but this has not been tested.

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

Network Link to snapshot
Mainnet-13.3 TODO
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 for restoring from these files is available at state-snapshot.md.

Upgrade instructions

It is possible to upgrade to this release from previous versions. Migration from 13.2 takes around 5 mins. schema-diff-13.2.txt shows exactly the migrations that will run.

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.

Changelog

This release adds support for Conway and introduces new tables.
A list of changes can be found at https://github.com/IntersectMBO/cardano-db-sync/blob/release/13.3.0.0-changelog/cardano-db-sync/CHANGELOG.md#13300

The migrations diff with the previous release schema (13.2) may be useful
migration files diff: schema-diff-simple.txt
full migrations diff: schema-diff-13.2.txt
schema.md diff: schema-md-diff-13.2.txt

Known issues

On restart, a large log message may appear that starts with

Found some wrong values already. The oldest ones are ...

and a procedure which tries to fix data (which are already correct)

Sign off

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