· 8 min · PostgreSQL

“Gentlemen, this is a 🏈”: Glyphs, Encodings, Collations, and Locales

Characters, encodings, and collations: the fundamentals of how PostgreSQL handles human language.

1 comment

· 1 min · PostgreSQL

Checking Your Privileges, 2

Check out the slides from my latest talk, adapted from the previous blog post on PostgreSQL performance tuning.

0 comments

· 3 min · PostgreSQL

Checking Your Privileges

PostgreSQL grants EXECUTE on new functions to PUBLIC by default, which might let unwanted users run your "secret" functions. Here's how to lock them down.

0 comments

· 1 min · PostgreSQL

“Look It Up: Real-Life Database Indexing” at PgConf.NYC

Slides from "Look It Up: Real-Life Database Indexing" are now live. Learn practical indexing strategies that actually work in production PostgreSQL systems.

1 comment

· 1 min · PostgreSQL

Don’t use ChatGPT to solve problems.

ChatGPT gave wrong answers to 23 of 40 PostgreSQL questions—including one that would corrupt your database. LLMs aren't a substitute for real expertise.

4 comments

· 1 min · PostgreSQL

Running PostgreSQL on two ports

PostgreSQL only listens on one port, but you can use pgbouncer or stunnel to accept TLS connections on a second port and route them to your server.

1 comment

· 1 min · PostgreSQL

“Writing a Foreign Data Wrapper” at PGCon 2023

Learn the architecture and skills you need to build a PostgreSQL foreign data wrapper that reads from external data sources.

0 comments

· 2 min · PostgreSQL

A little more on max_wal_size

Higher max_wal_size means faster checkpoints but slower crash recovery. Here's how to balance the tradeoff based on what matters most to your system.

1 comment

· 2 min · PostgreSQL

The importance of max_wal_size

Frequent checkpoints kill PostgreSQL performance—here's how to tune max_wal_size to stop them from happening too often.

1 comment

· 1 min · PostgreSQL

“Real-World Logical Replication” at Nordic PGDay 2023

Slides from "Real-World Logical Replication" are now live. Dive into practical patterns for PostgreSQL's most powerful replication feature.

0 comments