High memory usage in Postgres is good
SMRTR summary
High memory usage in PlanetScale databases isn't necessarily problematic like sustained high CPU usage. Postgres and the OS cache frequently accessed data in RAM to avoid slower disk reads, making 80% memory usage often healthy. The key distinction is between beneficial cache memory and problematic RSS (Resident Set Size) memory pressure that can cause out-of-memory events.
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article