Postgres FM

Nikolay Samokhvalov and Michael Christofides
undefined
Dec 9, 2022 • 26min

Timestamps

Discussion on using timestamp with time zone data type in PostgreSQL, benefits and challenges of timestamps, introduction to B3 indexes and brain indexes in Postgres, advantages of using timestamps rather than boolean columns in databases, exploration of timestamps, time intervals, and infinity.
undefined
Dec 2, 2022 • 29min

PostgREST

Here are links to a few things we mentioned: PostgREST documentationSupabaseNo offset (blog post by Markus Winand)JSON functions and operators (PostgreSQL docs)Stored procedures (a previous Postgres FM episode)PostGraphile Hasura Parse, Inc. FirebasePostgresMLPgQ ------------------------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 commenting on our Google doc.If you would like to share this episode, here's a good link (and thank you!)Postgres FM is brought to you by:Nikolay Samokhvalov, founder of Postgres.aiMichael Christofides, founder of pgMustardWith special thanks to:Jessie Draws for the amazing artwork 
undefined
Nov 25, 2022 • 41min

Materialized views

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 postPlanetScale Boost (content warning: MySQL) Incremental Materialized Views with pg_ivm (video by Lukas Fittl) Articles on how to do your own incremental updates(?)Materialize (company) Materialize talkIncremental View Maintenance (Postgres wiki)  Implementing Incremental View Maintenance (mailing list thread) ------------------------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 commenting on our Google doc.If you would like to share this episode, here's a good link (and thank you!)Postgres FM is brought to you by:Nikolay Samokhvalov, founder of Postgres.aiMichael Christofides, founder of pgMustardWith special thanks to:Jessie Draws for the amazing artwork 
undefined
Nov 18, 2022 • 30min

HOT updates

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 Bottom-Up Index Deletion (video by Lukas Fittl from pganalyze) Reduced Bloat with Bottom-Up Deletion (blog post by Hamid Akthar from Percona) What is fillfactor and how does it affect performance? (blog post by Kaarel Moppel from Cybertec)------------------------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 commenting on our Google doc.If you would like to share this episode, here's a good link (and thank you!)Postgres FM is brought to you by:Nikolay Samokhvalov, founder of Postgres.aiMichael Christofides, founder of pgMustardWith special thanks to:Jessie Draws for the amazing artwork 
undefined
Nov 11, 2022 • 31min

Database branching

Here are links to a few things we mentioned: Database Lab EngineOverview of Aurora cloning PlanetScale branchingCommon DB schema change mistakes (blog post by Nikolay)Supabase visionNeon branchingShift-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 commenting on our Google doc.If you would like to share this episode, here's a good link (and thank you!)Postgres FM is brought to you by:Nikolay Samokhvalov, founder of Postgres.aiMichael Christofides, founder of pgMustardWith special thanks to:Jessie Draws for the amazing artwork 
undefined
Nov 4, 2022 • 31min

Version control for databases

This podcast explores the importance of version control for databases, including the challenges of schema change management. The hosts discuss Postgres Compare, the significance of including data in the schema, and the difficulties of managing create statements in version control. They also explore the concept of separating tables and functions, the challenges of triggers and table alteration locking attempts, and the difficulties of managing configuration files in version control.
undefined
8 snips
Oct 28, 2022 • 33min

Contributing to Postgres

Discover the myriad ways to contribute to the Postgres community, from coding to knowledge sharing. Explore the significance of non-coding contributions, including translations and content creation that enhance user experience. Learn about the critical role of documentation and the need for visual guides. Delve into exciting extensions like ZomboDB that connect Postgres with Elasticsearch. Finally, understand how community support enriches the ecosystem for both newcomers and seasoned contributors, fostering a collaborative spirit.
undefined
Oct 21, 2022 • 36min

Stored procedures

The podcast explores the benefits of using stored procedures in a database, such as data consistency and improved performance. It also discusses the advantages of using Rails or Django for database management and the challenges of working with views and functions in PostgreSQL. The chapter delves into scaling strategies, subtransactions in POSGIS, and the use of stored procedures in database development. Overall, the speakers emphasize the importance of version control, testing, and the potential impact of projects like Superbase and Hasura.
undefined
Oct 14, 2022 • 30min

PostgreSQL 15

Here are links to a few things we mentioned: PostgreSQL 15 release notesSpeeding 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? What should we discuss next time? Let us know by tweeting us on @PostgresFM or by commenting on our topic ideas Google doc.If you would like to share this episode, here's a good link (and thank you!)------------------------Postgres FM is brought to you by:Nikolay Samokhvalov, founder of Postgres.aiMichael Christofides, founder of pgMustardWith special thanks to:Jessie Draws for the amazing artwork 
undefined
Oct 7, 2022 • 31min

102 Query optimization

The podcast discusses query optimization in PostgreSQL, including steps involved, testing in a similar setup as production, analyzing the impact of sampling and bloat, optimizing queries' impact on other queries, and extreme indexing failure cases.

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app