Prompt
I'm building a customer portal and want a database that won't be painful to operate
Latest observation
Nov 5, 2026
OpenAI APIWeb search: off
If your priority is “won’t be painful to operate”, the safest default for a customer portal is usually:
Best default: managed PostgreSQL
Use a managed PostgreSQL service from a major cloud/provider:
- AWS RDS / Aurora PostgreSQL
- GCP Cloud SQL for PostgreSQL
- Azure Database for PostgreSQL
- or a hosted provider like Supabase / Neon / Aiven / Crunchy Bridge
Why PostgreSQL is a good fit
- Very mature and predictable
- Great for customer portal data: users, accounts, roles, tickets, orders, billing refs, audit logs
- Strong consistency and transactions
- Easy to query and debug
- Huge ecosystem, easy hiring, lots of tools
- Can start simple and scale reasonably far
Why managed matters
The pain usually comes from ops, not the database itself:
- backups
- upgrades
- failover
- replication
- monitoring
- security patches
- point-in-time recovery
A managed Postgres service removes most of that.
Good architecture for a customer portal
- Primary database: managed PostgreSQL
- Cache/session store: Redis only if needed
- File storage: object storage like S3/GCS/Azure Blob, not the DB
- Search: add OpenSearch/Elastic only if you actually need full-text/search-heavy features
When to choose something else
Choose MySQL instead if:
- your team already knows MySQL very well
- you’re on a stack that standardizes on it
- you want broad compatibility and simple ops
Choose a serverless / distributed SQL database if:
- you expect very spiky traffic
- you want easy horizontal scaling with less manual tuning Examples:
- Cloud Spanner: excellent, but expensive/complex
- CockroachDB: strong but more operational complexity than managed Postgres
- DynamoDB: great at scale, but much harder for relational portal data and ad hoc queries
What I would avoid for this use case
- Running your own Postgres on VMs unless you really need to
- MongoDB as the default for a portal with relational data
- Overengineering with distributed databases too early
Practical recommendation
For most customer portals:
- Managed PostgreSQL
- Daily backups + point-in-time recovery
- Read replica only when needed
- Proper migrations
- Connection pooling
- Basic monitoring/alerts
If you want, I can recommend a specific option based on:
- your cloud provider
- expected traffic
- budget
- whether you need multi-region/high availability