· 1 min · PostgreSQL

Change these: wal_level and wal_hint_bits

Set wal_level to logical and enable wal_log_hints to unlock logical replication and pg_rewind without restarting your cluster.

0 comments

· 1 min · PostgreSQL

Change these: Logging

Stop guessing what's slow in PostgreSQL—configure logging to actually see it.

1 comment

· 1 min · PostgreSQL

Change these: archive_mode and archive_command

Default `archive_mode = off` means `archive_command` is ignored—set both now to avoid a restart later when you need WAL archiving.

2 comments

· 1 min · PostgreSQL

Change This: wal_compression

Enable wal_compression to shrink write-ahead logs and replica replication traffic after checkpoints. The CPU cost is minimal for nearly all workloads.

1 comment

· 2 min · PostgreSQL

Mountpoints and the Single PostgreSQL Server

PostgreSQL databases live in directories, and naming them wisely saves you headaches during major version upgrades.

0 comments

· 1 min · PostgreSQL

Why PostgreSQL is Terrible? at Nordic PGDay

Slides from "Why PostgreSQL is Terrible" talk at Nordic PGDay are online. Discover what makes PostgreSQL unexpectedly great through its apparent flaws.

2 comments

· 3 min · PostgreSQL

A Replication Cheat-Sheet

PostgreSQL replication overwhelms with options?

11 comments

· 1 min · PostgreSQL

Commitment Issues

When a network disconnect interrupts your COMMIT, did the transaction really go through?

0 comments

· 3 min · PostgreSQL

Streaming replication stopped? One more thing to check.

Streaming replication froze with thousands of locks on non-existent tables.

1 comment

· 1 min · PostgreSQL

“Humans do not have a primary key” at PGConf.EU

Database designers often assume every entity needs a primary key. Humans are messier than that.

0 comments