Senior PostgreSQL DBA - GD601

KBI Staffing

Los Angeles (CA)

Hybrid

USD 140,000 - 190,000

Full time

4 days ago
Be an early applicant

A complete application in a minute

Tailored resume and cover letter, ready to send.

Get past ATS filters

Job summary

KBI Staffing seeks a Senior PostgreSQL DBA to own the design, availability, performance, and security of our production PostgreSQL estate hosted in Microsoft Azure. The role covers Azure Database for PostgreSQL (flexible server) and self-managed PostgreSQL on Azure VMs across Linux and Windows, with a strong emphasis on high availability, disaster recovery, and proactive performance optimization.

The candidate will lead cross-region disaster recovery planning, manage active-active and

Qualifications

  • Experience designing and operating HA and DR architectures for PostgreSQL on Azure.
  • Hands-on senior engineering role requiring incident response and disaster recovery planning.
  • Experience with PostgreSQL 15–19, including latest features.
  • Experience with self-managed PostgreSQL on Linux and Windows.

Responsibilities

  • Design zone-redundant HA on Azure Database for PostgreSQL; synchronous standby with failover.
  • Define cross-region DR with geo-redundant backups and read replicas.
  • Run quarterly, planned/unplanned, and forced failover tests.
  • Manage replication slots, slots and logical replication for HA/DR.
  • Perform in-place major version upgrades and read replica management.

Skills

PostgreSQL
Azure
High availability
Disaster recovery
Replication
Linux administration
Windows Server
Performance tuning
Security & encryption
Monitoring

Tools

Azure Database for PostgreSQL
Patroni
PgBouncer
HAProxy
pg_basebackup
Azure CLI
Terraform
Bicep

Job description

Job Description:

This position is classified as structured hybrid, with an expectation of three (3) days per week working in the office and flexibility to work remotely on the remaining days. On-site expectations may evolve over time to support business needs, with clear communication provided in advance.

The Senior PostgreSQL DBA owns the design, availability, performance, and security of our production PostgreSQL estate hosted in Microsoft Azure. The role covers both Azure Database for PostgreSQL (flexible server) and self-managed PostgreSQL on Azure virtual machines running Red Hat Enterprise Linux, CentOS Stream, and Windows Server.

This is a hands-on senior engineering role, not a supervisory one. The DBA is the final escalation point for database incidents, the architect of our high-availability and disaster-recovery topology (active-passive and active-active), and the person who keeps us current on PostgreSQL 17, 18, and the upcoming 19 release.

Key Responsibilities

Duties marked critical are the core of the role; a candidate who cannot demonstrate them should not advance past the technical screen.

1. High availability and disaster recovery (critical)
  • Design, deploy, and operate zone-redundant high availability on Azure Database for PostgreSQL flexible server: synchronous standby in a second availability zone, automatic failover in 60–120 seconds with zero data loss, and the 99.99% uptime SLA that configuration carries.
  • Decide between zone-redundant and same-zone (zonal) HA per workload based on latency tolerance and zone-failure risk, and document the trade-off.
  • Run and document planned, unplanned, and forced failover tests at least quarterly; measure downtime from the application side, not from the service side.
  • Size max_replication_slots and max_wal_senders correctly (four reserved for HA plus one per read replica and per logical slot) so failovers never fail for lack of slots.
  • Build equivalent active-passive clusters on self-managed Azure VMs using streaming replication with Patroni and etcd (Linux) or a supported cluster manager on Windows, fronted by HAProxy, PgBouncer, or an Azure internal load balancer.
  • Design cross-region disaster recovery: geo-redundant backups, cross-region read replicas, and promotion runbooks with tested RPO/RTO targets.
  • Preserve logical replication across failover: pg_failover_slots on PostgreSQL 16 and earlier, native sync_replication_slots = on with hot_standby_feedback = on on PostgreSQL 17 and later.
Active-active (bi-directional / multi-master):
  • Design and operate active-active topologies across Azure regions using the pglogical extension or native logical replication, following Microsoft's published bi-directional replication guidance for Azure Database for PostgreSQL.
  • Define and enforce conflict-avoidance and conflict-resolution strategy: partitioned write ownership, non-overlapping sequence ranges or UUIDv7 keys, last-writer-wins rules where appropriate, and monitoring for conflict counts.
  • Manage DDL propagation across nodes (pglogical.replicate_ddl_command() or controlled DDL rollout for native replication) and sequence synchronization (PostgreSQL 19 adds native sequence replication via ALL SEQUENCES and REFRESH SEQUENCES).
  • Monitor replication lag, slot retention, and retain_dead_tuples settings on every node; alert before WAL retention threatens primary disk.
  • Own the decision of when active-active is and is not appropriate, and push back on it where a well-run active-passive design meets the requirement at lower risk.
  • Provision and manage Azure Database for PostgreSQL flexible server via the portal, Azure CLI, Az.PostgreSQLFlexibleServer PowerShell module, ARM/Bicep, Terraform, and REST API.
  • Configure networking: VNet integration, private endpoints, private DNS zones, firewall rules, and migration from VNet-injected to private-endpoint servers (now supported for HA-enabled servers).
  • Implement Microsoft Entra ID authentication, Entra group login, managed identities, customer-managed keys (including cross-tenant CMK), and SCRAM-SHA-256 as the password default.
  • Manage compute and storage tiers, including Premium SSD v2 (GA with HA, read replicas, geo-DR, and major version upgrade support) and online storage scaling.
  • Operate built-in PgBouncer (currently 1.25.x) for connection pooling and tune pool modes per application.
  • Run in-place major version upgrades on flexible server (PostgreSQL 18 upgrade GA June 2026), including pre-upgrade extension and large-object checks.
  • Manage read replicas (in-region, cross-region, cascading), promote them when required, and keep replica lag within SLA.
  • Configure backup retention, long-term retention via Azure Backup, point-in-time restore, and recovery of deleted servers; test restores on a schedule.
  • Evaluate and deploy elastic clusters (sharded flexible server) for horizontally scaled workloads where appropriate.
  • Set custom maintenance windows and coordinate Azure-initiated minor version patching with application owners.
