PostgreSQL features

Pages on core PostgreSQL features that change schema design and operations: row-level security, declarative partitioning and logical replication.

PostgreSQL table partitioning

Choosing range, list or hash partitioning for large tables: partition pruning, fast retention by dropping partitions, key constraints that must include the partition key, and how many partitions is too many.

PostgreSQL logical replication

Using publications and subscriptions to replicate selected tables across versions, platforms or sites, for analytics consolidation, data sharing and low-downtime migrations, and what logical replication does not carry over.

Storing and indexing JSON with PostgreSQL JSONB

Using PostgreSQL as a document store with jsonb: json versus jsonb storage, GIN indexes and the jsonb_path_ops operator class, schema design for semi-structured data and when a separate document database still makes sense.

PostgreSQL full-text search

Building search on PostgreSQL's built-in full-text search: tsvector and tsquery, dictionaries and language configurations, GIN indexes, ranking, and the point where an external search engine is worth running.

PostgreSQL as a job queue with SKIP LOCKED and LISTEN/NOTIFY

Running background job queues in PostgreSQL instead of a separate broker: FOR UPDATE SKIP LOCKED for competing consumers, LISTEN/NOTIFY wake-ups and their payload limit, vacuum pressure on queue tables, and when to move to a message broker.

PostgreSQL materialized views for reporting

Speeding up dashboards and reports with materialized views: how they persist query results, REFRESH and REFRESH CONCURRENTLY, scheduling refreshes, and caching data pulled through foreign data wrappers.

PL/pgSQL stored procedures and functions

Writing and maintaining server-side logic in PL/pgSQL: functions versus procedures, transaction control in procedures, what converts cleanly from Oracle PL/SQL or T-SQL, testing and keeping business logic reviewable.

UUIDv7 primary keys in PostgreSQL 18

Deciding between bigint identity columns, random UUIDv4 and time-ordered UUIDv7 keys now that PostgreSQL 18 ships uuidv7(): index locality, exposure of creation time, and migrating existing tables.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.