Nikolay Samokhvalov and Michael Christofides

Postgres FM

A weekly podcast about all things PostgreSQL

Szerző

Nikolay Samokhvalov and Michael Christofides

Kategória

Technology

Legutóbbi epizód

04.12.2026

Hol hallgathatod?

Podcastok az alkalmazásban Replaio Radio Hamarosan

A podcastok hamarosan megérkeznek az alkalmazásba. Telepítsd most, és láss elsőként egy teljesen új megközelítést a podcastokhoz

Letöltés a Google Play-ről Telepítsd ingyen Android 10 M+ letöltés · 4,7+ értékelés iOS hamarosan

Epizódok

Events 01.12.2023

Nikolay and Michael discuss PostgreSQL events — whether in-person or online, large conferences or small meet-ups, as well as some strong opinions based on their experiences attending, speaking, and organising them.    Here are some links to things they mentioned: PGSQL Phriday #014: PostgreSQL Events https://www.cybertec-postgresql.com/en/pgsql-phriday-014-postgresql-events/   PGCon https://www.pg...

Subtransactions 24.11.2023

Nikolay and Michael discuss PostgreSQL subtransactions — what they are, and four issues they can cause at scale.    Here are some links to things they mentioned: Subtransactions (docs) https://www.postgresql.org/docs/current/subxacts.html   SAVEPOINT (docs) https://www.postgresql.org/docs/current/sql-savepoint.html   PostgreSQL Subtransactions Considered Harmful (blog post by Nikolay) https://post...

Companion databases 17.11.2023

Nikolay and Michael discuss companion databases — when and why you might want to add another database management system to your stack (or not), and some specifics for analytics, timeseries, search, and vectors.    Here are some links to things they mentioned: Heap were using Postgres + Citus for analytics as of 2022 https://www.heap.io/blog/juggling-state-machines-incident-response-and-data-soup-a...

Blue-green deployments 10.11.2023

Nikolay and Michael discuss blue-green deployments — specifically an RDS blog post, how similar this is (or not) to what they understand to be blue-green deployments, and how applicable the methodology might be in the database world more generally.    Here are some links to things they mentioned: Fully managed Blue/Green Deployment in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL https://...

Data model trade-offs 03.11.2023

Nikolay and Michael discuss data model trade-offs — some cases where you might want to (gasp) de-normalize, and which PostgreSQL internals are at play.    Here are some links to things they mentioned: Our episode on JSON https://postgres.fm/episodes/json   PostgreSQL limits https://www.postgresql.org/docs/current/limits.html Boyce–Codd normal form https://en.wikipedia.org/wiki/Boyce–Codd_normal_fo...

Under-indexing 27.10.2023

Nikolay and Michael discuss under-indexing — how to tell if this applies to you, some general and specific cases, as well as some tricky ones.    Here are some links to things they mentioned: Indexes (docs) https://www.postgresql.org/docs/current/indexes.html   random_page_cost https://postgresqlco.nf/doc/en/param/random_page_cost/ Sequential scans https://www.pgmustard.com/docs/explain/sequential...

Over-indexing 20.10.2023

Nikolay and Michael discuss over-indexing — what we mean by it, the regular issues people discuss about it, as well as a novel one Nikolay has come across and benchmarked recently.    Here are some links to things they mentioned: Nikolay’s tweet on over-indexing https://twitter.com/samokhvalov/status/1713101666629927112   Heap-Only Tuples (HOT) optimization https://www.postgresql.org/docs/current/...

Query hints 13.10.2023

Nikolay and Michael discuss query hints — what they are, what we do and don't have in PostgreSQL, and some other things in and around the ecosystem to be aware of.    Here are some links to some extra things they mentioned: Query planning (docs) https://www.postgresql.org/docs/current/runtime-config-query.html   Statistics used by the planner (docs) https://www.postgresql.org/docs/current/planner-...

Stop and start Postgres faster 07.10.2023

In this episode (recorded live on YouTube ), Nikolay discusses Postgres shutdown and startup times – how to troubleshoot them and, when needed, optimize.    Some extra things mentioned in this episode: #PostgresMarathon series – every day, Nikolay posts a new howto-style article https://twitter.com/hashtag/PostgresMarathon Day 2: Postgres shutdown and restart attempts https://twitter.com/samokhval...

Backups 29.09.2023

Nikolay and Michael discuss Postgres backups — why we need them, what the options are, whether a dump is a backup or not, and some considerations for lowering RPO and RTO at scale.    Here are some links to some extra things they mentioned: pg_dump https://www.postgresql.org/docs/current/app-pgdump.html   pg_basebackup https://www.postgresql.org/docs/current/app-pgbasebackup.html pgBackRest https:...

Postgres 16 22.09.2023

Nikolay and Michael discuss the release of PostgreSQL 16 — the most important new features, what they mean for us as users, whether and when to upgrade, and more.  Here are some links to some extra things they mentioned: Release notes https://www.postgresql.org/docs/current/release-16.html New Features With Examples (PDF from Noriyoshi Shinoda of Hewlett Packard Enterprise Japan) https://h50146.ww...

Logical replication 15.09.2023

Nikolay and Michael discuss logical replication — some history, initialization, change data capture, how to scale it, some limitiations, and ways that it is getting better.   Here are some links to some things they mentioned: Logical replication https://www.postgresql.org/docs/current/logical-replication.html   GitLab upgraded multi-terabyte, heavily-loaded clusters with zero-downtime https://twit...

Our favourite v16 feature 08.09.2023

