m@ksim.pro
Back to all posts
Data 3 min read

PostgreSQL as your main database: what changed for business

Why PostgreSQL stopped being a niche choice and what to verify before making it the foundation of a corporate architecture.

A few years ago, a conversation about PostgreSQL as the primary database in an enterprise environment ran into a standard objection: "That's for startups and small projects." Large implementations were built on Oracle, DB2, Microsoft SQL Server. That felt safe and understood.

Today the picture is shifting. PostgreSQL version 10 is due out this year, and it is not just another release. Over the past five years the database has moved from the "decent free alternative" category into the "serious choice for demanding workloads" category. It is worth looking at what exactly changed.

What arrived in recent versions

Logical replication - the ability to control precisely what replicates where, without replicating the entire cluster. This opens scenarios that previously required a commercial database.

Table partitioning - working with very large tables became simpler and faster. For historical data and transaction logs this is material.

Parallel query execution improved to the point where analytical queries over large datasets became a genuine strength, not a bottleneck.

JSON and JSONB - document-oriented data support inside a relational database, with proper indexes and performance. Not a replacement for MongoDB, but it covers a large class of problems without introducing an additional storage system.

All of this while preserving what matters: full SQL standard compliance, transactions, ACID guarantees, and a mature extensions ecosystem.

Where the real boundary lies

PostgreSQL handles workloads that were historically the exclusive territory of commercial databases: complex transactional systems, analytics over structured data, geospatial data via PostGIS, full-text search.

Where it objectively falls short: horizontal write scaling at the level needed for systems with hundreds of thousands of transactions per second in a distributed environment. That is a niche for specialised distributed solutions, and PostgreSQL does not compete there directly.

Important caveat: most companies never reach that limit. A properly configured PostgreSQL on modern hardware handles the load that exceeds the requirements of most business systems.

What "properly configured" means

One of the common mistakes is launching PostgreSQL with default settings and being surprised by the performance. PostgreSQL ships conservatively tuned because it has to run on all kinds of hardware. For real load it needs to be configured: memory, parallelism, vacuum, query planner settings.

The second issue is team operational maturity. An Oracle DBA and a PostgreSQL DBA are different specialisations. Oracle experience does not transfer automatically. Before migrating, check that you have or will have someone with real hands-on PostgreSQL experience under production load.

Questions before deciding

If you are considering PostgreSQL as the foundation for a new system or as a replacement:

  1. What is the actual read and write load - in transactions per second and data volume?
  2. Do you use features specific to your current database that do not exist in PostgreSQL or require a different approach?
  3. Is there expertise in your team or available on the market specifically for PostgreSQL at your load profile?
  4. What does the data migration plan look like - especially if you are moving from Oracle or MSSQL?
  5. How do licensing costs change and over what horizon does that pay back?

PostgreSQL has stopped being a niche choice. But a serious implementation requires serious preparation - and that does not change regardless of how many GitHub stars the database has.

Back to all posts
Contact

If this resonated, write to me. I reply personally.

WhatsApp