· 1 min · PostgreSQL

Xtreme PostgreSQL!

Slides from the February 2023 SFPUG talk are now available—grab them to dive into what was discussed.

0 comments

· 1 min · PostgreSQL

Nordic PgDay 2023

Logical replication in PostgreSQL can seem straightforward in theory but presents real challenges in production.

0 comments

· 2 min · PostgreSQL

A foreign key pathology to avoid

Popular streamers and millions of concurrent viewers expose a PostgreSQL anti-pattern: bulk inserts on foreign keys trigger MultiXact overflow and brutal lock…

0 comments

· 2 min · PostgreSQL

OK, sometimes you can lock tables.

Schema changes on busy tables can deadlock your system. Use LOCK TABLE NOWAIT in a retry loop to avoid blocking the queue behind your ALTER TABLE.

0 comments

· 1 min · PostgreSQL

How slow is DECIMAL, anyway?

NUMERIC is 2–5x slower than DOUBLE PRECISION in arithmetic operations, but not absurdly so.

0 comments

· 1 min · PostgreSQL

Why submit a paper to PgDay 2020?

Have a PostgreSQL story to share? PgDay 2020's Call for Proposals welcomes first-time speakers and fresh perspectives from the community.

0 comments

· 1 min · PostgreSQL

PgDaySF 2020!

The inaugural PgDay San Francisco lands January 21 at the Swedish-American Hall. Call for proposals and early-bird tickets are now open.

0 comments

· 1 min · PostgreSQL

“Look It Up: Practical PostgreSQL Indexing” at Nordic PGDay 2019

Slides from my PGDay Nordic 2019 talk on lookups are now online—dive into the techniques that made the presentation.

0 comments

· 3 min · PostgreSQL

What’s up with SET TRANSACTION SNAPSHOT?

PostgreSQL lets you export transaction snapshots so multiple sessions see the exact same database view—essential for tools like parallel pg_dump that need…

2 comments

· 2 min · PostgreSQL

Do not change autovacuum age settings

PostgreSQL's autovacuum freeze parameters prevent catastrophic transaction ID wraparound—and cranking them up is a mistake that can force your database…

4 comments