Nikolay and Michael discuss their favourite feature each from the upcoming PostgreSQL 16 release.   Here are some links to some things they mentioned: v16 draft release notes https://www.postgresql.org/docs/16/release-16.html PGSQL Phriday #012 invitation from Ryan Booz https://www.pgsqlphriday.com/2023/08/pgsql-phriday-012/   Subscribe options for the podcast https://postgres.fm/subscribe A recen...

Connections 01.09.2023

Nikolay and Michael discuss connections — the options, security and performance tradeoffs, and a few other things to be aware of.   Here are some links to some things they mentioned: Episode on connection poolers https://postgres.fm/episodes/connection-poolers   listen_addresses https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-LISTEN-ADDRESSES   SSLMODE Explained (blog po...

Decoupled storage and compute 25.08.2023

Nikolay and Michael discuss a listener question — about products that take Postgres and transform it to something that decouples compute from storage (RDS Aurora, GC AlloyDB, Neon etc.) and whether they see something like this landing upstream in the medium term. Here are some links to some things they mentioned: Amazon Aurora https://aws.amazon.com/rds/aurora/ Google Cloud AlloyDB for PostgreSQL...

Self-managing 18.08.2023

Nikolay and Michael discuss self-managing Postgres — both the practicalities of doing so, as well as some managed-service style tooling.    Here are some links to some things they mentioned: Our episode on Managed services vs. DIY https://postgres.fm/episodes/managed-services-vs-diy   WAL-G https://github.com/wal-g/wal-g   pgBackRest https://pgbackrest.org/   Barman https://github.com/EnterpriseDB...

Sharding 11.08.2023

Nikolay and Michael discuss sharding Postgres — what it means, why and when it's needed, and the available options right now.    Here are some links to some things they mentioned: PGSQL Friday monthly blogging event https://www.pgsqlphriday.com/ Did “sharding” come from Ultima Online? https://news.ycombinator.com/item?id=23438399   Our episode on partitioning: https://postgres.fm/episodes/partitio...

Data types 04.08.2023

Nikolay and Michael discuss data types in PostgreSQL — including system types, choosing between types, types provided by extensions, and more.    Here are some links to some things they mentioned: Data Types (docs) https://www.postgresql.org/docs/current/datatype.html   10 tips for beginners https://postgres.ai/blog/20230722-10-postgres-tips-for-beginners   Tid Scan (explain glossary) https://www....

High availability 28.07.2023

Nikolay and Michael discuss HA (high availability) — what it means, tools and techniques for maximising it, while going through some of the more common causes of downtime.    Here are some links to some things they mentioned: https://en.wikipedia.org/wiki/High_availability https://postgres.fm/episodes/upgrades     https://github.com/shayonj/pg_easy_replicate/   pg_easy_replicate discussion on Hack...

Beginner tips 21.07.2023

Nikolay and Michael discuss 10 beginner tips Nikolay recently shared — they go into a bit more detail on each, and even disagree a little on one or two!    Here are some links to some things they mentioned: Nikolay’s tweet with all 10 tips: https://twitter.com/samokhvalov/status/1679953049899642880   Tip 1: tuples are physical versions of rows Related episodes: https://postgres.fm/episodes/how-to-...

Connection poolers 14.07.2023

Nikolay and Michael discuss Postgres connection poolers — when and why we need them, the king that is PgBouncer, and the many new pretenders to the throne.   Here are links to a few things they mentioned:  max_connections https://www.postgresql.org/docs/current/runtime-config-connection.html#GUC-MAX-CONNECTIONS   Improving Postgres Connection Scalability: Snapshots (blog post by Andres Freund) htt...

Anniversary mailbag 07.07.2023

Nikolay and Michael celebrate the podcast's 1 year anniversary by going through several questions and suggestions received over the year.   Here are the questions and some links to things we mentioned:  Question 1: Effect of wal_log_hints=on after bulk Deletes: Why next select runs slow and generated tons of WAL? https://twitter.com/dmx551/status/1598253188926570496   wal_log_hints https://www.pos...

pg_upgrade: the tricky and dangerous parts 30.06.2023

Nikolay (alone, again) reveals some issues that might hit those who perform major PostgreSQL upgrades with minimal downtime. Links: - "Upgrades" – PostgresFM episode 037: https://postgres.fm/episodes/upgrades - recovery_target_lsn: https://postgresqlco.nf/doc/en/param/recovery_target_lsn/ - recovery_target_action: https://postgresqlco.nf/doc/en/param/recovery_target_action/ - pg_easy_replicate htt...

UUID 23.06.2023

Lonely Nikolay discusses the performance aspects of using UUID for primary keys.  Here are links to a few things I mentioned:  "postgresql" posts on HN, most popular last week (Algolia search): https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=true&query=postgresql&sort=byPopularity&type=story Unexpected downsides of UUID keys in PostgreSQL (a post by Ants Aasma, Cyberte...

Memory 16.06.2023

Nikolay and Michael discuss memory in PostgreSQL — how it works, important settings, and how to go about tuning them.   Here are links to a few things we mentioned:  Resource Consumption (PostgreSQL docs) https://www.postgresql.org/docs/current/runtime-config-resource.html Andres Freud tweet about shared_buffers https://twitter.com/AndresFreundTec/status/1438912583554113537   Henrietta (Hettie) Do...

Hallgasd a(z) Postgres FM podcastot a Replaióban

Rádió és podcastok egy alkalmazásban - ingyen és regisztráció nélkül. Telepítsd még ma, és ne maradj le a premierről

Letöltés a Google Play-ről

A Replaio nem podcastkiadó; a műsorok nevei, borítóképei és hanganyagai a szerzőiket illetik, és nyilvános RSS-csatornákon keresztül terjednek.