Nikolay Samokhvalov and Michael Christofides
Postgres FM
A weekly podcast about all things PostgreSQL
Où écouter ?
Les podcasts dans l'appli Replaio Radio Bientôt disponibleLes podcasts arrivent très bientôt dans l'appli. Installe-la dès maintenant et découvre en avant-première une toute nouvelle façon de vivre les podcasts
Épisodes
Replication 16.12.2022 37:56
Here are links to a few things we mentioned: Replication (docs) 9.0 release notes (including built-in replication) Slony Londiste pg_is_in_recovery (pgPedia page) Patroni Multiple Databases with Active Record hot_standby_feedback (docs) max_standby_archive_delay or max_standby_streaming_delay (for WAL-shipping and WAL-streaming respectively) synchronous_commit Synchronous replicas Database...
Timestamps 09.12.2022 26:18
Here are links to a few things we mentioned: Date/Time Types (docs) Don’t use timestamp without time zone (wiki) Date/Time functions and operators (docs) Postgres AT TIME ZONE explained (blog post by Bruce Momjian) Our episode on BRIN indexes RUM indexes allballs (mailing list thread) ------------------------ What did you like or not like? What should we discuss next time? Let us know...
PostgREST 02.12.2022 29:05
Here are links to a few things we mentioned: PostgREST documentation Supabase No offset (blog post by Markus Winand) JSON functions and operators (PostgreSQL docs) Stored procedures (a previous Postgres FM episode) PostGraphile Hasura Parse, Inc. Firebase PostgresML PgQ ------------------------ What did you like or not like? What should we discuss next time? Let us know by tweeting us on...
Materialized views 25.11.2022 41:03
Apologies, Michael's audio is not great in this, we'll hopefully be back to normal next week! Here are links to a few things we mentioned: Materialized views (docs) Refresh materialized view (docs) Timescale blog post PlanetScale Boost (content warning: MySQL) Incremental Materialized Views with pg_ivm (video by Lukas Fittl) Articles on how to do your own incremental updates(?) Materialize (com...
HOT updates 18.11.2022 30:13
Here are links to a few things we mentioned: Heap-only tuple updates (docs) README file (source code) Heap Only Tuple chapter (Internals of PostgreSQL by Hironobu SUZUKI) How partial, covering, and multicolumn indexes may slow down UPDATEs (blog post by Nikolay) Why Uber switched from Postgres to MySQL (blog post) Fighting write amplification with HOT updates (Adyen blog post) HOT Updates vs...
Database branching 11.11.2022 31:15
Here are links to a few things we mentioned: Database Lab Engine Overview of Aurora cloning PlanetScale branching Common DB schema change mistakes (blog post by Nikolay) Supabase vision Neon branching Shift-left testing ------------------------ What did you like or not like? What should we discuss next time? Let us know by tweeting us on @samokhvalov / @michristofides / @PostgresFM , or by comm...
Version control for databases 04.11.2022 31:21
Here are links to a few things we mentioned: A brief history of Version Control Systems (blog post by Mehran Hajirajabi) Redgate Source Control for Oracle (and SQL Server) Flyway Sqitch Liquibase pgAdmin Schema Diff Migra PostgresCompare Schema based versioning and deployment (blog post by Valentine Gogichashvili) Change management tools and techniques (PostgreSQL Wiki) GitLab migrati...
Contributing to Postgres 28.10.2022 33:07
Here are links to a few things we mentioned: PostgreSQL 14 coin (upside down!) Intro to Planner Hacking (talk by Melanie Plageman) Demystifying contributing to PostgreSQL (talk by Lætitia Avrot) How to become a PostgreSQL contributor (blog post by Aleksander Alekseev) Compile and install from source code (PostgreSQL Wiki) PostgreSQL mailing lists GitHub PostgreSQL mirror GitLab PostgreSQL mirror...
Stored procedures 21.10.2022 35:47
Here are links to a few things we mentioned: Extending SQL PostgREST PL/pgSQL EdgeDB pgTAP Sqitch Flyway Liquibase client_min_messages log_min_messages RAISE DEBUG Simplify: move code into database functions (blog post by Derek Sivers) PL/sh Supabase auto_explain.log_nested_statements Hasura ------------------------ What did you like or not like? What should we discuss...
PostgreSQL 15 14.10.2022 29:39
Here are links to a few things we mentioned: PostgreSQL 15 release notes Speeding up sort performance in Postgres 15 (blog post by David Rowley) Past, Present, and Future of Logical Replication (talk by Amit Kapila) Postgres 15 improves UNIQUE and NULL (blog post by Ryan Lambert) Do you vacuum everyday? (talk by Hannu Krosing) Why upgrade PostgreSQL? (by depesz) What did you like or not like?...
102 Query optimization 07.10.2022 31:28
Here are links to a few things we mentioned: pg_plan_advsr How partial, covering, and multicolumn indexes may slow down UPDATEs (blog post by Nikolay) Why Uber Switched from Postgres to MySQL (blog post) pganalyze index advisor Nancy bot (project is not active) pgreplay pgreplay go Real Application Testing on YugabyteDB with pgreplay (blog post by Franck Pachot) pg_query Database Lab thin...
Why is Postgres popular? 30.09.2022 31:01
This episode was badly affected by internet issues. Hopefully the edit came out ok, but the quality should be back to a better level from next week. Here are links to a few things we mentioned: Monthly blog event, PGSQL Phriday (blog post from Ryan Booz) Who or what made Postgres cool? (tweet from Kenneth Cassel) PostGIS Acquisition of Sun by Oracle DB-Engines trend Hacker News hiring trends...
Index maintenance 23.09.2022 32:41
Important correction from this episode: amcheck promises no false positives, not no false negatives, sorry! Here are links to a few things we mentioned: pgstattuple pg_repack postgres-checkup Workload Analysis for GitLab.com Bloat Analysis (also from GitLab) Bloat, pg_repack, and deferred constraints (blog post by Miro) amcheck Peter Geoghegan interview (on Postgres TV) ----------------------...
Query macro analysis intro 16.09.2022 33:29
Here are links to a few things we mentioned: pg_stat_statements pgFouine pgBadger pg_query pg_stat_activity auto_explain Can auto_explain (with timing) have low overhead? (blog post by Michael) track_io_timing pgbench PgHero pgCenter pgwatch2 (Postgres AI edition) pg_stat_kcache PASH Viewer ------------------------ What did you like or not like? What should we discuss next time? Let us know by tw...
WAL and checkpoint tuning 09.09.2022 37:46
Here are links to a few things we mentioned: LSN (log sequence number) On the impact of full-page writes (blog post by Tomas Vondra) Deep dive on Aurora Postgres (talk by Grant McAlister) Netdata monitoring PostgresqlCO.NF pgPedia ------------------------ What did you like or not like? What should we discuss next time? Let us know by tweeting us on @samokhvalov and @michristofides or by com...
Intro to query optimization 02.09.2022 33:14
Here are links to a few things we mentioned: Using EXPLAIN (PostgreSQL documentation) explain.depesz.com explain.dalibo.com pgMustard EverSQL pganalyze pg_stat_monitor (Extension by Percona) Recent thread on hackers mailing list about plan_id in pg_stat_activity auto_explain EXPLAIN observer effect (Ongres blog post by Álvaro Hernández) auto_explain overhead (blog post by Michael) pg_test_tim...
How to become a DBA 26.08.2022 32:31
And few things we mentioned: Topic request on Reddit — thanks HerbyHoover! Haki Benita's blog PostgreSQL documentation (table of contents) Planet PostgreSQL (blog aggregator) MVCC Unmasked (by Bruce Momjian) The Internals of PostgreSQL (by Hironobu SUZUKI) PostgreSQL 14 Internals — parts I and II (by Egor Rogov) Cybertec blog modern-sql.com (by Markus Winand) use-the-index-luke.com (by Marku...
Monitoring checklist 19.08.2022 27:01
Monitoring checklist (dashboard 1): TPS and (optional but also desired) QPS Latency (query duration) — at least average. Better: histogram, percentiles Connections (sessions) — stacked graph of session counts by state (first of all: active and idle-in-transaction; also interesting: idle, others) and how far the sum is from max_connection (+pool size for PgBouncer). Longest transactions (max transa...
Vacuum 12.08.2022 32:21
Here are links to a few things we mentioned: Do you vacuum everyday? (talk by Hannu Krosing) Autovacuum tuning (EDB guide) When autovacuum does not vacuum (2ndQuadrant blog post by Tomas Vondra) Autovacuum tuning basics (old 2ndQuadrant blog post) Discussion with Anastasia Lubennikova (on RuPostgres, in Russian) B-tree indexes (talk by Anastasia Lubennikova, in English) Discussion with Peter...
NULLs: the good, the bad, the ugly, and the unknown 05.08.2022 27:10
Here are links to a few things we mentioned: Three-valued_logic (Wikipedia) Postgres 15 improves UNIQUE and NULL (blog post by Ryan Lambert) Practical SQL for Data Analysis — Interpolation (blog post by Haki Benita) What is the deal with NULLs? (blog post by Jeff Davis) NULL in SQL: Indicating the Absence of Data (Markus Winand on Modern SQL) The Art of PostgreSQL (book by Dimitri Fontaine) ...
BUFFERS by default 29.07.2022 33:58
Here are links to a few things we mentioned: EXPLAIN parameters (PostgreSQL documentation) EXPLAIN (ANALYZE) needs BUFFERS (blog post by Nikolay) Using BUFFERS for query optimization (blog post by Michael) H3 indexes on PostGIS data (blog post by Ryan Lambert) Turning BUFFERS on by default (latest patch) pgMustard explain.depesz.com explain.dalibo.com Database Lab Engine ---------------------...
BRIN indexes 21.07.2022 36:07
Here are links to the two main resources we mentioned: Paul Ramsey's recent blog post on BRIN indexes Tomas Vondra's slides on BRIN index improvements A few other things we mentioned: B-tree Wikipedia page pg_repack pg_squeeze ------------------------ What did you like or not like? What should we discuss next time? Let us know by tweeting us on @samokhvalov and @michristofides If you would...
Managed services vs. DIY 14.07.2022 32:52
A well as discussing pros and cons, we mentioned a LOT of different providers and tools, and a few good articles/videos too. 😅 Here are links to most of them, roughly in the order they came up: How Auto Trader migrated its on-prem databases to Cloud SQL PostgreSQL Community Panel: Upgradability Postgres TV Open Talks PostgreSQL Conference Europe Hannu Krosing — excellent vacuum talk pg_docs_bot...
Slow queries and slow transactions 05.07.2022 26:00
What did you like or not like? What should we discuss next time? Let us know by tweeting us on @samokhvalov and @michristofides If you would like to share this episode, here's a good link (and thank you!) We also have an uncut video version on YouTube . Postgres FM is brought to you by: Nikolay Samokhvalov, founder of Postgres.ai Michael Christofides, founder of pgMustard With special thanks to: J...
Podcasts similaires
Replaio n'est pas éditeur de podcasts ; les noms des émissions, les visuels et l'audio appartiennent à leurs auteurs et sont diffusés via des flux RSS publics