@@ -49,19 +49,76 @@ with the use of foreign keys from one table to another). More user friendly data
49
49
implemented using [ Postgres Views] [ PostgresView ] to implement joins between tables.
50
50
51
51
## System Requirements
52
+ ### Last update: May 2025
52
53
53
54
The system requirements for ` cardano-db-sync ` (with both ` db-sync ` and the ` node ` running
54
55
on the same machine are:
55
56
56
57
* Any of the big well known Linux distributions (eg, Debian, Ubuntu, RHEL, CentOS, Arch
57
58
etc).
58
- * 32 Gigabytes of RAM or more.
59
+ * 64 Gigabytes of RAM or more (for ` mainnet ` ) .
59
60
* 4 CPU cores or more.
60
61
* Ensure that the machine has sufficient IOPS (Input/Output Operations per Second). Ie it should be
61
62
60k IOPS or better. Lower IOPS ratings will result in slower sync times and/or falling behind the
62
63
chain tip.
63
- * 320 Gigabytes or more of disk storage (preferably SSD which are 2-5 times faster than
64
- electro-mechanical disks).
64
+ * Disk storage - preferably SSD which are 2-5 times faster than electro-mechanical disks.
65
+
66
+
67
+ Stats for configuration:
68
+
69
+ ``` json
70
+ "insert_options" : {
71
+ "tx_cbor" : " disable" ,
72
+ "tx_out" : {
73
+ "value" : " enable" ,
74
+ "force_tx_in" : false ,
75
+ "use_address_table" : false
76
+ },
77
+ "ledger" : " enable" ,
78
+ "shelley" : {
79
+ "enable" : true
80
+ },
81
+ "multi_asset" : {
82
+ "enable" : true
83
+ },
84
+ "metadata" : {
85
+ "enable" : true
86
+ },
87
+ "plutus" : {
88
+ "enable" : true
89
+ },
90
+ "governance" : " enable" ,
91
+ "offchain_pool_data" : " enable" ,
92
+ "json_type" : " text"
93
+ }
94
+ ```
95
+
96
+ ### ` mainnet `
97
+
98
+ - ` cardano-node ` database size: 203 GB
99
+ - ` cardano-db-sync ` total ledger state files size: ~ 10 GB
100
+ - ` Postgres ` database ` mainnet_13.6.0.5 ` total size: 438 GB
101
+
102
+ - ` cardano-db-sync ` RSS RAM: peaks at 20.6 GB before settling at 18.5 GB
103
+
104
+
105
+ ### ` preprod `
106
+
107
+ - ` cardano-node ` database size: 12 GB
108
+ - ` cardano-db-sync ` total ledger state files size: ~ 2 GB
109
+ - ` Postgres ` database ` preprod_13.6.0.5 ` total size: 16 GB
110
+
111
+ - ` cardano-db-sync ` RSS RAM: 3,5 GB
112
+
113
+
114
+ ### ` preview `
115
+
116
+ - ` cardano-node ` database size: 12 GB
117
+ - ` cardano-db-sync ` total ledger state files size: ~ 2 GB
118
+ - ` Postgres ` database ` preview_13.6.0.5 ` total size: 21 GB
119
+
120
+ - ` cardano-db-sync ` RSS RAM: 3,5 GB
121
+
65
122
66
123
The recommended configuration is to have the ` db-sync ` and the PostgreSQL server on the same
67
124
machine. During syncing (getting historical data from the blockchain) there is a ** HUGE** amount
0 commit comments