@@ -48,20 +48,76 @@ The database schema is highly normalised which helps prevent data inconsistencie
48
48
with the use of foreign keys from one table to another). More user friendly database queries can be
49
49
implemented using [ Postgres Views] [ PostgresView ] to implement joins between tables.
50
50
51
- ## System Requirements
51
+ ## System Requirements - May 2025
52
52
53
53
The system requirements for ` cardano-db-sync ` (with both ` db-sync ` and the ` node ` running
54
54
on the same machine are:
55
55
56
56
* Any of the big well known Linux distributions (eg, Debian, Ubuntu, RHEL, CentOS, Arch
57
57
etc).
58
- * 32 Gigabytes of RAM or more.
58
+ * 64 Gigabytes of RAM or more (for ` mainnet ` ) .
59
59
* 4 CPU cores or more.
60
60
* Ensure that the machine has sufficient IOPS (Input/Output Operations per Second). Ie it should be
61
61
60k IOPS or better. Lower IOPS ratings will result in slower sync times and/or falling behind the
62
62
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
+
65
121
66
122
The recommended configuration is to have the ` db-sync ` and the PostgreSQL server on the same
67
123
machine. During syncing (getting historical data from the blockchain) there is a ** HUGE** amount
0 commit comments