Configuration

  • Postgresco.nf has recommendations for how to tune and configure various Postgres parameters, and documentation in a convenient readable format
  • PGTune generates configs for various scenarios that can be used as a starting point

Connection Pooling

Gotchas / Tips

Security

Soft Deletes

Text Vs Varchar

The text data type has no limits on string length and seems like an easy choice over using varchar, as there are no performance advantages to using varchar over text. However, using varchar can help enforce constraints on reasonable text lengths and prevents storage of too much data.

ZFS