· 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

· 1 min · PostgreSQL

“Humans do not have a primary key” at PGOpen SV

Humans don't have primary keys. Learn why treating people as database records breaks down when you account for names, identity, and real-world complexity.

0 comments

· 1 min · PostgreSQL

A brief reminder about casting TIMESTAMPTZ

Casting TIMESTAMPTZ to DATE gives different results depending on your client time zone—a subtle bug that can make identical queries return different dates.

2 comments

· 1 min · Uncategorized

Blog Moved.

The blog has moved to a new server. Here's what changed and what stayed the same.

0 comments

· 1 min · PostgreSQL

shared_buffers is not a sensitive setting

Most shared_buffers tuning advice is overthinking it. Set it to 25% of system memory (max 32GB) and move on—the difference between 24GB and 32GB won't matter.

2 comments

· 1 min · PostgreSQL

Resetting the postgres user’s password

Forgotten the postgres superuser password? Single-user mode lets you reset it without losing access to your database.

3 comments

· 1 min · PostgreSQL

A PostgreSQL Response to Uber

Discover why Uber's infrastructure choices don't tell the whole story about PostgreSQL's capabilities and design tradeoffs.

0 comments

· 1 min · PostgreSQL

“Corruption War Stories” from PGConf US 2017

Corruption War Stories from PGConf 2017 are now available. Learn what went wrong and how to prevent data corruption disasters.

1 comment

· 1 min · Django

“Django and PostgreSQL” from PGConf US 2017

Django and PostgreSQL presentation slides are now available for download from PGConf.

1 comment