This release is compatible with Cardano node version 9.0.0. Newer node versions may also work, but it's not tested.
The release is compatible with both 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 available at state-snapshot.md.
Upgrade instructions
It's possible to upgrade from previous versions. Migration from 13.2 takes around 5 mins. You can see below the schema-diff-13.2.txt
for 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
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 the `maintenance_work_mem` from the Postgres configuration to 0.5GB - 1GB (default is 64MB).
Also use the default (2) or higher `max_parallel_maintenance_workers` (this parameter was introduced in `postgres` version 11)
It is also advised to use poistgres version >= 14
Notes
When run db-sync make sure you enable only the data that you need. This can be configured in the db-sync config file and it's documeneted here configuration.md
Platforms
- Linux 64-bit
- Docker
Requiresghc-8.10.x
to build.
Changelog
Some of it can be found at https://github.com/IntersectMBO/cardano-db-sync/blob/release/13.3.0.0-changelog/cardano-db-sync/CHANGELOG.md#13300
This release adds support for Conway and introduces new tables. The schema diff with the previous release can be useful
The migrations diff with the previous release schema 13.2 can 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 big 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 | ❓ |