PostgreSQL Database: Topology and Sizing
The ECA cluster stores audit events in a dedicated PostgreSQL database server. Size the server and its disk before you deploy the database.
Server sizing
| Requirement | PostgreSQL server |
|---|---|
| vCPU | 16 |
| RAM | 64 GB |
| Disk | Sized to your event rate and retention (see below) |
| Number of hosts | 1 |
Size the database disk
Disk use depends on how many audit events per second your arrays generate and how long you keep events online. As a starting point, keep 3 to 6 months of events in the database and archive older data.
| Event rate | Approximate daily growth |
|---|---|
| 1,500 events per second | 60 GB per day |
| 2,500 events per second | 100 GB per day |
| 5,000 events per second | 200 GB per day |
Network requirements
| From | To | Purpose | Port |
|---|---|---|---|
| Eyeglass and each ECA node | PostgreSQL server | Event database | 5432 (PostgreSQL default) |