I'm a relative newcomer to postgres but it is working well for us after migrating our data from SQL Server to Postgres about a month ago. Our organization does not have a DBA, so I'm it!
In order to upgrade ArcGIS Enterprise 11.1 to 11.4+ we needed to upgrade our SQL Server licenses but that won't be done for another year from now at least; I had actually been planning the postgres migration for more than a year ago for this reason, and I finally did it. This also gives us (GIS) more isolated administrative control and ability to monitor performance of our data instead of it being squished on a SQL Server instance that is shared with loads of other databases from the organization.
First and foremost, we are not experiencing any noticeable degradation in performance. Everything is running smooth. However, I did notice that Windows' pagefile utilization on the postgres machine is ~95% persistently, so I'm generally just asking if that's normal or expected? Should put it out of my mind, or is this something I need to address?
---
Our postgres server is a virtual server on our local server cluster that was already pretty darn fast, and then we just upgraded our nodes recently, so it's even better. The OS is Windows Server 2019 Datacenter. The machine has 4 vcores and 32gb RAM.
Our postgres database use case is fairly simple and straightforward, and not very intense. We have a few Enterprise Geodatabases, with one main production db that houses, for example, our core utilities and municipal datasets that we generally serve out as map/feature services for internal use. We generally use Traditional versioning rather than Branch. Only myself and my GIS coworker hit the database directly in ArcGIS Pro, or with various automations with Python (mostly using arcpy). We do multiple backups a day with pg_dump (for each db) & pg_dumpall (for global objects only) and I've done disaster recovery testing and restoration using ESRI's recommended process and everything checks out. The only config customizations I did for postgres was to set shared_buffers to 25% of physical RAM, so 8GB, per a lot of general recommendations I could find.
All that is to say that we don't have an extreme burden on the postgres server. It runs pretty cool between 5-20% CPU with a few sustained few spikes to 40-50% (never seems to get saturated).

About 30-40% of RAM is persistently 'In Use' with nearly the rest of the RAM is listed by windows resource monitor as on 'Standby'.


Since so much RAM is available, I'm wondering why Windows (or postgres) isn't 'releasing' the pagefile, if that's the right term? Is it normal for postgres to reserve that pagefile for use? Windows is set to manage the paging file size automatically.

The machine has been through at least one reset recently but the pagefile persistently is 'utilized', according to ArcGIS Monitor metrics. This Monitor alert is how I realized there even may be an issue, otherwise I would not have thought to check on the pagefile since we are not having any performance issues.

Thanks for any info or tips.