Skip to content

Commit 0137bf3

Browse files
chore: update system requirements
1 parent 17920c7 commit 0137bf3

File tree

1 file changed

+60
-4
lines changed

1 file changed

+60
-4
lines changed

Readme.md

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,76 @@ The database schema is highly normalised which helps prevent data inconsistencie
4848
with the use of foreign keys from one table to another). More user friendly database queries can be
4949
implemented using [Postgres Views][PostgresView] to implement joins between tables.
5050

51-
## System Requirements
51+
## System Requirements - May 2025
5252

5353
The system requirements for `cardano-db-sync` (with both `db-sync` and the `node` running
5454
on the same machine are:
5555

5656
* Any of the big well known Linux distributions (eg, Debian, Ubuntu, RHEL, CentOS, Arch
5757
etc).
58-
* 32 Gigabytes of RAM or more.
58+
* 64 Gigabytes of RAM or more (for `mainnet`).
5959
* 4 CPU cores or more.
6060
* Ensure that the machine has sufficient IOPS (Input/Output Operations per Second). Ie it should be
6161
60k IOPS or better. Lower IOPS ratings will result in slower sync times and/or falling behind the
6262
chain tip.
63-
* 320 Gigabytes or more of disk storage (preferably SSD which are 2-5 times faster than
64-
electro-mechanical disks).
63+
* Disk storage - preferably SSD which are 2-5 times faster than electro-mechanical disks.
64+
65+
66+
Stats for configuration:
67+
68+
```json
69+
"insert_options": {
70+
"tx_cbor": "disable",
71+
"tx_out": {
72+
"value": "enable",
73+
"force_tx_in": false,
74+
"use_address_table": false
75+
},
76+
"ledger": "enable",
77+
"shelley": {
78+
"enable": true
79+
},
80+
"multi_asset": {
81+
"enable": true
82+
},
83+
"metadata": {
84+
"enable": true
85+
},
86+
"plutus": {
87+
"enable": true
88+
},
89+
"governance": "enable",
90+
"offchain_pool_data": "enable",
91+
"json_type": "text"
92+
}
93+
```
94+
95+
### `mainnet`
96+
97+
- `cardano-node` database size: 203 GB
98+
- `cardano-db-sync` total ledger state files size: ~ 10 GB
99+
- `Postgres` database `mainnet_13.6.0.5` total size: 438 GB
100+
101+
- `cardano-db-sync` RSS RAM: peaks at 20.6 GB before settling at 18.5 GB
102+
103+
104+
### `preprod`
105+
106+
- `cardano-node` database size: 12 GB
107+
- `cardano-db-sync` total ledger state files size: ~ 2 GB
108+
- `Postgres` database `preprod_13.6.0.5` total size: 16 GB
109+
110+
- `cardano-db-sync` RSS RAM: 3,5 GB
111+
112+
113+
### `preview`
114+
115+
- `cardano-node` database size: 12 GB
116+
- `cardano-db-sync` total ledger state files size: ~ 2 GB
117+
- `Postgres` database `preview_13.6.0.5` total size: 21 GB
118+
119+
- `cardano-db-sync` RSS RAM: 3,5 GB
120+
65121

66122
The recommended configuration is to have the `db-sync` and the PostgreSQL server on the same
67123
machine. During syncing (getting historical data from the blockchain) there is a **HUGE** amount

0 commit comments

Comments
 (0)