3. Self-managed PostgreSQL on Linux and Windows (critical)
  • Install, patch, and tune PostgreSQL 15–19 on RHEL 8/9, CentOS Stream, and Windows Server 2019/2022 running as Azure VMs.
  • On Linux: manage systemd units, SELinux contexts, firewalld, LVM/managed-disk layout, kernel and huge-page settings, and PGDG repository packaging.
  • On Windows: manage the PostgreSQL service, NTFS permissions, Windows Firewall, scheduled tasks for maintenance, and Windows-specific installer and upgrade behavior.
  • Operate backup tooling: pgBackRest or Barman on Linux, pg_basebackup and WAL archiving to Azure Blob Storage on both platforms, with incremental backups where supported.
4. Performance engineering
  • Diagnose and tune queries using EXPLAIN (ANALYZE, BUFFERS, WAL, IO), pg_stat_statements, auto_explain, and Azure Query Performance Insight.
  • Tune autovacuum per table, including PostgreSQL 19 parallel autovacuum (autovacuum_max_parallel_workers) and the new prioritization scoring, and prevent transaction-ID wraparound.
  • Reclaim bloat without downtime using REPACK (CONCURRENTLY) on PostgreSQL 19, pg_repack on earlier versions, and VACUUM FULL only as a last resort.
  • Tune asynchronous I/O (io_method, worker counts) introduced in PostgreSQL 18, memory parameters, checkpointing, and WAL compression.
  • Design partitioning, indexing (B-tree, BRIN, GIN, GiST, skip-scan on PostgreSQL 18), and extended statistics strategies.
  • Use pg_plan_advice and pg_stash_advice on PostgreSQL 19 to stabilize problem plans without permanent hints.
5. Security and compliance
  • Enforce least-privilege roles, row-level security, and predefined roles (pg_read_all_data, pg_write_all_data); retire MD5 passwords before PostgreSQL 19 begins warning on them.
  • Manage TLS, SNI (new in PostgreSQL 19), certificate rotation, and encryption at rest with customer-managed keys.
  • Produce audit evidence with pgaudit and Azure Monitor diagnostic logs for SOC 2, HIPAA, or PCI as required.
  • Respond to CVEs within the patching SLA and track Azure-applied minor version patches.
6. Monitoring and incident response
  • Build dashboards and alerts in Azure Monitor, Log Analytics, and the Azure HA health status monitor; supplement with Prometheus/Grafana or Datadog for VM-hosted clusters.
  • Instrument the new PostgreSQL 19 views (pg_stat_recovery, pg_stat_lock, pg_stat_autovacuum_scores) and the per-process-type log_min_messages.
  • Lead Sev-1 database incidents, write blameless post-mortems, and drive the resulting fixes to closure.
7. Migrations and upgrades
  • Plan and execute migrations into Azure from on-premises or other clouds using Azure Database Migration Service, pg_dump/pg_restore, logical replication, or pg_createsubscriber.
  • Lead major version upgrades on both flexible server and VMs, with rollback plans and application regression testing.
  • Replace deprecated features ahead of removal: MD5 auth, RADIUS (removed in 19), standard_conforming_strings = off.
8. Automation and engineering practice
  • Keep all database infrastructure in code (Terraform, Bicep, Ansible, PowerShell) with CI-tested changes.
  • Write runbooks for every failover, restore, and upgrade procedure and keep them current.
  • Mentor junior DBAs and developers on PostgreSQL best practices and review schema changes in pull requests.
Get your free, confidential resume review.

or drag and drop your file here.

Similar jobs

Similar jobs worth comparing

Sr PostgreSQL DBA
Sr PostgreSQL DBA

Blackstone Talent Group • Los Angeles (CA)

Hybrid
USD 120,000 - 190,000
Structured hybrid work
Aurora PostgreSQL DBA - Migration, Tuning & HA Expert
Aurora PostgreSQL DBA - Migration, Tuning & HA Expert

TechDigital Group • Norfolk (VA)

On-site
USD 110,000 - 160,000
PostgreSQL DBA
PostgreSQL DBA

TechDigital Group • Norfolk (VA)

On-site
USD 110,000 - 160,000
Sr. Database Engineer New AZ_Mesa_HQ
Sr. Database Engineer New AZ_Mesa_HQ

Verra Mobility • Mesa (AZ)

On-site
USD 140,000 - 190,000
PostgreSQL Database Administrator
PostgreSQL Database Administrator

Dataquest • Harrisburg

On-site
USD 100,000 - 130,000
Medical insurance
Vision insurance
401(k)
+1
Sr. Database Engineer
Sr. Database Engineer

Verra Mobility Corporation • Phoenix (AZ)

On-site
USD 140,000 - 170,000
Senior PostgreSQL DBA
Senior PostgreSQL DBA

Cognizant Technology Solutions Corporation • Charlotte (NC)

On-site
USD 130,000 - 170,000
PostgreSQL DBA
PostgreSQL DBA

Atos • Phoenix (AZ)

On-site
USD 140,000 - 200,000
Database Administrator
Database Administrator

aVinci Media • United States

Remote
USD 95,000 - 120,000
Remote-first
Hardware budget
Professional development
+3
Senior Software Engineer, Database Engineer
Senior Software Engineer, Database Engineer

trm-labs • United States

Remote
USD 180,000 - 240,000