PostgreSQL database services for production teams.
JusDB provides PostgreSQL database services for scoped projects, ongoing remote DBA coverage, production support, performance tuning, major version upgrades, migrations, and high availability. Our engineers work on Amazon RDS, Aurora, Google Cloud SQL, Azure Flexible Server, Kubernetes, and your own servers. Support is 24/7.
Or request a free audit of one database instance. Already in an incident? See PostgreSQL support.
- NDA before access
- Read-only by default
- Changes measured against your baseline
PostgreSQL version status
Pick the version you run
PostgreSQL 18
Newest majorReleased on 25 September 2025 and supported until November 2030. PostgreSQL 19 general availability is planned for 19 November 2026.
initdb in 18 enables data checksums by default. pg_upgrade needs matching settings, so a cluster without checksums upgrades into one created with --no-data-checksums.
Plan an upgrade to 18PostgreSQL 15, 16, and 17
SupportedSupported until November 2027 (15), November 2028 (16), and November 2029 (17).
Minor releases come every quarter, the latest on 13 August 2026, and usually need only new binaries and a restart.
Keep minor updates on schedulePostgreSQL 14
Ends November 2026Community support ends on 12 November 2026, with its final minor release.
On Amazon RDS, standard support runs to 28 February 2027, and paid Extended Support starts on 1 March 2027.
Plan the upgrade off 14PostgreSQL 13 and older
End of lifePostgreSQL 13 reached end of life on 13 November 2025, after 12 in 2024 and 11 in 2023.
On Amazon RDS, standard support for 13 ended on 28 February 2026, and paid Extended Support ends on 28 February 2029.
Keep 13 running while you upgradeVersion status from the PostgreSQL versioning policy, the PostgreSQL 19 RC 1 announcement, and the Amazon RDS for PostgreSQL release calendar, checked 28 October 2026.
- Platforms
- Amazon RDS, Aurora, Google Cloud SQL, Azure Flexible Server, your own servers, and Kubernetes
- High availability
- Patroni with etcd or Consul, streaming replication, and HAProxy routing
- Incidents
- SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. See the SLA
Symptoms
Eight PostgreSQL problems we are asked to fix
Each one has a cause we can measure. The scoping call starts from your symptom, version, and platform.
Tables and indexes bloat with dead rows because by default autovacuum waits until about 20% of a table has changed, then runs under a cost limit.
Transaction ID age climbs toward wraparound because an idle open transaction, a forgotten prepared transaction, or a stale replication slot can stop VACUUM from freezing rows.
Connections hit max_connections because each connection is its own server process, and idle ones fill the limit without a pooler such as PgBouncer.
A fast query suddenly reads the whole table because the planner's statistics no longer match the data, so it picks the wrong plan.
Replication slots fill the disk with WAL when a CDC consumer or dead replica stops reading, because by default the primary keeps all WAL a slot needs.
A schema change stalls the application because many ALTER TABLE forms wait for an ACCESS EXCLUSIVE lock behind a long query, and later queries queue behind them.
Long reads on a standby are canceled when they conflict with VACUUM cleanup replayed from the primary for longer than max_standby_streaming_delay (30 seconds by default).
The upgrade off 13 or 14 keeps slipping while 14 reaches end of life on 12 November 2026 and Amazon RDS bills Extended Support for 13.
If one of these is costing your team time, a scoping call is the place to start.
Book a 30-min scoping call (opens Google Calendar in a new tab)Wraparound
How a blocked vacuum stops PostgreSQL writes
PostgreSQL gives each writing transaction a 32-bit ID, so VACUUM must freeze old rows before the counter wraps around. If an open transaction or a stale replication slot blocks freezing, the database eventually stops accepting writes to avoid data loss.
One busy database, three outcomes
Choose a state to see what holds freezing back.
What the application sees
Writes commit normally. Transaction ID age stays far below the limit.
Busy tables
Routine autovacuum freezes old rows as it goes
Freezing on schedule
Sessions
Transactions finish in seconds
Short-lived
Replication slots
Every slot has a consumer that keeps reading
Advancing
VACUUM can freeze only rows older than the oldest snapshot a session, prepared transaction, or replication slot still holds. Here that point keeps moving.
What the application sees
Only read-only transactions can start. Inserts, updates, and deletes fail until VACUUM catches up.
Busy tables
Autovacuum runs, but cannot freeze past the held snapshot
Near the limit
Sessions
One session idle in a transaction for days
Holding cleanup back
Replication slots
A slot whose replica or CDC consumer stopped reading
Stale
Autovacuum keeps running without progress. From PostgreSQL 14, the server warns 40 million transactions before wraparound and refuses new transaction IDs when fewer than 3 million remain.
What the application sees
Writes continue. The alert on transaction ID age fired long before the server's own warning.
Busy tables
Autovacuum, tuned per table, freezes rows again
Age falling
Sessions
idle_in_transaction_session_timeout ends abandoned transactions
Short-lived
Replication slots
A stale slot is dropped once its owner agrees
Advancing
Ending the blocker lets VACUUM freeze again, but a large table can still take hours, so the alert fires early.
We tune autovacuum per table where rows change most (autovacuum_vacuum_scale_factor, autovacuum_vacuum_cost_limit) and size autovacuum_max_workers to match. Application roles get idle_in_transaction_session_timeout, so an abandoned transaction cannot hold cleanup back for long.
We alert on transaction ID age (datfrozenxid), multixact age, and whatever holds the oldest snapshot: backend_xmin in pg_stat_activity, pg_prepared_xacts, and pg_replication_slots. Wraparound is a risk on Amazon RDS and Aurora too. On Aurora, hot_standby_feedback is always on, so a long query on a reader also holds freezing back. We time an aggressive VACUUM of your largest tables on a restored copy, so the runbook says how long recovery would take.
What we cover
Full-spectrum PostgreSQL engineering
Every change starts from evidence: pg_stat_statements, EXPLAIN ANALYZE, and the server logs.
Performance tuning
We read the execution plans of your slowest statements first, and measure each change against your baseline.
- pg_stat_statements and EXPLAIN ANALYZE on real traffic
- Indexes, query rewrites, and settings such as work_mem
- Autovacuum tuned per table, bloat measured before and after
High availability and DR
Failover designed around the data loss and downtime you can accept (RPO and RTO), then drilled.
- Patroni with etcd or Consul, HAProxy routing to the leader
- Synchronous or asynchronous replication, chosen per workload
- pgBackRest or Barman, with restores tested
Replication and CDC
Replicas that keep up, and logical replication to other systems, with slot alerts.
- Streaming replicas for reads and recovery
- Debezium change data capture (CDC)
- max_slot_wal_keep_size and slot lag alerts
PostgreSQL-native engineers
Engineers who work in PostgreSQL's internals: row versions (MVCC), VACUUM, the write-ahead log (WAL), and the planner.
- PostGIS, pgvector, TimescaleDB, and pg_partman kept compatible through upgrades
- pg_repack to remove bloat without a long lock
- Partitioning planned around how your data ages
Migration and cloud
Major upgrades and platform moves with a tested way back (a rollback plan).
- pg_upgrade, or logical replication for a short cutover
- Oracle to PostgreSQL with Ora2Pg and AWS DMS
- Moves to Amazon RDS, Aurora, Cloud SQL, or Azure
Security and compliance
Access, encryption, and audit settings reviewed against the controls your auditors ask about.
- Roles moved off MD5 passwords to SCRAM-SHA-256
- TLS, pgAudit, and row-level security for shared tables
- Control mapping your auditors can read
Incident support
A critical (P1) page, answered within 15 mins
JusDB keeps your recovery procedures (runbooks) written down, so an incident starts from a known plan instead of a blank page.
SLA response times
Production database down, primary unreachable, data corruption risk, or active failover event.
Severe latency spike, replication lag climbing rapidly, connection exhaustion, or degraded HA node.
Non-critical slow query regression, staging issue, backup warning, configuration question, or planned operational request.
Our engineering team is in India (IST, UTC+5:30) and provides 24/7 support.
Response means an on-call engineer is working the incident, not an automated reply.
What happens on a P1 page
Page
You page the on-call engineer
Through the escalation path your service agreement names.
Triage
Root cause from pg_stat_activity and pg_locks
Blocking chains, wait events, runaway queries, and replication lag traced to the session behind them.
Mitigate
Stabilize first, from the runbook
Cancel the blocking query, end the session, or fail over, then fix the cause once production is steady.
After
A review after every P1
What happened, why, and the change that stops it happening again.
Before and between incidents
- Your setup, written down firstDuring onboarding we record your versions, extensions, replication topology, pooler, and backups, so an incident starts with context.
- One escalation path, in writingYour service agreement names how to reach the on-call engineer and who approves a failover.
- Reviews between incidentsWe review slow queries, vacuum progress, transaction ID age, replication, and backups, and report open risks with next steps.
- Version dates trackedWe track community and cloud end-of-life dates for the PostgreSQL versions you run, and plan upgrades before support ends.
Process
How a PostgreSQL engagement runs, step by step
Written findings come before any change. Your team approves production changes, except routine actions you have pre-approved.
Scoping call
Your databases, versions, extensions, platforms, and what you need covered.
Read-only review under NDA
Our engineers use named accounts with only the permissions the review needs, such as pg_monitor, then read your configuration, pg_stat_statements, logs, and replication state.
A written report before any change
Each finding comes with the change we propose, how we will measure it, and a way to undo it (a rollback plan).
Changes, then handover
We rehearse risky changes on a copy, apply them in the windows you approve, measure them against the baseline, and hand over updated operating instructions (runbooks).
Step one is a 30-minute scoping call.
Book a 30-min scoping call (opens Google Calendar in a new tab)Ways to work
Choose the PostgreSQL service your team needs
Start with the responsibility you need covered. Each engagement has its own scope, deliverables, access requirements, and acceptance criteria.
Projects
Scoped PostgreSQL projects
A defined piece of work with written findings, hands-on changes, and validation against your baseline.
- PostgreSQL consultingArchitecture decisions, performance problems, upgrades, and recovery plans, scoped as one project.
- Performance tuningSlow queries, vacuum, and memory settings, measured before and after.
- Migration and upgradesMajor version upgrades and moves from Oracle, MySQL, or SQL Server, with a rollback plan.
- Cloud migrationMoves between your servers and Amazon RDS, Aurora, Cloud SQL, or Azure.
- High availabilityPatroni design, failover drills, and tested point-in-time restores.
- Security auditRoles, authentication, encryption, and audit settings, with a written report.
- Backup and recoverypgBackRest, Barman, or WAL-G backups, WAL archiving for point-in-time recovery, and timed restore drills.
- Extensionspgvector, PostGIS, TimescaleDB, Citus, pg_partman, and pg_cron chosen for your platform and carried through upgrades.
Ongoing
Ongoing coverage and support
JusDB monitors the databases, carries out the agreed maintenance, and responds to incidents 24/7. The team keeps a change record, recovery procedures, and a review after every P1.
Where your PostgreSQL runs, and the tools around it
Your team and ours
What a managed PostgreSQL service still leaves to your team
Managed cloud databases automate much of the infrastructure layer, but your team still owns query performance, capacity, cost, and incident decisions.
| Question | Managed cloud service | Your own servers or Kubernetes |
|---|---|---|
| Servers, storage, and minor patches | The provider runs them. | Your team, or JusDB under your agreement. |
| Backups and restores | Automated backups and point-in-time restore are built in. Testing a restore is still your team's job. | Your team runs pgBackRest or Barman and keeps the WAL archive a point-in-time restore needs. |
| Failover | The provider runs it. Your application and pooler still have to reconnect. | You run it: Patroni with etcd or Consul, and HAProxy in front. |
| Vacuum, slow queries, and schema changes | Yours. The provider runs the platform, not your queries, vacuum settings, or schema. | Yours. |
| Extensions | Chosen from the provider's supported list, at the versions it ships. | Any extension you can build and keep compatible through upgrades. |
| Versions and end of life | The provider's calendar. Past standard support, Amazon RDS charges for Extended Support or upgrades the instance. | Your calendar. Community fixes stop five years after each major release. |
Your team keeps control
- Set business priorities, application requirements, and release plans
- Approve production changes, except routine actions you have pre-approved
- Own your cloud accounts, access policies, and vendor relationships
- Decide when maintenance can happen and how quickly service must recover
- Move the work in-house or to another provider after your agreement's notice period, with your data returned or deleted and the transition help your agreement sets out (Terms, section 8)
JusDB handles the agreed database work
- Monitor database health, investigate alerts, and involve the right people
- Review query performance, replication, capacity, and backup health
- Carry out approved changes and update the operating instructions they affect
- Report completed work, open risks, and recommended next steps
Weighing a managed service against running PostgreSQL yourself? We compare both against your workload on a scoping call.
Book a 30-min scoping call (opens Google Calendar in a new tab)Further reading
PostgreSQL guides, a comparison, and a configuration tool
Blog guides on vacuum, query analysis, upgrades, and Patroni, plus a comparison and a tool.
Guide
PostgreSQL autovacuum tuning
How autovacuum decides when to run, per-table settings, and the wraparound it prevents.
Guide
pg_stat_statements for query analysis
Setting it up and finding the statements that cost the most time.
Guide
Major version upgrades with pg_upgrade
Copy, link, and clone modes, logical replication for a short cutover, and rollback.
Guide
Patroni with Consul as the configuration store
Patroni on Consul instead of etcd, failover and switchover tests, and HAProxy routing.
Comparison
Oracle vs PostgreSQL
Licensing, PL/SQL against PL/pgSQL, RAC against Patroni, and migrating with Ora2Pg.
Tool
PostgreSQL configuration optimizer
Enter memory, cores, workload, and storage for an explained postgresql.conf, in your browser.
FAQ
Common PostgreSQL questions
What buyers ask about PostgreSQL support, versions, migrations, Patroni, tuning, and upgrades.
Still have a question?
Ask it on a scoping call. No production access needed.
Book a 30-min scoping call (opens Google Calendar in a new tab)Do you provide 24/7 PostgreSQL DBA support?
Yes. JusDB provides 24/7 support for PostgreSQL. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins.
What versions of PostgreSQL do you support?
JusDB works on the PostgreSQL versions the community supports, 14 through 18 as of 28 October 2026, and on older ones while you upgrade. PostgreSQL 14 reaches end of life on 12 November 2026.
Can you migrate from Oracle to PostgreSQL?
Yes. JusDB assesses Oracle schemas, PL/SQL code, and application behavior first. Ora2Pg converts the schema and much of the PL/SQL to PL/pgSQL, and our engineers rewrite and test the rest before a rehearsed cutover.
How quickly can you start?
JusDB starts with a scoping call, which needs no production access. The proposal then sets the start date, once the read-only access and workload evidence it needs are ready.
Do you support Patroni HA clusters?
Yes. JusDB designs, runs, and tests Patroni clusters with etcd, Consul, or ZooKeeper, and HAProxy in front. Asynchronous mode can lose committed transactions on failover, so where that matters we use synchronous mode and alert if it falls back.
What tools do you use for query optimisation?
JusDB finds the costliest statements with pg_stat_statements, reads their plans with EXPLAIN ANALYZE and auto_explain, and reads the logs with pgBadger. Fixes such as indexes, query rewrites, and work_mem changes are measured against your baseline.
Can you do a major version upgrade (pg_upgrade) in a rehearsed window?
Yes. JusDB rehearses each major version upgrade on a copy first, so the window is measured. With pg_upgrade in link mode, the old cluster cannot be used once the new one starts, so rollback needs a backup or an old-version replica. JusDB does not guarantee one cutover duration.
Next step
Talk to a PostgreSQL engineer about your databases
Tell us what is slow, fragile, or due to change. The first 30-minute call covers your databases, current ownership, and required coverage. No production access is needed. Or request a free audit of one database instance, subject to availability: mutual NDA before read-only access, a prioritized report within one week after access is ready, and no obligation.
NDA before access, read-only by default, and written scope first
Compare with other databases
If you are weighing alternatives, these are the databases most often compared with this one.
MySQL
The relational database teams most often move from or run beside PostgreSQL. Compare indexing, JSON support, and replication.
MongoDB
For teams that split work between relational tables and flexible documents, with PostgreSQL for transactions and MongoDB for varied event data.
TimescaleDB
A PostgreSQL extension for time-series data, and the usual next step when time-based queries outgrow plain tables.
CockroachDB
A distributed SQL database that speaks the PostgreSQL wire protocol, for deployments that must scale out across regions.