Database choices outlive almost every other technical decision. Frameworks change and services are rewritten, but data stays. For most business applications, the right answer is less exciting than the options suggest.
Relational databases
PostgreSQL and MySQL handle transactions, relationships and reporting well, and their behaviour is well understood. PostgreSQL also stores JSON documents, supports full-text search and has extensions for geospatial and vector data. For most business systems, especially anything involving money, orders or stock, a relational database is the default.
Document databases
MongoDB and similar databases store flexible documents and scale out with less effort. They suit content, catalogues with varied attributes, event data and products whose data model changes often. They fit less well with complex transactions across many records and with ad-hoc reporting.
Specialised stores
- Redis for caching, sessions and rate limiting
- Elasticsearch or OpenSearch for full-text search
- Time-series databases for metrics and sensor data
- A data warehouse for analytics, separate from transactional systems
Questions that decide it
What are the main queries? How important are transactions? Who will run it, and what does your team already know? A database your team can operate confidently beats a theoretically better one nobody understands.
Our engineers and consultants write about what they see in real projects. Have a question about your own systems?






