Skip to content

Releases: IntersectMBO/cardano-db-sync

13.7.0.3

27 Apr 18:24
13.7.0.3

Choose a tag to compare

13.7.0.3 Pre-release
Pre-release

DB Sync 13.7.0.3

DB Sync 13.7.0.3 supports node version 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 compatible snapshot-converter is shipped with node-10.7.1.
  • --bootstrap-tx-out is 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

Sign-off

Role Approval
Technical Lead 🟢
Intersect TSC 🟢
Intersect Product Committee 🟢
Test Engineer 🟢
Site Reliability Engineer

13.7.0.2

27 Mar 19:08
13.7.0.2
0acc69f

Choose a tag to compare

13.7.0.2 Pre-release
Pre-release

DB Sync 13.7.0.2 supports node 10.7.1 and fixes an issue related to slow rollbacks #2083. It may be compatible with newer node versions or slightly older versions like 10.7.0, 10.6.2. It supports forking to PV11.

Upgrading

Upgrading from 13.7.0.1 may require a ledger state replay from genesis. The database migration is minimal.
Upgrading from 13.6.x.x requires a ledger state replay from genesis. The database migration is minimal (see files migration-2-0045-20250708.sql, migration-2-0046-20250223.sql, migration-4-0009-20250223.sql).

The release is compatible with both 13.7 and13.6 snapshots. These can be found at:

Network Link to snapshot
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.2/CHANGELOG.md#13702

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 in configuration.md.

Platforms

  • Linux 64-bit
  • Docker
    Requires ghc-9.6.x to build.

Sign off

Role Approval
Technical Lead 🟢
Intersect TSC
Intersect Product Committee
Test Engineer
Site Reliability Engineer 🟢

Cardano DB Sync 13.6.0.7

24 Mar 03:46

Choose a tag to compare

DB Sync 13.6.0.7 fixes an issue related to slow rollbacks #2083

Network Link to snapshot
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.6.0.7/CHANGELOG.md#13607

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 in configuration.md.

Platforms

  • Linux 64-bit
  • Docker
    Requires ghc-8.10.x to build.

Sign off

Role Approval
Technical Lead 🟢
Intersect TSC 🟢
Intersect Product Committee 🟢
Test Engineer 🟢
Site Reliability Engineer 🟢

13.7.0.1

16 Feb 11:38
13.7.0.1

Choose a tag to compare

13.7.0.1 Pre-release
Pre-release

DB Sync 13.7.0.1 is compatible with Node 10.6.2 and potentially newer versions. It supports forking to PV11 and is intended for testing on Sanchonet and other testnets.

Upgrading

Upgrading from 13.6.x.x and compatibility with existing snapshots is possible in principle, but this has not yet been tested.

Changelog

https://github.com/IntersectMBO/cardano-db-sync/blob/13.7.0.1/CHANGELOG.md#13701

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 in configuration.md.

Platforms

  • Linux 64-bit
  • Docker
    Requires ghc-9.6.x to build.

Sign off

Role Approval
Technical Lead 🟢
Intersect TSC
Intersect Product Committee
Test Engineer
Site Reliability Engineer

Cardano DB Sync 13.7.0.0

31 Jan 21:30
13.7.0.0
389df80

Choose a tag to compare

Pre-release
Pre-release 13.7.0.0

13.6.0.6-NOT RELEASED

21 Nov 11:44
13.6.0.6
4a0a114

Choose a tag to compare

13.6.0.6-NOT RELEASED Pre-release
Pre-release

DBSync 13.6.0.6 is a hotfix release. It is compatible with node-10.3.1 and later

Upgrading from older 13.6.0.5 db-sync instance doesn't require a resync from genesis. It may require a ledger replay

The release is compatible with both 13.6. These can be found at:

Network Link to snapshot
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.6.0.6/CHANGELOG.md#13606

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 in configuration.md.

Platforms

  • Linux 64-bit
  • Docker
    Requires ghc-8.10.x to build.

Sign off

Role Approval
Technical Lead 🟢
Intersect TSC
Intersect Product Committee
Test Engineer
Site Reliability Engineer

Cardano DB Sync 13.6.0.5

18 Mar 17:04
13.6.0.5
cb61094

Choose a tag to compare

DB Sync 13.6.0.5 fixes minor issues. It is compatible with node-10.1.4 and later

Upgrading from older 13.5.x.x db-sync instance requires a ledger state replay from genesis. This doesn't affect the database.

The release is compatible with both 13.6 and 13.5 snapshots. These can be found at:

Network Link to snapshot
Mainnet-13.6 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.6/
Mainnet-13.5 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.5/

Changelog

https://github.com/IntersectMBO/cardano-db-sync/blob/13.6.0.5/CHANGELOG.md#13605

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 in configuration.md.

Platforms

  • Linux 64-bit
  • Docker
    Requires ghc-8.10.x to build.

Sign off

Role Approval
Technical Lead 🟢
Intersect TSC 🟢
Intersect Product Committee 🟢
Test Engineer 🟢
Site Reliability Engineer 🟢

Cardano DB Sync 13.6.0.4

03 Dec 00:43
13.6.0.4
0b7c281

Choose a tag to compare

It is required that users upgrade to this version of db-sync.

DB Sync 13.6.0.4 is a mainnet-ready release that is capable of crossing the Chang#2 hard fork. It is compatible with node-10.1.4. This update addresses a ledger issue where DRep delegations could be removed under some conditions.

Upgrading from older 13.5.x.x db-sync instance requires a ledger state replay from genesis. This doesn't affect the database.

The release is compatible with both 13.6 and 13.5 snapshots. These can be found at:

Network Link to snapshot
Mainnet-13.6 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.6/
Mainnet-13.5 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.5/

Changelog

https://github.com/IntersectMBO/cardano-db-sync/blob/13.6.0.4/CHANGELOG.md#13604

Known issues

For networks that were already in Protocol Version 10 (e.g. Preview and PreProd) before the upgrade to this release, the values of drep_distribution before the upgrade are not well defined and could be slightly different between different executions. This shouldn't have any cascading effect. For these networks it is advised to delete all ledger state files and let the ledger rules replay from genesis. You can read more about this issue here,

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 in 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 🟢

13.6.0.3-consumed

25 Nov 10:42
13.6.0.3-consumed
b4f262a

Choose a tag to compare

13.6.0.3-consumed Pre-release
Pre-release

Fixes an issue with migration from 13.5.0.x when the consumed_tx_out config is enabled

Cardano DB Sync 13.6.0.2

22 Nov 21:20
13.6.0.2
944e532

Choose a tag to compare

This release is compatible with node-10.1.2 and supports the Chang#2 HF in mainnet. It fixes an issue of 13.6.0.1 where rollbacks were too slow.

Upgrading from any 13.5.x.x db-sync instance requires a ledger state replay from genesis. This doesn't affect the database.

It is compatible with 13.6 and 13.5 snapshots. They can be found at:

Network Link to snapshot
Mainnet-13.6 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.6/
Mainnet-13.5 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.5/

Changelog

https://github.com/IntersectMBO/cardano-db-sync/blob/13.6.0.2/CHANGELOG.md#13602

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 🟢