Scaling Postgres: Recent Episodes

Creston Jamison

Learn how to get the best performance and scale your PostgreSQL database with our weekly shows. Receive the best content curated from around the web. We have a special focus on content for developers since your architecture and usage is the key to getting the most performance out of PostgreSQL.

View Details

In this episode of Scaling Postgres, we discuss whether pg_dump is a backup tool, the pgMonitor extension, Postgres malware, and application uses for the merge command.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/331-is-pg_dump-a-backup-tool/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss the merging of Postgres and DuckDB via the pg_duckdb extension, how this can help the analytics story for Postgres, some ways to improve PG analytics and building a search engine.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/330-splicing-elephant-and-duck-dna/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss PGlite, an embeddable Postgres, postgres.new which adds AI features, new Postgres releases and the performance of synchronous replication.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/329-pglite-embeddable-postgres/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss different get or create implementations, a new pgBouncer version, alter default privileges, and six degrees of separation with Postgres.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/328-implement-get-or-create/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss using Postgres for graph queries, the fastest way to copy data from one table to another, dealing with linux memory overcommit and compression.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/327-postgres-graph-queries/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we talk about speeding up index creation, extensions to track wait events, a row pattern recognition feature and savepoints.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/326-faster-index-creation/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss more ways to keep the superior performance of keyset pagination, how to implement UUIDv7 in SQL functions, how expensive extended statistics are and the benefits of range columns.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/325-faster-paging/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss experiments to achieve four million transaction per second, the importance of extended statistics, parallelism in Postgres and an introduction to window functions.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/324-four-million-tps/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss a breaking change in the new version of PgBouncer, PostgreSQL 17 Beta 2 is released, examination of the new built-in collation provider in PG 17 and Notion's data lake.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/323-pgbouncer-breaking-change/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss an incremental sort instability issue with the Postgres planner, whether we should use foreign keys, how the visibility map works and how to vacuum the template0 database.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/322-postgres-sort-instability/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss the shutdown of Ottertune, how schema changes cause locks and how to avoid them, the benefits of on conflic do nothing, and pgvectorscale.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/321-ottertune-is-dead/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss three organizations scaling their databases to 100 TB and beyond, collation speed, configuring memory and new AI extensions

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/320-100tb-and-beyond/

Want to learn more about Postgres performance? Join my FREE training called Postgres Performance Demystified here: https://www.scalingpostgres.com/courses/postgres-performance-demystified/

View Details

In this episode of Scaling Postgres, we discuss a time when Postgres development stopped, two new extensions pg_lakehouse & pg_compare and the upcoming event Posette.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/319-when-postgres-development-stoppped/

View Details

In this episode of Scaling Postgres, we discuss all the new features in Postgres 17 Beta 1, some features that did not make it, database collations & sorting and causes of slow commits.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/318-postgres-17-beta-1-released/

View Details

In this episode of Scaling Postgres, we discuss a new time-series open source extension called pg_timeseries, Postgres ignoring indexes, JSONB selectivity issues, and geographically distributed multi-tenant applications.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/317-time-series-open-source-extension/

View Details

In this episode of Scaling Postgres, we discuss new Postgres releases, optimizing a query to be 1,000 times faster, custom vs. generic plans and the pgtt extension.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/316-new-releases-1000-times-faster-query/

View Details

In this episode of Scaling Postgres, we discuss how hacking on Postgres is hard, a notifier pattern for using Listen/Notify, using histograms for metrics and saturated arithmetic.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/315-hacking-on-postgres-is-hard/

View Details

In this episode of Scaling Postgres, we discuss performance improvements for pgvector 0.7.0, a guide to vector embeddings, building a Retrieval Augmented Generation app and only allow logins to replicas.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/314-150-times-faster-pgvector/

View Details

In this episode of Scaling Postgres, we discuss whether the future of MySQL is Postgres, how to use recursive CTEs, work on OrioleDB, and PG17 performance improvements.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/313-the-future-of-mysql-is-postgres/

View Details

In this episode of Scaling Postgres, we cover potential features in Postgres 17 such as explain serialize, verbose copy, pg_buffer_cache_evict, as well as many others.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/312-postgres-17-commit-orama/

View Details

In this episode of Scaling Postgres, we discuss a 1,400 times faster max and group by implementation, new quantization capabilities in pgvector, adaptive radix trees and splitting & merging partitions in PG17.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/311-max-group-by-performance/

View Details

In this episode of Scaling Postgres, we discuss whether Postgres will pull a Redis, remembering Simon Riggs, built-in collation provider and C.UTF-8 in PG 17 and health checks.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/310-andres-microsoft-postgres-save-linux/

View Details

In this episode of Scaling Postgres, we discuss whether Postgres will pull a Redis, remembering Simon Riggs, built-in collation provider and C.UTF-8 in PG 17 and health checks.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/309-will-postgres-pull-a-redis/

View Details

In this episode of Scaling Postgres, we discuss high availability's future, a custom sharding solution by Figma, sharding pg_vector queries, and PG17 logical replication failover.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/308-scale-through-sharding/

View Details

In this episode of Scaling Postgres, we discuss whether we should be using bytewise or linguistic ordering by default, how to transform data in Postgres, benefits of a transaction_timeout and how to enforce join order.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/307-collation-conundrum/

View Details

In this episode of Scaling Postgres, we discuss one configuration change that resulted in an 11,000 times faster query, why Postgres is not using your index, backported PG improvements and parallelism with TOAST.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/306-scalability-limits-from-slru-lock-manager/

View Details

In this episode of Scaling Postgres, we discuss one configuration change that resulted in an 11,000 times faster query, why Postgres is not using your index, backported PG improvements and parallelism with TOAST.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/305-11k-faster-configuration-change/

View Details

In this episode of Scaling Postgres, we discuss new Postgres releases, performance comparisons between PgBouncer, PgCat and Supavisor, a new extension pg_analytics, and new planner capabilities in PG16.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/304-overhead-of-pg_stat_statements/

View Details

In this episode of Scaling Postgres, we discuss new Postgres releases, performance comparisons between PgBouncer, PgCat and Supavisor, a new extension pg_analytics, and new planner capabilities in PG16.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/303-pgbouncer-pgcat-supavisor-fight/

View Details

In this episode of Scaling Postgres, we discuss when and how you should use UUIDs or not, how to optimize space with column order and arrays, whether it is better to tune parameters or queries and what devs should know about Postgres with Andrew Atkinson.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/302-uuid-vs-bigint-battle/

View Details

In this episode of Scaling Postgres, we discuss how you can build a GPT in 500 lines of SQL code, how to optimize extension loading, the best way to set passwords and being able to change generated columns.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/301-postgres-llm-os-30-times-faster-index-builds/

View Details

In this episode of Scaling Postgres, we discuss how you can build a GPT in 500 lines of SQL code, how to optimize extension loading, the best way to set passwords and being able to change generated columns.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/300-postgres-celebration/

View Details

In this episode of Scaling Postgres, we discuss how you can build a GPT in 500 lines of SQL code, how to optimize extension loading, the best way to set passwords and being able to change generated columns.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/299-build-a-gpt-in-sql/

View Details

In this episode of Scaling Postgres, we discuss hopes for Postgres in 2024, whether you need foreign keys, incremental backups, and five ways of doing not exists.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/298-10-100-times-higher-latency-with-distributed-postgres/

View Details

In this episode of Scaling Postgres, we discuss hopes for Postgres in 2024, whether you need foreign keys, incremental backups, and five ways of doing not exists.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/297-postgres-in-2024/

View Details

In this episode of Scaling Postgres, we discuss the State of Postgres 2023 survey, a repository of Postgres how-tos, ways foreign keys can break and a custom SQL playground.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/296-state-of-postgres-2023/

View Details

In this episode of Scaling Postgres, we discuss a 30K messages per second queue built on Postgres, a zero downtime logical replication upgrade, the release of the Supavisor 1.0 connection pooler and PostGIS day.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/295-30k-messages-per-second-queue/

View Details

In this episode of Scaling Postgres, we discuss how much observability is needed, avoiding locks during database migrations, a huge Postgres events blogging event and FIPS mode.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/294-how-much-observability-is-needed/

View Details

In this episode of Scaling Postgres, we discuss how create statistics can help you get better plans, issues with subtransactions, all about extensions and best practices when indexing timestamps.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/293-better-plans-with-statistics/

View Details

In this episode of Scaling Postgres, we discuss using companion databases, multi-tenancy database design, whether SQL is good, and different transaction isolation levels.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/292-companion-databases/

View Details

In this episode of Scaling Postgres, we discuss Timescale's performance improvements from adding a query vectorization pipeline, doing blue-green deployments for databases, using reserved_connections and two improvements to null handling.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/291-2-to-4-times-faster-with-vectorization/

View Details

In this episode of Scaling Postgres, we discuss my Postgres Performance Starter Kit, new releases of Postgres, removing JIT, and a lightweight message queue.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/290-postgres-releases-equals-reindexing/

View Details

In this episode of Scaling Postgres, we discuss new options for Postgres scheduling tools, proper ways to kill processes and explain usage.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/289-postgres-scheduling-opportunities/

View Details

In this episode of Scaling Postgres, we discuss index corruption from a ICU collation change, another caveat for PgBouncer prepared statements, ways to version data, and using Postgres as a cache.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/288-index-corruption-from-icu-collation-change/

View Details

In this episode of Scaling Postgres, we discuss how the new version of pgbouncer could get you 15% to 250% faster query throughput, the availability of using kubernetes snapshots for backup and restore with CloudNativePg and Ruby on Rails Postgres improvements.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/287-15-250-percent-faster-query-throughput/

View Details

In this episode of Scaling Postgres, we discuss a new extension that promises substantially faster text search and ranking, an AI content storm, how to work with money and the fastest way to stop Postgres.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/286-20-times-faster-text-search-ranking/

View Details

In this episode of Scaling Postgres, we cover a deep dive into indexes from a presentation that includes a decision tree of sorts, how to convert to partitioned tables once you have hundreds of millions of rows and detail about the new pg_stat_io view.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/285-indexing-deep-dive/

View Details

In this episode of Scaling Postgres, we discuss whether something is 23 times faster or 1.1 times faster. We also discuss the release of Timescale Vector and whether you can build a queue on Postgres.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/284-23-or-1-times-faster-performance/

View Details

In this episode of Scaling Postgres, we discuss how to get 222 times faster analytical queries with columnar storage, a Postgres 16 feature review, the birth of a feature and fuzzy search.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/283-222-times-faster-analytical-queries-with-columnar-storage/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 16, a Postgres meme, storing files or base64 strings and sharding intelligently.

To get the show notes as well as get notified of new episodes, visit:

https://www.scalingpostgres.com/episodes/282-postgres-16-released-postgres-meme-file-vs-base64-strings-intelligent-sharding/

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/281-hnsw-indexes-vacuuming-bloat-watch-me-now-connections/

In this episode of Scaling Postgres, we discuss the benefits and disadvantages of HNSW indexes for working with vector data, configuring vacuum to reduce bloat and optimize performance, the new options available for \watch and all about connections.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/280-postgres-16-rc1-bi-directional-replication-all-about-parameters-foreign-keys-polymorphism/

In this episode of Scaling Postgres, we discuss the release of Postgres 16 RC1, implementing bi-directional replication, different ways you can set up Postgres parameters and how to handle polymorphism and foreign keys.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/279-tps-benchmark-partition-wise-join-partitioning-billions-postgres-16-features/

In this episode of Scaling Postgres, we discuss how pgbouncer can impact a TPS benchmark, partition-wise join & aggregate performance, partitioning a table with billions of rows and cool Postgres 16 features.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/278-squeeze-your-system-one-million-connections-indexing-like-pgvector-hnsw/

In this episode of Scaling Postgres, we discuss how to squeeze the most out of your database, achieving one million connections to Postgres, how to use indexes with LIKE and pgvector HNSW index performance.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/277-postgres-releases-postgresql-survey-partitioning-sharding-bulk-loading/

In this episode of Scaling Postgres, we discuss new Postgres releases, taking the 2023 State of PostgreSQL survey, partitioning vs. sharding and the fastest way to do bulk loads.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/276-brin-correlation-poor-partitioning-10-beginner-tips-table-index-usage/

In this episode of Scaling Postgres, we discuss the importance of correlation with BRIN indexes, how partitioning can kill performance, 10 tips for beginners and how to track table and index usage.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/275-no-more-vacuum-zero-downtime-cut-over-network-impact-not-in-optimization/

In this episode of Scaling Postgres, we discuss getting rid of vacuum, how to do zero-downtime cut-overs, analyzing the impact of slow networks and seeing a not in optimization.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/274-subquery-performance-avoid-update-locking-column-changes-outage-workshop/

In this episode of Scaling Postgres, we discuss subquery performance, how to avoid excessive locking when doing updates, how to change a columns datatype without excessive locking and lessons from an upgrade outage.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/273-debian-ubuntu-packages-ivfflat-indexes-in-vs-any-view-logging/

In this episode of Scaling Postgres, we discuss how Debian & Ubuntu package Postgres, how ifflat indexes work, in vs any performance and how to log view usage.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/272-postgres-16-beta-2-rise-of-vectors-fdw-performance-unused-indexes/

In this episode of Scaling Postgres, we discuss the release of Postgres 16 Beta 2, the rise of vectors and storing them, Foreign Data Wrapper performance and how to identify unused indexes.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/271-30-percent-faster-uuid-downsides-growing-wal-processes-vs-threads/

In this episode of Scaling Postgres, we discuss how to get 30% faster performance, the downsides of UUIDs, having too much WAL and whether Postgres should use processes or threads.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/270-data-skew-monitoring-remote-access-csv-documentation/

In this episode of Scaling Postgres, we discuss how to handle data skew, tools for Postgres monitoring, how to load data remotely and Postgres documentation.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/269-upgrade-struggles-hyperloglog-pgbouncer-usage-postgres-scaling/

In this episode of Scaling Postgres, we discuss Postgres upgrade struggles, how and why to use hyperloglog, using pgbouncer for session vs. transaction pooling, and methods to scale Postgres.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/268-faster-copy-psql-variables-backup_label-bad-encoding/

In this episode of Scaling Postgres, we discuss faster COPY in Postgres 16, how to use psql variables, the importance of backup_label and issues with bad character encoding.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/267-postgres-16-beta-1-rust-functions-partitioning-memory-problems-tags-arrays/

In this episode of Scaling Postgres, we discuss the release of PostgreSQL 16 Beta 1, creating Rust functions with PL/Rust, memory problems related to partitioning and prepared statements, and modeling tags with arrays.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/266-postgres-releases-postgres-distributed-privilege-template-real-time-dashboard/

In this episode of Scaling Postgres, we discuss new Postgres releases, EDB Postgres Distributed, a privilege template and real-time dashboards.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/265-pg_stat_statements-transaction-id-wraparound-consultant-knowledge-cituscon/

In this episode of Scaling Postgres, we discuss different ways to use pg_stat_statements, how to handle transaction ID wraparound, consultant knowledge and all the videos of CitusCon.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/264-worst-part-pluggable-storage-busy-system-data-architecture/

In this episode of Scaling Postgres, we discuss the worst part of Postgres, the status of pluggable storage, what makes a busy system and methods for managing different data architectures.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/263-lz4-zstd-compression-avoiding-problems-triggers-simplify-indexes-can-hurt/

In this episode of Scaling Postgres, we discuss LZ4 and ZSTD pg_dump compression, how to avoid problems, can triggers simplify and indexes can hurt.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/262-pg_failover_slots-standby-logical-decoding-trusted-language-extensions-postgres-package-manager/

In this episode of Scaling Postgres, we discuss the pg_failover_slots extension, how PG16 allows logical decoding on standbys, what are trusted language extensions and how a package manager has been built for them.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/261-easy-foreign-data-wrappers-jsonb-cheatsheet-updating-cost-limit-parallel-aggregate/

In this episode of Scaling Postgres, we discuss how to easily crate a foreign data wrapper to consume an API, present a convenient JSONB cheatsheet, changes to updating the vacuum cost limit and new parallel aggregates.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/260-plrust-row-locks-postgres-errors-sql-2023/

In this episode of Scaling Postgres, we discuss PL/Rust 1.0 release, row locks, Postgres errors and the new SQL 2023 standard.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/258-logical-replication-database-antipatterns-max_wal_size-delete-vs-truncate/

In this episode of Scaling Postgres, we discuss max_wal_size as it relates to recovery time, losing your data with collation changes, getting production ready and highlights coming in Postgres 16.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/258-logical-replication-database-antipatterns-max_wal_size-delete-vs-truncate/

In this episode of Scaling Postgres, we discuss use cases for logical replication, database anti-patterns, how to set max_wal_size and the difference between delete and truncate.

View Details

To get the show notes as well as get notified of new episodes, visit: 

https://www.scalingpostgres.com/episodes/257-adopting-pgcat-time-bins-work_mem-settings-bad-constraints/

In this episode of Scaling Postgres, we discuss Instacart adopting PgCat, binning or bucketing your data by time, the best settings for work_mem and how to avoid bad check constraints.

View Details

In this episode of Scaling Postgres, we discuss WAL growing to 11 Terabytes, pgec supporting writes, Patroni 3.0 & Citus for high availability, and setting up PostgREST.

Visit https://www.scalingpostgres.com/episodes/255-integer-overflow-user-friendly-permissions-dump-logical-replication-worker-config/ to get the show notes as well as subscribe to get notified of new episodes.

View Details

In this episode of Scaling Postgres, we discuss how to detect & handle integer overflows, a wish for user-friendly permissions, using a dump to start logical replication and configuring background workers.

Visit https://www.scalingpostgres.com/episodes/255-integer-overflow-user-friendly-permissions-dump-logical-replication-worker-config/ to get the show notes as well as subscribe to get notified of new episodes.

View Details

In this episode of Scaling Postgres, we discuss PG Edge Cache, using Postgres & OpenAI, migrating citext to case-insenstive collations and PG16 compression options.

Visit https://www.scalingpostgres.com to get the show notes as well as subscribe to get notified of new episodes.

View Details

In this episode of Scaling Postgres, we discuss working with unlogged tables, the new pg_stat_io feature, handling complex type constraints and choosing the best text type.

Visit https://www.scalingpostgres.com to get the show notes as well as subscribe to get notified of new episodes.

View Details

In this episode of Scaling Postgres, we discuss new Postgres releases, performance secrets, things not to do and filter vs. case.

Visit https://www.scalingpostgres.com to get the show notes as well as subscribe to get notified of new episodes.

View Details

In this episode of Scaling Postgres, we discuss how to use the filter clause, create hypothetical indexes, store non-relational data and manage TOAST.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.crunchydata.com/blog/using-postgres-filter
  • https://www.crunchydata.com/blog/will-postgres-use-my-index-hypothetical-indexing-with-postgres
  • https://blog.rustprooflabs.com/2023/02/postgres-relational-plus
  • https://hdombrovskaya.wordpress.com/2023/02/03/pgsql-phriday-005-relational-and-non-relational-data/
  • https://www.pgmustard.com/blog/storing-blobs-in-postgres
  • https://andreas.scherbaum.la/blog/archives/1132-Relational-and-Non-relational-Data-PGSQL-Phriday-005.html
  • https://www.percona.com/blog/unlocking-the-secrets-of-toast-how-to-optimize-large-column-storage-in-postgresql-for-top-performance-and-scalability/
  • http://peter.eisentraut.org/blog/2023/01/30/postgresql-supply-chain
  • https://www.red-gate.com/simple-talk/databases/postgresql/postgresql-constraints-learning-postgresql-with-grant/
  • https://www.crunchydata.com/blog/intro-to-postgres-custom-data-types
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-15
  • https://pganalyze.com/blog/5mins-postgres-tracing-locks-eBPF-pg-lock-tracer
  • https://www.percona.com/blog/argument-for-logical-failover-slots/
  • https://www.percona.com/blog/postgresql-database-security-external-server-based-authentication/
  • https://www.postgresql.fastware.com/blog/postgresql-15-and-beyond
  • https://www.cybertec-postgresql.com/en/transaction-id-wraparound-a-walk-on-the-wild-side/
  • https://www.crunchydata.com/blog/stateful-postgres-storage-using-kubernetes
  • https://www.migops.com/blog/null-and-empty-string-in-oracle-vs-postgresql-vs-sql-server/
  • http://blog.cleverelephant.ca/2023/02/proj-network.html
  • https://postgres.fm/episodes/default-configuration
  • https://postgresql.life/post/luca_ferrari/
  • https://www.rubberduckdevshow.com/episodes/72-dragonruby-game-development-with-amir-rajan/

View Details

In this episode of Scaling Postgres, we discuss resolving a performance issue, how PG16 allows you to survive without a superuser, reserving connections and handling partition management.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://medium.com/engineering-at-birdie/puzzling-postgres-a-story-of-solving-an-unreproducible-performance-issue-778075ed7998
  • http://rhaas.blogspot.com/2023/01/surviving-without-superuser-coming-to.html
  • https://www.red-gate.com/simple-talk/databases/postgresql/postgresql-basics-roles-and-privileges/
  • https://www.dbi-services.com/blog/postgresql-16-reserved_connections/
  • https://pganalyze.com/blog/5mins-postgres-16-superuser-reserved-connections
  • https://www.timescale.com/blog/how-timescaledb-solves-common-postgresql-problems-in-database-operations-with-data-retention-management/
  • https://www.percona.com/blog/wal-compression-in-postgresql-and-recent-improvements-in-version-15/
  • https://www.cybertec-postgresql.com/en/unique-constraint-null-conflicts-with-everything/
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-14
  • https://www.pgsqlphriday.com/2023/01/pgsql-phriday-005/
  • https://blog.rustprooflabs.com/2023/01/pgsqlphriday-005--postgres-relational-and-otherwise
  • https://www.youtube.com/playlist?list=PLiT-kUSX8USXMSdIeV9QZTrem57h_Ksut#pgconfnyc2022
  • https://www.youtube.com/watch?v=rihfAnd_leM
  • https://www.migops.com/blog/migration-of-synonyms-from-oracle-to-postgresql/
  • https://www.migops.com/blog/online-rebuild-of-indexes-oracle-vs-postgresql/
  • https://fluca1978.github.io/2023/01/23/PostgreSQLColors.html
  • https://postgres.fm/episodes/infra-cost-optimization
  • https://postgresql.life/post/jim_chanco_jr/
  • https://www.rubberduckdevshow.com/episodes/71-short-ruby-news-with-lucian-ghinda/

View Details

In this episode of Scaling Postgres, we discuss issues with locking tables, foreign keys and slow decimals. We also cover when joins use memoize.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links:

  • https://thebuild.com/blog/2023/01/16/ok-sometimes-you-can-lock-tables/
  • https://thebuild.com/blog/2023/01/18/a-foreign-key-pathology-to-avoid/
  • https://thebuild.com/blog/2023/01/15/how-slow-is-decimal-anyway/
  • https://pganalyze.com/blog/5mins-postgres-memoize-speed-up-joins
  • https://www.cybertec-postgresql.com/en/usql-universal-psql/
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-13
  • https://gavinray97.github.io/blog/postgres-wire-protocol-jdk-21
  • https://www.citusdata.com/blog/2023/01/18/debugging-postgres-ci-failures-faster-4-tips/
  • https://postgres.fm/episodes/auditing
  • https://postgresql.life/post/miroslav_sedivy/
  • https://www.rubberduckdevshow.com/episodes/70-teaching-young-developers-with-melissa-amaya/

View Details

In this episode of Scaling Postgres, we discuss different pagination solutions, how to return modifications, soft deletion alternatives and how to use JSON with PostgreSQL.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/pagination-problem-total-result-count/
  • https://sqlfordevs.com/returning-modified-rows
  • https://brandur.org/fragments/deleted-record-insert
  • https://dev.to/ftisiot/how-to-json-in-postgresqlr-1lj7
  • https://momjian.us/main/writings/pgsql/beyond.pdf
  • http://peter.eisentraut.org/blog/2023/01/11/postgresql-largest-commits
  • https://supabase.com/blog/postgres-foreign-data-wrappers-rust
  • https://medium.com/@walttonm/using-the-window-function-row-number-to-remove-duplicates-in-postgresql-5aef1edfb78c
  • https://pgdash.io/blog/horizontally-scaling-postgresql.html
  • https://www.percona.com/blog/upgrading-postgresql-extensions/
  • https://www.timescale.com/blog/a-postgresql-developers-perspective-six-interesting-patches-from-novembers-commitfest/
  • https://pganalyze.com/blog/5mins-postgres-16-pgbench-random-normal
  • https://www.depesz.com/2023/01/11/waiting-for-postgresql-16-invent-random_normal-to-provide-normally-distributed-random-numbers/
  • https://www.orioledata.com/blog/buffer-management/
  • https://github.com/orioledb/orioledb
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-11
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-12
  • https://www.crunchydata.com/blog/timezone-transformation-using-location-data-and-postgis
  • https://www.migops.com/blog/avoiding-constraint-violations-while-migrating-oracle-to-postgresql-date-data-type/
  • https://databaserookies.wordpress.com/2023/01/09/substr-functionality-differences-between-oracle-and-postgresql-what-you-need-to-know/
  • https://databaserookies.wordpress.com/2023/01/08/unleasing-boolean-data-type-casting-in-postgresql/
  • https://postgres.fm/episodes/copying-a-database
  • https://postgresql.life/post/francesco_tisiot/
  • https://www.rubberduckdevshow.com/episodes/69-adventures-in-note-taking/

View Details

In this episode of Scaling Postgres, we discuss how to generate test data, how WAL archiving is faster in PG15, how to set date statistics on a timestamp and how to avoid useless indexes.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://kmoppel.github.io/2022-12-23-generating-lots-of-test-data-with-postgres-fast-and-faster/
  • https://www.percona.com/blog/speed-up-of-the-wal-archiving-in-postgresql-15/
  • https://www.cybertec-postgresql.com/en/improving-group-by-with-create-statistics/
  • https://mydbanotebook.org/post/too-many-indexes/
  • https://www.cybertec-postgresql.com/en/json-logs-in-postgresql-15/
  • http://peter.eisentraut.org/blog/2022/12/27/postgresql-hidden-gems
  • https://www.softwareandbooz.com/advent-of-code-2022-days-6-10-with-postgresql/
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-6
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-7
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-8
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-9
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-10
  • https://hdombrovskaya.wordpress.com/2022/12/29/pgsql-phriday-004-postgresql-and-software-development/
  • https://andreas.scherbaum.la/blog/archives/1127-PGSQL-Phriday-004-PostgreSQL-and-Software-Development.html
  • https://www.softwareandbooz.com/database-devops-and-code-management-with-postgresql/
  • https://gorthx.wordpress.com/2023/01/06/pgsql-phriday-004-sequence-survey/
  • https://blog.rustprooflabs.com/2023/01/postgres-software-development
  • https://www.cybertec-postgresql.com/en/union-all-data-types-performance/
  • https://pganalyze.com/blog/5mins-postgres-UNION-subquery-pull-up-performance
  • https://www.percona.com/blog/transparent-data-encryption-tde/
  • https://github.com/michelp/pgsodium
  • https://www.percona.com/blog/diffing-postgresql-schema-changes/
  • https://www.percona.com/blog/postgresql-vacuuming-to-optimize-database-performance-and-reclaim-space/
  • https://www.migops.com/blog/oracle-vs-sql-server-vs-postgresql-date-date-type/
  • https://postgrespro.com/blog/pgsql/5969929
  • https://postgres.fm/episodes/row-estimates
  • https://postgres.fm/episodes/postgres-year-in-review-2022
  • https://postgres.fm/episodes/transaction-id-wraparound
  • https://postgresql.life/post/lukas_eder/

View Details

In this episode of Scaling Postgres, we discuss columnar table storage, solving Advent of Code using Postgres, new features coming in Postgres 16 and when Postgres development happens.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.percona.com/blog/powering-postgresql-15-with-columnar-tables/
  • https://github.com/citusdata/citus/blob/main/src/backend/columnar/README.md
  • https://www.softwareandbooz.com/advent-of-code-2022-with-postgresql-part1/
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-1
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-2
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-3
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-4
  • https://www.crunchydata.com/blog/solving-advent-of-code-2022-using-postgres-day-5
  • https://www.depesz.com/2022/12/14/waiting-for-postgresql-16-add-grantable-maintain-privilege-and-pg_maintain-role/
  • https://www.depesz.com/2022/12/14/waiting-for-postgresql-16-non-decimal-integer-literals/
  • https://www.depesz.com/2022/12/12/waiting-for-postgresql-16-add-test-scaffolding-for-soft-error-reporting-from-input-functions/
  • https://www.cybertec-postgresql.com/en/pg_dump-compression-specifications-postgresql-16/
  • http://peter.eisentraut.org/blog/2022/12/13/postgresql-commit-times
  • https://pganalyze.com/blog/5mins-postgres-benchmarking-indexes
  • https://www.amazingcto.com/postgres-for-everything/
  • https://supabase.com/blog/new-in-postgres-15
  • https://www.highgo.ca/2022/12/16/global-unique-index-attach-support-and-its-potential-deficiency/
  • https://www.cybertec-postgresql.com/en/oracle-to-postgresql-migration-cost-assessment/
  • https://postgresql.life/post/tushar_ahuja/

View Details

In this episode of Scaling Postgres, we discuss ENUMs vs. check constraints, querying table facets with roaring bitmaps, a better way to handle scaling and whether you should store your business logic in Postgres.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.crunchydata.com/blog/enums-vs-check-constraints-in-postgres
  • https://www.cybertec-postgresql.com/en/faceting-large-result-sets/
  • https://github.com/cybertec-postgresql/pgfaceting
  • https://pganalyze.com/blog/5mins-postgres-roaring-bitmaps-pgfaceting-query-performance
  • https://thenewstack.io/iso-better-scaling-instacart-drops-postgres-for-amazon-dynamodb/
  • https://www.rubberduckdevshow.com/episodes/68-should-you-store-business-logic-in-your-database/
  • https://www.ongres.com/blog/debugging-postgres-wal-events-with-pg_walinspect/
  • https://kmoppel.github.io/2022-12-09-the-bountiful-world-of-postgres-indexing-options/
  • https://andreas.scherbaum.la/blog/archives/1125-PGSQL-Phriday-003-What-is-the-PostgreSQL-Community-to-me.html
  • https://www.crunchydata.com/blog/state-of-json-in-postgres-2022
  • https://postgres.fm/episodes/timestamps
  • https://postgresql.life/post/ales_zeleny/

View Details

In this episode of Scaling Postgres, we discuss merging indexes vs. a composite index, implementing transparent column encryption, developing trusted language extensions, and reviewing the WAL archive module.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://sirupsen.com/index-merges
  • https://supabase.com/blog/transparent-column-encryption-with-postgres
  • https://aws.amazon.com/blogs/aws/new-trusted-language-extensions-for-postgresql-on-amazon-aurora-and-amazon-rds/
  • https://pganalyze.com/blog/5mins-postgres-pg-tle-custom-extensions-aws-rds-aurora-trusted-languages-hooks
  • https://github.com/aws/pg_tle
  • https://www.percona.com/blog/new-wal-archive-module-library-in-postgresql-15/
  • https://sqlasylum.wordpress.com/2022/11/29/pgsql-phriday-003-what-is-the-community-to-you/
  • https://www.softwareandbooz.com/postgresql-community-passionate-knowledgeable-and-thoughtful/
  • https://www.scarydba.com/2022/12/02/pgsql-phriday-3-what-is-the-postgresql-community-to-you/
  • https://blog.rustprooflabs.com/2022/12/pgsql-phriday-003
  • https://postgrespro.com/blog/pgsql/5969884
  • https://www.cybertec-postgresql.com/en/which-partition-did-i-insert/
  • https://www.crunchydata.com/blog/postgres-strings-to-arrays-and-back-again
  • https://ente.io/blog/tech/postgres-queue/
  • https://www.cybertec-postgresql.com/en/grant-vacuum-analyze-postgresql-16/
  • https://www.crunchydata.com/blog/postgis-day-2022
  • https://postgres.fm/episodes/postgrest
  • https://postgresql.life/post/oleksandr_shulgin/
  • https://www.rubberduckdevshow.com/episodes/67-what-happens-after-rubycritic-with-ernesto-tagwerker/

View Details

In this episode of Scaling Postgres, we discuss how PG15 helps reduce replication lag, how to get the parameters used in prepared statements, PostGIS Day and how to use multiple pgbouncers.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://pganalyze.com/blog/5mins-postgres-performance-in-lists-vs-any-operator-bind-parameters
  • https://sqlfordevs.com/ghost-conditions-for-unindexed-columns
  • https://www.crunchydata.com/blog/percentage-calculations-using-postgres-window-functions
  • https://www.postgresonline.com/journal/index.php?/archives/406-VARIADIC-Unnest.html
  • https://supabase.com/blog/sql-or-nosql-both-with-postgresql
  • https://www.cybertec-postgresql.com/en/error-permission-denied-schema-public/
  • https://www.highgo.ca/2022/11/25/global-index-benchmark-with-pgbench/
  • https://fluca1978.github.io/2022/11/24/PostgreSQLDataSyncRetry.html
  • https://postgres.fm/episodes/materialized-views
  • https://postgresql.life/post/tobias_bussmann/

View Details

In this episode of Scaling Postgres, we discuss how PG15 helps reduce replication lag, how to get the parameters used in prepared statements, PostGIS Day and how to use multiple pgbouncers.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://pganalyze.com/blog/5mins-postgres-15-maintenance-io-concurrency-reduce-replication-lag
  • https://www.cybertec-postgresql.com/en/explain-that-parameterized-statement/
  • https://blog.rustprooflabs.com/2022/11/route-the-interesting-things-postgis-day2022
  • https://www.crunchydata.com/blog/postgres-at-scale-running-multiple-pgbouncers
  • https://www.crunchydata.com/blog/postgres-query-boost-using-any-instead-of-in
  • https://fluca1978.github.io/2022/11/16/psqlEmacsClient.html
  • https://people.planetpostgresql.org/devrim/index.php?/archives/121-Improved-aarch64-arm64-support-is-available-in-the-PostgreSQL-RPM-repository..html
  • https://postgrespro.com/blog/pgsql/5969859
  • https://www.crunchydata.com/blog/multi-cloud-strategies-with-crunchy-postgres-for-kubernetes
  • https://pgsqlpgpool.blogspot.com/2022/11/dynamic-spare-process-management-in.html
  • https://www.enterprisedb.com/blog/how-use-external-database-pgadmin-user-settings
  • https://postgres.fm/episodes/hot-updates
  • https://postgresql.life/post/onder_kalaci/
  • https://www.rubberduckdevshow.com/episodes/66-top-down-or-bottom-up-testing/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 15.1, a Postgres 10 retrospective, how to reduce replication lag and using listen & notify.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-151-146-139-1213-1118-and-1023-released-2543/
  • https://jkatz05.com/post/postgres/postgres-10-tribute/
  • https://kmoppel.github.io/2022-11-09-postgres-v15-a-billion-transactions-later/
  • https://www.citusdata.com/blog/2022/11/10/reducing-replication-lag-with-io-concurrency-in-pg15/
  • https://www.enterprisedb.com/blog/listening-postgres-how-listen-and-notify-syntax-promote-high-availability-application-layer
  • http://amitkapila16.blogspot.com/2022/11/logical-replication-improvements-in.html
  • https://pganalyze.com/blog/5mins-postgres-15-logical-replication-replica-identity
  • https://www.postgresql.fastware.com/blog/performance-impact-of-row-filters-and-column-lists-in-logical-replication
  • https://www.timescale.com/blog/read-before-you-upgrade-best-practices-for-choosing-your-postgresql-version/
  • https://www.cybertec-postgresql.com/en/rewrite-or-to-union-in-postgresql-queries/
  • https://dev.to/ftisiot/using-postgresqlr-json-functions-to-navigate-reviews-of-restaurants-in-india-39ld
  • https://www.percona.com/blog/securing-patroni-rest-api-end-points-part-2-using-ssl-certificates/
  • https://postgres.fm/episodes/database-branching
  • https://postgresql.life/post/wilfried_roset/
  • https://www.rubberduckdevshow.com/episodes/65-callbacks-good-or-evil/

View Details

In this episode of Scaling Postgres, we discuss how sequential scans can be forced, the best way to rename a table without downtime, different Postgres terminology and the PGSQL Phriday blogging event.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html
  • https://pganalyze.com/blog/5mins-postgres-large-integers-causing-sequential-scan-instead-of-using-index
  • https://brandur.org/fragments/postgres-table-rename
  • https://www.crunchydata.com/blog/challenging-postgres-terminology
  • https://andreas.scherbaum.la/blog/archives/1122-PGSQL-Phriday-002-PostgreSQL-Backup-and-Restore.html
  • https://blog.rustprooflabs.com/2022/11/pgsql-phriday-002
  • https://mydbanotebook.org/post/how-to-do-proper-backups/
  • https://www.scarydba.com/2022/11/04/validating-backups-pgsql-phriday-002/
  • https://www.softwareandbooz.com/adventures-in-postgresql-backups/
  • http://rhaas.blogspot.com/2022/11/pgbasebackup-could-not-set-compression.html
  • https://www.cybertec-postgresql.com/en/btree-vs-brin-2-options-for-indexing-in-postgresql-data-warehouses/
  • https://www.crunchydata.com/blog/postgres-indexing-when-does-brin-win
  • https://www.enterprisedb.com/blog/new-public-schema-permissions-postgresql-15
  • https://www.percona.com/blog/postgresql-are-all-nulls-the-same/
  • https://www.percona.com/blog/securing-patroni-rest-api-end-points-part-1/
  • https://www.crunchydata.com/blog/data-loading-in-postgres-for-newbies
  • https://postgres.fm/episodes/version-control-for-databases
  • https://postgresql.life/post/adrien_nayrat/
  • https://www.rubberduckdevshow.com/episodes/64-where-to-put-your-business-logic-with-jason-charnes/

View Details

In this episode of Scaling Postgres, we discuss how to set shared buffers, the different WAL compression algorithm options, how to use the merge command and how to contribute to Postgres.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.enterprisedb.com/blog/harnessing-shared-buffers-part-2
  • https://pganalyze.com/blog/5mins-postgres-tuning-shared-buffers-pgbench-TPROC-C-TPROC-H
  • https://www.enterprisedb.com/blog/you-can-now-pick-your-favorite-compression-algorithm-your-wals
  • https://www.enterprisedb.com/blog/merge-command
  • https://postgres.fm/episodes/contributing-to-postgres
  • https://supabase.com/blog/postgresql-commitfest
  • http://peter.eisentraut.org/blog/2022/10/25/postgresql-15-statistics
  • https://www.highgo.ca/2022/10/28/cross-partition-uniqueness-guarantee-with-global-unique-index/
  • https://www.crunchydata.com/blog/postgres-databases-and-schemas
  • https://www.crunchydata.com/blog/easier-upgrades-and-image-management-for-postgres-in-kubernetes
  • https://postgresml.org/blog/postgresml-is-8x-faster-than-python-http-microservices/
  • https://www.crunchydata.com/blog/moving-objects-and-geofencing-with-postgres-postgis
  • https://blog.rustprooflabs.com/2022/10/pgrouting-lines-through-polygons
  • https://www.cybertec-postgresql.com/en/postgis-upgrade-geos-with-ubuntu-in-3-steps/
  • https://www.citusdata.com/blog/2022/10/21/postgres15-available-in-azure-cosmos-db-for-postgresql/
  • https://devblogs.microsoft.com/cosmosdb/distributed-postgresql-comes-to-azure-cosmos-db/
  • https://azure.microsoft.com/en-us/products/cosmos-db/#overview
  • https://postgresql.life/post/etienne_bersac/
  • https://www.rubberduckdevshow.com/episodes/63-halloween-party-with-coding-horror-stories/

View Details

In this episode of Scaling Postgres, we discuss why and what to do when updates are slow, use cases for lateral joins, moving from serial to identity for auto-incrementing ids and changes to Postgres 15.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/why-are-my-postgresql-updates-getting-slower/
  • https://pganalyze.com/blog/5mins-postgres-debug-UPDATE-bloated-tables-auto-explain-pageinspect
  • https://sqlfordevs.com/for-each-loop-lateral-join
  • https://adamj.eu/tech/2022/10/21/migrate-postgresql-ids-serial-identity-django-4.1/
  • https://blog.rustprooflabs.com/2022/10/postgres-15-config-changes
  • https://pgconfig.rustprooflabs.com/param/change/14/15
  • https://www.enterprisedb.com/blog/exclusive-backup-mode-finally-removed-postgres-15
  • https://fluca1978.github.io/2022/10/21/PostgreSQL15JsonLogs.html
  • https://www.enterprisedb.com/blog/postgres-15-adds-copy-header-and-matching
  • https://www.endpointdev.com/blog/2022/10/upgrading-postgresql-14-to-15-on-fedora-centos-rocky-alma-linux/
  • https://www.bostongis.com/blog/index.php?/archives/278-Using-pg_upgrade-to-upgrade-PostgreSQL-9.6-PostGIS-2.4-to-PostgreSQL-15-3.3-on-Yum.html
  • https://www.softwareandbooz.com/postgresql-at-the-pass-data-community-summit-2022/
  • https://postgres.fm/episodes/stored-procedures
  • https://postgresql.life/post/cedric_duprez/
  • https://www.rubberduckdevshow.com/episodes/62-staying-off-the-rails-with-joel-drapper/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 15, the performance of different file systems with Postgres, options for connection pooling and how to secure your connections.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-15-released-2526/
  • https://www.crunchydata.com/blog/be-ready-public-schema-changes-in-postgres-15
  • https://www.crunchydata.com/blog/a-look-at-postgres-15-merge-command-with-examples
  • https://www.enterprisedb.com/blog/postgres-vs-file-systems-performance-comparison
  • https://www.cybertec-postgresql.com/en/pgbouncer-types-of-postgresql-connection-pooling/
  • https://tailscale.com/blog/introducing-pgproxy/
  • https://www.timescale.com/blog/vpc-peering-from-zero-to-hero/
  • https://www.softwareandbooz.com/pgsql-phriday-001-wrap-up-and-review/
  • https://knock.app/blog/postgres-index-findings
  • https://pganalyze.com/blog/5mins-postgres-15-managing-indexes
  • https://www.percona.com/blog/dont-forget-to-tune-stats-collector-for-postgresql-14-and-older/
  • http://peter.eisentraut.org/blog/2022/10/11/postgresql-system-catalog-schema-diagrams
  • https://brandur.org/fragments/postgres-partitioning-2022
  • https://www.highgo.ca/2022/10/14/global-index-a-different-approach/
  • https://thenewstack.io/5-years-of-postgres-on-kubernetes/
  • https://www.percona.com/blog/run-postgresql-in-kubernetes-solutions-pros-and-cons/
  • https://supabase.com/blog/postgres-full-text-search-vs-the-rest
  • https://www.enterprisedb.com/blog/how-set-streaming-replication-keep-your-postgresql-database-performant-and-date
  • https://postgres.fm/episodes/postgresql-15
  • https://postgresql.life/post/christoph_berg/
  • https://www.rubberduckdevshow.com/episodes/61-live-streaming-tools-toys-with-aaron-francis/

View Details

In this episode of Scaling Postgres, we discuss the Postgres 15 RC2, optimizing shared buffers, how to secure your database connections and blog posts from PGSQL Phriday.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-15-rc-2-released-2521/
  • https://www.enterprisedb.com/blog/harnessing-shared-buffers-and-reaping-performance-benefits-part-1
  • https://innerjoin.bit.io/the-majority-of-postgresql-servers-on-the-internet-are-insecure-f1e5ea4b3da3
  • https://www.softwareandbooz.com/pgsql-phriday-001-invite/
  • https://andreas.scherbaum.la/blog/archives/1121-PGSQL-Phriday-001-Two-truths-and-a-lie.html
  • https://mydbanotebook.org/post/2-it-depends-and-1-must/
  • https://andyatkinson.com/blog/2022/10/07/pgsqlphriday-2-truths-lie
  • https://www.scarydba.com/2022/10/07/pgsql-phriday-001-two-truths-and-a-lie/
  • https://sqlasylum.wordpress.com/2022/10/07/pgsqlphriday-001-truth-and-lies/
  • https://hakibenita.com/future-proof-sql
  • https://www.cybertec-postgresql.com/en/vacuum-does-not-shrink-my-postgresql-table/
  • https://j-carson.github.io/2022/10/02/brin/
  • https://pganalyze.com/blog/5mins-postgres-BRIN-index
  • https://www.percona.com/blog/postgresql-15-new-features-to-be-excited-about/
  • https://supabase.com/blog/postgres-wasm
  • http://blog.cleverelephant.ca/2022/10/postgresql-links.html
  • https://postgrespro.com/blog/pgsql/5969770
  • https://www.citusdata.com/blog/2022/09/30/how-to-add-more-environments-to-postgres-ci/
  • https://proopensource.it/blog/learning-postgresql
  • https://postgres.fm/episodes/102-query-optimization
  • https://postgresql.life/post/joseph_sciarrino/
  • https://www.rubberduckdevshow.com/episodes/60-beginners-journey-with-codewithjulie/

View Details

In this episode of Scaling Postgres, we discuss the release of the Postgres 15 Release Candidate 1, new ICU collations features, how to use listen & notify and understanding TOAST.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-15-rc-1-released-2516/
  • http://peter.eisentraut.org/blog/2022/09/26/icu-features-in-postgresql-15
  • https://pganalyze.com/blog/5mins-postgres-15-logical-replication-filters-database-wide-icu-collations
  • https://www.cybertec-postgresql.com/en/listen-notify-automatic-client-notification-in-postgresql/
  • https://www.crunchydata.com/blog/real-time-database-events-with-pg_eventserv
  • https://www.dbi-services.com/blog/toasting-strategies-in-postgresql/
  • https://www.dbi-services.com/blog/toasting-in-postgresql-toast-tables/
  • https://www.dbi-services.com/blog/toasting-in-postgresql-lets-see-it-in-action/
  • https://blog.rustprooflabs.com/2022/10/announce-mastering-postgis-openstreemap
  • https://dev.to/yugabyte/all-about-pgstatstatements-27jn
  • https://mydbanotebook.org/post/preferred-types/
  • https://innerjoin.bit.io/introducing-pgsqlite-a-pure-python-module-to-import-sqlite-databases-into-postgres-bf3940cfa19f
  • https://pgloader.io/
  • https://postgres.fm/episodes/why-is-postgres-popular
  • https://postgresql.life/post/nicolas_thauvin/

View Details

In this episode of Scaling Postgres, we discuss using rust for Postgres extensions, performance comparisons of TimescaleDB vs. Postgres, uninterrupted writes when sharding in Citus and the Postgres data flow.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://postgresml.org/blog/postgresml-is-moving-to-rust-for-our-2.0-release/
  • https://www.timescale.com/blog/postgresql-timescaledb-1000x-faster-queries-90-data-compression-and-much-more/
  • https://www.citusdata.com/blog/2022/09/19/citus-11-1-shards-postgres-tables-without-interruption/
  • https://www.crunchydata.com/blog/postgres-data-flow
  • https://www.cybertec-postgresql.com/en/postgresql-sequences-vs-invoice-numbers/
  • https://postgrespro.com/blog/pgsql/5969741
  • https://www.crunchydata.com/blog/fun-with-postgres-functions
  • https://www.depesz.com/2022/09/18/what-is-lateral-what-is-it-for-and-how-can-one-use-it/
  • https://www.postgresql.fastware.com/blog/column-lists-in-logical-replication-publications
  • https://blog.dalibo.com/2022/09/19/psycopg-pipeline-mode.html
  • https://pganalyze.com/blog/5mins-postgres-python-psycopg-3-1-pipeline-mode-query-performance
  • https://ideia.me/using-the-timescale-gem-with-ruby
  • https://b-peng.blogspot.com/2022/09/configuring-vip-route-table.html
  • https://postgres.fm/episodes/index-maintenance
  • https://postgresql.life/post/peter_smith/
  • https://www.rubberduckdevshow.com/episodes/59-rails-postgres-scaling-with-andrew-atkinson/

View Details

In this episode of Scaling Postgres, we discuss little known useful features, a monthly community blogging initiative, PG 15 Anticipation, and getting generic plans.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://it.badykov.com/blog/2022/09/12/simple-and-usefull-postgresql-features/
  • https://www.softwareandbooz.com/introducing-psql-phriday/
  • https://www.youtube.com/watch?v=b-C3TjmzEmU
  • https://dev.to/yugabyte/explain-from-pgstatstatements-normalized-queries-how-to-always-get-the-generic-plan-in--5cfi
  • https://pganalyze.com/blog/5mins-postgres-explain-pg-stat-statements-plan-cache-mode-normalized-query
  • https://www.cybertec-postgresql.com/en/what-is-an-inner-join-in-sql-and-what-is-an-outer-join/
  • https://proopensource.it/blog/json-versus-jsonb
  • https://www.percona.com/blog/working-with-snapshots-in-postgresql/
  • https://www.crunchydata.com/blog/postgres-pgcrypto
  • https://www.citusdata.com/blog/2022/09/12/distributed-postgres-goes-full-open-source-with-citus/
  • https://b-peng.blogspot.com/2022/09/configuring-vip-in-cloud.html
  • https://postgres.fm/episodes/macro-query-analysis-intro
  • https://postgresql.life/post/karen_jex/
  • https://www.rubberduckdevshow.com/episodes/58-engineering-vs-product-managers-with-brittany-martin-josh-gaastra/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 15 Beta 4, different primary key options, sequence limits and how to examine your Postgres configuration.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-15-beta-4-released-2507/
  • https://supabase.com/blog/choosing-a-postgres-primary-key#the-post-uuidv1v4-era-a-cambrian-explosion-of-identifiers
  • https://blog.devgenius.io/analyzing-new-unique-identifier-formats-uuidv6-uuidv7-and-uuidv8-d6cc5cd7391a
  • https://www.2ndquadrant.com/en/blog/sequential-uuid-generators/
  • https://www.cybertec-postgresql.com/en/error-nextval-reached-maximum-value-of-sequence/
  • https://proopensource.it/blog/postgresql-configuration
  • https://aws.amazon.com/blogs/database/parallel-vacuuming-in-amazon-rds-for-postgresql-and-amazon-aurora-postgresql/
  • https://pganalyze.com/blog/5mins-postgres-parallel-vacuum-sql-json-postgres-16
  • https://blog.jooq.org/how-to-plot-an-ascii-bar-chart-with-sql/
  • https://postgres.fm/episodes/wal-and-checkpoint-tuning
  • https://www.codewithjason.com/podcast/11223850-160-postgresql-with-andrew-atkinson/
  • https://postgresql.life/post/jeevan_ladhe/

View Details

In this episode of Scaling Postgres, we discuss the PG15 changes to public schema permissions, experiences with kubernetes for Postgres management, using dump manifests for restores and a fork of PgBouncer.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://andreas.scherbaum.la/blog/archives/1120-Changes-to-the-public-schema-in-PostgreSQL-15-and-how-to-handle-upgrades.html
  • https://proopensource.it/blog/postgresql-on-k8s-experiences
  • https://pganalyze.com/blog/5mins-postgres-kubernetes-operator-handling-major-version-upgrades
  • https://www.percona.com/blog/working-with-postgresql-dump-manifests/
  • https://blog.cloudflare.com/open-sourcing-our-fork-of-pgbouncer/
  • https://www.postgresql.fastware.com/blog/how-postgresql-15-improved-communication-in-logical-replication
  • https://www.depesz.com/2022/09/02/sql-json-is-postponed/
  • https://www.cybertec-postgresql.com/en/postgresql-alter-table-add-column-done-right/
  • https://www.crunchydata.com/blog/postgres-migration-pitstop-collations
  • https://www.timescale.com/blog/timescale-cloud-tips/
  • https://sqlfordevs.com/statistical-results-fill-gaps
  • https://www.depesz.com/2022/08/31/new-sql-pretty-printer-based-on-parsing-and-not-regexps/
  • https://postgres.fm/episodes/intro-to-query-optimization
  • https://postgresql.life/post/douglas_hunley/
  • https://www.rubberduckdevshow.com/episodes/57-going-off-the-rails-with-drew-bragg/

View Details

In this episode of Scaling Postgres, we discuss how the stats collector disappears in PG15, steps to mitigate high latency connections, how to run Postgres in the browser and the future of high availability.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.percona.com/blog/postgresql-15-stats-collector-gone-whats-new/
  • https://pganalyze.com/blog/5mins-postgres-improve-query-network-latency-performance-pipeline-mode-copy-tc
  • https://www.crunchydata.com/blog/crazy-idea-to-postgres-in-the-web-browser
  • https://www.enterprisedb.com/blog/pg-phriday-defining-high-availability-postgres-world
  • https://www.enterprisedb.com/blog/ansible-benchmark-framework-postgresql
  • https://www.timescale.com/blog/what-does-a-postgresql-commitfest-manager-do-and-should-you-become-one/
  • https://postgis.net/2022/08/25/tip-upgrading-postgis-sfcgal/
  • https://www.cybertec-postgresql.com/en/migrate-scheduled-jobs-to-pg_timetable-from-pgagent/
  • https://postgres.fm/episodes/how-to-become-a-dba
  • https://postgresql.life/post/antonin_houska/
  • https://www.rubberduckdevshow.com/episodes/56-live-streaming-laravel-with-aaron-francis/

View Details

In this episode of Scaling Postgres, we discuss a new Postgres playground, a book about PG14 internals, how to corrupt your database and using anti-joins.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.crunchydata.com/blog/learn-postgres-at-the-playground
  • https://www.crunchydata.com/developers/tutorials
  • https://www.youtube.com/watch?v=Ryj5c8zLF50
  • https://postgrespro.com/blog/pgsql/5969682
  • https://www.cybertec-postgresql.com/en/how-to-corrupt-your-postgresql-database/
  • https://www.crunchydata.com/blog/rise-of-the-anti-join
  • https://www.enterprisedb.com/blog/aws-rds-postgresql-deployment-pgadmin-4
  • https://www.enterprisedb.com/blog/leverage-new-way-import-existing-postgres-database-kubernetes
  • https://postgrespro.com/blog/pgsql/5969676
  • https://www.cybertec-postgresql.com/en/aliases-for-sub-selects-in-from-clause/
  • https://postgres.fm/episodes/monitoring-checklist
  • https://pganalyze.com/blog/5mins-postgres-security-patch-releases-pgspot-pghostile
  • https://postgresql.life/post/hou_zhijie/
  • https://www.rubberduckdevshow.com/episodes/55-code-quality-with-ernesto-tagwerker/

View Details

In this episode of Scaling Postgres, we discuss new Postgres releases, a new privilege escalation CVE, chaos testing a high availability kubernetes cluster as well as addressing other H/A questions.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/
  • https://www.enterprisedb.com/blog/postgresql-extensions-impacted-cve-2022-2625-privilege-escalation
  • https://coroot.com/blog/chaos-testing-zalando-postgres-operator
  • https://www.timescale.com/blog/how-high-availability-works-in-our-cloud-database/
  • https://www.enterprisedb.com/blog/pg-phriday-dos-and-donts-postgres-high-availability-qa
  • https://pganalyze.com/blog/5mins-postgres-linux-readahead-effective-io-concurrency
  • https://smallthingssql.com/having-a-less-understood-sql-clause
  • https://postgrespro.com/blog/pgsql/5969673
  • https://postgres.fm/episodes/vacuum
  • https://postgresql.life/post/adam_wright/
  • https://www.rubberduckdevshow.com/episodes/54-open-source-experiences-pay-gem-with-chris-oliver/

View Details

In this episode of Scaling Postgres, we discuss PG14's new SQL function In this episode of Scaling Postgres, we discuss research into a performance puzzle, results from a Postgres and pgAdmin survey as well as the impacts of long running queries on Aurora and Postgres.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://ardentperf.com/2022/07/31/researching-the-performance-puzzle/
  • https://www.timescale.com/state-of-postgres/2022
  • https://www.enterprisedb.com/blog/pgadmin-user-survey-2022
  • https://aws.amazon.com/blogs/database/manage-long-running-read-queries-on-amazon-aurora-postgresql-compatible-edition/
  • https://pganalyze.com/blog/5mins-postgres-lock-conflicts-amazon-aurora-max-standby-streaming-delay-hot-standby-feedback
  • https://www.highgo.ca/2022/08/05/how-to-set-up-nfs-and-run-pg-on-it/
  • https://postgresql.life/post/beena_emerson/
  • https://www.rubberduckdevshow.com/episodes/53-discussing-no-more-estimates-jason-charnes/

View Details

In this episode of Scaling Postgres, we discuss PG14's new SQL function syntax, including buffers when doing explain analyze, how to debug autovacuum and using row-level security to handle multi-tenancy.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/better-sql-functions-in-postgresql-v14/
  • https://jkatz05.com/post/postgres/postgres-begin-atomic/
  • https://www.pgmustard.com/blog/using-postgres-buffers-for-query-optimization
  • https://www.citusdata.com/blog/2022/07/28/debugging-postgres-autovacuum-problems-13-tips/
  • https://www.thenile.dev/blog/multi-tenant-rls
  • https://pganalyze.com/blog/5mins-postgres-row-level-security-bypassrls-security-invoker-views-leakproof-functions
  • https://www.timescale.com/blog/state-of-postgresql-2022-13-tools-that-arent-psql/
  • https://www.youtube.com/c/percona/videos
  • https://www.crunchydata.com/blog/native-partitioning-with-postgres
  • https://www.endpointdev.com/blog/2022/07/running-postgresql-on-docker/
  • https://postgresql.life/post/elizabeth_garrett_christensen/
  • https://www.rubberduckdevshow.com/episodes/52-agile-manifesto-12-principles/

View Details

In this episode of Scaling Postgres, we discuss /gexec available in psql, how to delete duplicates using a window function, a new Postgres podcast and a performance talk about going from puny to powerful.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/gexec-psql-postgresql-poweruser-practice/
  • https://www.postgresql.org/docs/14/functions-string.html#FUNCTIONS-STRING-FORMAT
  • https://sqlfordevs.io/delete-duplicate-rows
  • https://www.pgmustard.com/blog/postgres-fm-a-new-postgres-podcast
  • https://www.youtube.com/watch?v=CIYbpYKrX8Y
  • https://pganalyze.com/blog/5mins-postgres-waiting-for-postgres-16-subquery-alias-optional
  • https://www.youtube.com/watch?v=mJw3al4Ms2o
  • https://ardentperf.com/2022/07/16/postgresql-performance-puzzle/
  • https://postgresql.life/post/laura_ricci/
  • https://www.rubberduckdevshow.com/episodes/51-andrew-mason-collin-jilbert-ruby-radar/

View Details

In this episode of Scaling Postgres, we discuss how too many columns in a table can affect performance, at what point BRIN indexes win over btree, and Postgres 15 supporting unique nulls and parallel distinct queries.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/column-order-in-postgresql-does-matter/
  • https://www.crunchydata.com/blog/postgres-indexing-when-does-brin-win
  • https://blog.rustprooflabs.com/2022/07/postgres-15-unique-improvement-with-null
  • https://www.percona.com/blog/introducing-postgresql-15-working-with-distinct/
  • https://pganalyze.com/blog/5mins-postgres-unique-constraint-null-parallel-distinct
  • https://postgrespro.com/blog/pgsql/5969637
  • https://coroot.com/blog/pg-agent
  • https://www.timescale.com/blog/state-of-postgresql-how-to-contribute-to-postgresql-and-the-community/
  • https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/
  • https://pgstef.github.io/2022/07/12/patroni_and_pgbackrest_combined.html
  • https://postgresql.life/post/charly_batista/
  • https://www.rubberduckdevshow.com/episodes/50-brittany-martin-ruby-on-rails-podcast/

View Details

In this episode of Scaling Postgres, we discuss the process of decomposing your database, how to search text in Postgres quickly, how to understand the output of pg_stat_activity and how to use window functions to solve a use case.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://about.gitlab.com/blog/2022/06/02/splitting-database-into-main-and-ci/
  • https://gitlab.com/groups/gitlab-org/-/epics/6168
  • https://docs.gitlab.com/ee/development/database/multiple_databases.html
  • https://www.rubberduckdevshow.com/episodes/49-fast-text-search-in-postgres/
  • https://www.depesz.com/2022/07/05/understanding-pg_stat_activity/
  • https://www.cybertec-postgresql.com/en/handling-bonus-programs-in-sql/
  • https://www.crunchydata.com/blog/choosing-a-postgresql-number-format
  • https://www.crunchydata.com/blog/data-to-go-postgres-logical-replication
  • https://www.percona.com/blog/postgresql-replication-and-conflicts/
  • https://www.timescale.com/blog/state-of-postgresql-2022-first-findings/
  • https://pganalyze.com/blog/5mins-postgres-lock-monitoring-lwlock-log-lock-waits
  • https://www.depesz.com/2022/07/04/how-to-log-selects-from-specific-table/
  • https://postgrespro.com/blog/pgsql/5969618
  • https://rubyonrails.org/2022/7/4/this-week-in-rails-improved-postgresql-support-performance-improvements-and-more-e462895a
  • https://www.timescale.com/blog/what-is-sql-used-for-build-environments-where-devs-can-experiment/
  • https://postgresql.life/post/julien_tachoires/

View Details

In this episode of Scaling Postgres, we discuss psql shortcuts, how to debug deadlocks, how to find & stop queries and how to understand and use SCRAM authentication.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-15-beta-2-released-2479/
  • https://www.crunchydata.com/blog/postgres-locking-when-is-it-concerning
  • https://www.percona.com/blog/importance-of-postgresql-vacuum-tuning-and-custom-scheduled-vacuum-job/
  • https://www.cybertec-postgresql.com/en/transaction-anomalies-with-select-for-update/
  • https://andreas.scherbaum.la/blog/archives/1117-ctid-and-other-PostgreSQL-table-internals.html
  • https://www.postgresql.fastware.com/blog/introducing-publication-row-filters
  • https://pganalyze.com/blog/5mins-postgres-tuning-statistics-target-selectivity-spatial-indexes
  • https://andreas.scherbaum.la/blog/archives/1118-2-+-2-4-16.html
  • https://supabase.com/blog/2022/06/28/partial-postgresql-data-dumps-with-rls
  • https://cloud.google.com/blog/products/databases/postgresql-interface-for-spanner-now-ga
  • https://www.timescale.com/blog/sql-isnt-that-hard-when-you-dont-approach-it-from-an-object-oriented-point-of-view/
  • https://www.timescale.com/blog/sql-isnt-that-hard-if-you-have-the-freedom-to-experiment/
  • https://postgresql.life/post/mladen_marinovic/
  • https://www.rubberduckdevshow.com/episodes/48-ruby-fibers/

View Details

In this episode of Scaling Postgres, we discuss psql shortcuts, how to debug deadlocks, how to find & stop queries and how to understand and use SCRAM authentication.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://elephas.io/psql-helper-managing-connections-and-simplifying-queries/
  • https://www.cybertec-postgresql.com/en/debugging-deadlocks-in-postgresql/
  • https://adamj.eu/tech/2022/06/20/how-to-find-and-stop-running-queries-on-postgresql/
  • https://www.youtube.com/watch?v=whvXiAa_T6A
  • https://andreas.scherbaum.la/blog/archives/1116-PostgreSQL-Upgrades-are-hard!.html
  • https://fluca1978.github.io/2022/06/23/PostgreSQLOrdinality.html
  • https://www.crunchydata.com/blog/indexes-selectivity-and-statistics
  • https://blog.rustprooflabs.com/2022/06/h3-indexes-on-postgis-data
  • https://pganalyze.com/blog/5mins-postgres-fuzzy-text-search-case-insensitive-ICU-collations
  • https://www.timescale.com/blog/how-we-made-data-aggregation-better-and-faster-on-postgresql-with-timescaledb-2-7/
  • https://postgresql.life/post/herve_schweitzer/
  • https://www.rubberduckdevshow.com/episodes/47-ruby-3-keyword-arguments/

View Details

In this episode of Scaling Postgres, we discuss a PG 14.4 release, how to skip transactions with logical replication, how to use schemas and Citus going fully open source.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-144-released-2470/
  • https://www.postgresql.fastware.com/blog/addressing-replication-conflicts-using-alter-subscription-skip
  • https://aaronoellis.com/articles/using-postgres-schemas
  • https://www.citusdata.com/blog/2022/06/17/citus-11-goes-fully-open-source/
  • https://www.cybertec-postgresql.com/en/case-insensitive-pattern-matching-in-postgresql/
  • https://blog.brendanscullion.com/postgresql-text-search
  • https://www.crunchydata.com/blog/quick-and-easy-postgres-data-compare
  • https://sqlfordevs.io/uuid-prevent-enumeration-attack
  • https://andreas.scherbaum.la/blog/archives/1113-My-PostgreSQL-database-is-empty!.html
  • https://pganalyze.com/blog/5mins-postgres-reducing-aws-aurora-io-costs-table-partitioning-pruning
  • https://www.migops.com/blog/oracle-vs-postgresql-transaction-control-statements/
  • https://aws.amazon.com/blogs/database/handle-empty-strings-when-migrating-from-oracle-to-postgresql/
  • https://postgresql.life/post/vigneshwaran_c/
  • https://www.rubberduckdevshow.com/episodes/46-ractors-actors-for-ruby/

View Details

In this episode of Scaling Postgres, we discuss a Postgres 14 out-of-cycle release next week, whether you should upgrade, the state of Postgres survey and a tool for automatic indexing.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

View Details

In this episode of Scaling Postgres, we discuss a severe bug with index creation in Postgres 14, view permissions options, dealing with logical replication conflicts and looking under the hood of AlloyDB.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://pganalyze.com/blog/5mins-postgres-14-reindex-create-index-concurrently-bug-amcheck-extension
  • https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=042b584c7f7d6216c54359c0ee0f613ba3b3d9c2
  • https://www.postgresql.org/docs/14/amcheck.html
  • https://www.cybertec-postgresql.com/en/view-permissions-and-row-level-security-in-postgresql/
  • https://www.postgresql.fastware.com/blog/how-to-handle-logical-replication-conflicts-in-postgresql
  • https://cloud.google.com/blog/products/databases/alloydb-for-postgresql-intelligent-scalable-storage
  • https://cloud.google.com/blog/products/databases/alloydb-for-postgresql-columnar-engine
  • https://www.enterprisedb.com/blog/using-virtual-environment-plpython3-postgresql
  • https://www.enterprisedb.com/blog/new-order-and-limit-offset-pushdown-features-increase-agility-mysqlfdw
  • https://www.crunchydata.com/blog/effective-postgres-cluster-config-and-management-using-pgo-v5.1
  • https://postgresql.life/post/virginie_jourdan/
  • https://www.rubberduckdevshow.com/episodes/44-reviewing-2022-rails-community-survey/

View Details

In this episode of Scaling Postgres, we discuss mistakes you can make when doing schema changes, how best to cancel statements, looking into pg_rman, and looking at a pedantry removal.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://postgres.ai/blog/20220525-common-db-schema-change-mistakes
  • https://www.cybertec-postgresql.com/en/cancel-hanging-postgresql-query/
  • https://www.highgo.ca/2022/05/27/how-to-do-backup-and-restore-for-postgresql-using-pg_rman/
  • https://mydbanotebook.org/post/pedantry/
  • https://pganalyze.com/blog/5mins-postgres-15-speeding-up-sort-performance
  • https://www.timescale.com/blog/opentelemetry-where-sql-is-better-than-the-original/
  • https://www.crunchydata.com/blog/exporter2perfdata-connecting-postgres-monitoring-tools
  • https://postgresql.life/post/masahiko_sawada/
  • https://www.rubberduckdevshow.com/episodes/43-typed-or-untyped-ruby/

View Details

In this episode of Scaling Postgres, we discuss the Beta 1 release of Postgres 15, optimizing a query by breaking it down, improvements to sort performance and prepared statements for partitioned tables.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-15-beta-1-released-2453/
  • https://www.crunchydata.com/blog/postgres-query-optimization-left-join-vs-union-all
  • https://www.citusdata.com/blog/2022/05/19/speeding-up-sort-performance-in-postgres-15/
  • https://amitlan.com/2022/05/16/param-query-partition-woes.html
  • https://pganalyze.com/blog/5mins-postgres-partition-pruning-prepared-statements-generic-vs-custom-query-plans
  • https://www.ongres.com/blog/solving-postgresql-statistic-corruption/
  • https://www.craigkerstiens.com/2022/05/18/unfinished-business-with-postgres/
  • https://ptc-it.de/collate-docker-postgres-bug/
  • https://geopet85.github.io/2022/05/15/rds-partitioned-tables-export.html
  • https://www.crunchydata.com/blog/instant-heatmap-with-pg_featureserv
  • https://postgresql.life/post/haki_benita/

View Details

In this episode of Scaling Postgres, we discuss parallel server-side backup compression, IO in Postgres, parquet files and the new pg_stat_monitor extension.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/
  • https://cloud.google.com/blog/products/databases/introducing-alloydb-for-postgresql
  • https://www.youtube.com/watch?v=o5pKfH0Tonw
  • https://www.cybertec-postgresql.com/en/time-zone-management-in-postgresql/
  • https://www.enterprisedb.com/blog/pg-phriday-what-you-should-know-about-basic-postgres-authentication
  • https://www.crunchydata.com/blog/the-vectors-of-database-encryption
  • https://www.crunchydata.com/blog/demystifying-database-performance-for-developers
  • https://pganalyze.com/blog/5mins-postgres-for-app-developers-tables-indexes
  • https://kiranrao.ca/2022/05/04/zero-downtime-migrations.html
  • https://www.se-radio.net/2022/05/episode-511-ant-wilson-on-supabase-postgres-as-a-service/
  • https://postgrespro.com/blog/pgsql/5969493
  • https://yugonagata-pgsql.blogspot.com/2022/05/pgivm-v10-released.html
  • https://postgresql.life/post/abhijit_menon-sen/
  • https://www.rubberduckdevshow.com/episodes/42-symbols-strings-freezing/

View Details

In this episode of Scaling Postgres, we discuss parallel server-side backup compression, IO in Postgres, parquet files and the new pg_stat_monitor extension.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • http://rhaas.blogspot.com/2022/05/parallel-server-side-backup-compression.html
  • https://www.youtube.com/watch?v=3Oj7fBAqVTw
  • https://www.crunchydata.com/blog/parquet-and-postgres-in-the-data-lake
  • https://www.percona.com/blog/understand-your-postgresql-workloads-better-with-pg_stat_monitor/
  • https://www.timescale.com/blog/point-in-time/
  • https://www.cybertec-postgresql.com/en/postgresql-15-using-merge-in-sql/
  • https://www.highgo.ca/2022/04/30/upcoming-feature-in-postgresql-15-merge-statement/
  • https://andreas.scherbaum.la/blog/archives/1110-Its-beer-oclock-for-PostgreSQL.html
  • https://pganalyze.com/blog/5mins-postgres-15-beta1-incremental-materialized-views-pg-ivm
  • https://www.highgo.ca/2022/05/06/atomic-commit-with-2-phase-commit-in-fdw-distributed-setup/
  • https://postgresql.life/post/abbas_butt/
  • https://www.rubberduckdevshow.com/episodes/41-the-jira-incident/

View Details

In this episode of Scaling Postgres, we discuss ways you can optimize the planner, becoming part of the Postgres Community, considerations for large databases and mapping three different types of spatial data.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.aha.io/engineering/articles/optimizing-with-the-postgresql-deterministic-query-planner
  • https://pganalyze.com/blog/5mins-postgres-tuning-deterministic-query-planner-extended-statistics-join-collapse-limits
  • https://www.timescale.com/blog/the-future-of-community-in-light-of-babelfish/
  • https://www.percona.com/blog/working-with-large-postgresql-databases/
  • https://blog.rustprooflabs.com/2022/04/postgis-h3-intro
  • https://selectfrom.dev/mapping-fracking-wells-in-colorado-with-postgresql-db17fc3b8812
  • https://www.cybertec-postgresql.com/en/analyzing-historical-flight-data-with-mobilitydb/
  • https://www.highgo.ca/2022/04/29/global-deadlock-in-a-distributed-database-cluster/
  • https://www.endpointdev.com/blog/2022/04/formatting-sql-vim-pgformat/
  • https://www.crunchydata.com/blog/easy-major-postgresql-upgrades-using-pgo-v51
  • https://postgresql.life/post/philippe_beaudoin/
  • https://www.rubberduckdevshow.com/episodes/40-to-dry-or-not-to-dry/

View Details

In this episode of Scaling Postgres, we discuss dealing with slow queries, upgrading a 4TB database, running Postgres on ZFS and handling a storage stampede.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://pgdash.io/blog/slow-queries-postgres.html
  • https://retool.com/blog/how-we-upgraded-postgresql-database/
  • https://lackofimagination.org/2022/04/our-experience-with-postgresql-on-zfs/
  • https://www.enterprisedb.com/blog/steady-storage-stampede
  • https://tech.instacart.com/the-vanishing-thread-and-postgresql-tcp-connection-parameters-93afc0e1208c
  • https://www.cybertec-postgresql.com/en/find-and-fix-a-missing-postgresql-index/
  • https://www.percona.com/blog/postgresql-14-b-tree-index-reduced-bloat-with-bottom-up-deletion/
  • https://pganalyze.com/blog/5mins-postgres-hot-updates-vs-bottom-up-index-deletion
  • https://www.youtube.com/watch?v=oJj-pltxBUM
  • https://www.postgresql.fastware.com/blog/two-phase-commits-for-logical-replication-publications-subscriptions
  • https://bytebase.com/blog/database-migration-sqlite-to-postgresql
  • https://momjian.us/main/writings/pgsql/microservices.pdf
  • https://www.enterprisedb.com/blog/use-master-password-pgadmin-4
  • https://postgresql.life/post/bharath_rupireddy/
  • https://www.rubberduckdevshow.com/episodes/39-where-should-you-put-business-logic/

View Details

In this episode of Scaling Postgres, we discuss working with multiranges, missing Postgres metrics, PostGIS for newbies and videos from CitusCon.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/multiranges-in-postgresql-14/
  • https://coroot.com/blog/pg-missing-metrics
  • https://blog.crunchydata.com/blog/postgis-for-newbies
  • https://www.youtube.com/playlist?list=PLlrxD0HtieHjSzUZYCMvqffEU5jykfPTd#cituscon2022
  • https://pganalyze.com/blog/5mins-postgres-sql-json-table-postgres15
  • https://yugonagata-pgsql.blogspot.com/2022/04/pgivm-postgresql-extension-providing.html
  • https://www.postgresql.org/about/news/update-on-the-trademark-actions-against-the-postgresql-community-2437/
  • https://pgstef.github.io/2022/04/15/pgbackrest_multi-repositories_tips_and_tricks.html
  • https://postgresql.life/post/jehan-guillaume_de_rorthais/
  • https://www.rubberduckdevshow.com/episodes/38-small-projects/

View Details

In this episode of Scaling Postgres, we discuss how to bin date times, search every field of a table, use JSON_TABLE and methods for a client to pick the primary database.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.cybertec-postgresql.com/en/postgresql-mapping-timestamps-date_bin/
  • https://www.depesz.com/2022/04/05/dba-tips-n-tricks-search-in-every-field-in-a-table/
  • https://www.depesz.com/2022/04/06/waiting-for-postgresql-15-json_table/
  • https://www.postgresql.org/docs/14/libpq-connect.html#LIBPQ-CONNECT-TARGET-SESSION-ATTRS
  • https://www.cybertec-postgresql.com/en/new-target_session_attrs-settings-for-high-availability-and-scaling-in-postgresql-v14/
  • https://www.postgresql.fastware.com/blog/enhancement-to-target-session-attrs
  • https://pganalyze.com/blog/5mins-postgres-tuning-vacuum-autovacuum
  • https://www.endpointdev.com/blog/2022/04/shapefiles-postgis/
  • https://dev.to/yugabyte/how-to-enable-ssl-for-postgres-connections-5321
  • https://postgres.ai/blog/20220405-database-lab-engine-3-1-released
  • https://postgresql.life/post/taras_kloba/
  • https://www.rubberduckdevshow.com/episodes/37-working-with-outside-teams/

View Details

In this episode of Scaling Postgres, we discuss how to optimize vacuum, how to drop roles, the new merge command in PG15 and a pgbouncer tutorial.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.enterprisedb.com/blog/pg-phriday-tidying-vacuum
  • https://www.cybertec-postgresql.com/en/drop-role-or-drop-user-postgresql/
  • https://www.depesz.com/2022/03/31/waiting-for-postgresql-15-add-support-for-merge-sql-command/
  • https://www.postgresql.org/docs/devel/sql-merge.html
  • https://www.youtube.com/watch?v=ddKm7a7xOpk
  • https://www.depesz.com/2022/03/31/waiting-for-postgresql-15-sql-json-constructors/
  • https://www.depesz.com/2022/04/01/waiting-for-postgresql-15-is-json-predicate/
  • https://www.depesz.com/2022/04/01/waiting-for-postgresql-15-sql-json-query-functions/
  • https://www.highgo.ca/2022/03/31/parallel-commit-in-postgres-fdw/
  • https://pganalyze.com/blog/how-postgres-chooses-index
  • https://postgrespro.com/blog/pgsql/5969403
  • https://www.citusdata.com/blog/2022/03/29/ultimate-guide-to-citus-con-an-event-for-postgres/
  • https://www.timescale.com/blog/identify-postgresql-performance-bottlenecks-with-pg_stat_statements/
  • https://b-peng.blogspot.com/2022/03/pgo-v5-installation.html
  • https://postgresql.life/post/claire_giordano/
  • https://www.rubberduckdevshow.com/episodes/36-redundant-infrastructure-on-the-cheap/

View Details

In this episode of Scaling Postgres, we discuss a new version of pgbouncer, query parameter types, a performance improvement from a lateral join and security invoker views.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • http://www.pgbouncer.org/2022/03/pgbouncer-1-17-0
  • https://www.cybertec-postgresql.com/en/query-parameter-data-types-performance/
  • https://www.depesz.com/2022/03/22/waiting-for-postgresql-15-add-support-for-security-invoker-views/
  • https://pganalyze.com/blog/5mins-postgres-max-wal-size-full-page-writes-uuid-bigint
  • https://b-peng.blogspot.com/2022/03/pgpool-debian.html
  • https://postgresql.life/post/michael_christofides/
  • https://www.rubberduckdevshow.com/episodes/35-organizing-your-tests/

View Details

In this episode of Scaling Postgres, we discuss how best to configure autovacuum, the dangers of duplicate key violations, how to set up pipelining, and how to tune max_wal_size.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.depesz.com/2022/03/13/is-my-autovacuum-configured-properly/
  • https://aws.amazon.com/blogs/database/hidden-dangers-of-duplicate-key-violations-in-postgresql-and-how-to-avoid-them/
  • https://www.cybertec-postgresql.com/en/pipeline-mode-better-performance-on-slow-network/
  • https://www.enterprisedb.com/blog/tuning-maxwalsize-postgresql
  • https://www.enterprisedb.com/blog/pg-phriday-wrapping-transactions-right-round
  • https://www.endpointdev.com/blog/2022/03/using-pgtap-automate-database-testing/
  • https://ctodive.com/hooks-the-secret-feature-powering-the-postgres-ecosystem-f05b3b82e0ba
  • https://www.citusdata.com/blog/2022/03/12/how-to-benchmark-performance-of-citus-and-postgres-with-hammerdb/
  • https://pganalyze.com/blog/5mins-postgres-postgis-vs-gpu-citus-benchmarks-hammerdb
  • https://www.highgo.ca/2022/03/18/distributed-database-with-postgresql-atomic-commit-problems/
  • https://www.percona.com/blog/run-postgresql-on-kubernetes-with-percona-operator-pulumi
  • https://blog.crunchydata.com/blog/spatial-filters-in-pg_featureserv-with-cql
  • https://postgresql.life/post/jaime_casanova/
  • https://www.rubberduckdevshow.com/episodes/34-real-world-performance-enhancements/

View Details

In this episode of Scaling Postgres, we discuss 100x optimizations, how to audit table activity, designing schemas and how to set up table checksums. Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://towardsdatascience.com/how-we-optimized-postgresql-queries-100x-ff52555eabe
  • https://supabase.com/blog/2022/03/08/audit
  • https://pganalyze.com/blog/5mins-postgres-auditing-pgaudit-supabase-supa-audit
  • https://www.endpointdev.com/blog/2022/03/database-design-with-documents/
  • https://www.cybertec-postgresql.com/en/postgresql-creating-checksums-for-tables/
  • https://blog.crunchydata.com/blog/performance-and-spatial-joins
  • https://blog.crunchydata.com/blog/cql-filtering-in-pg_featureserv
  • https://postgrespro.com/blog/pgsql/5969296
  • https://postgresql.life/post/ibrar_ahmed/
  • https://www.rubberduckdevshow.com/episodes/33-reviewing-owasp-6-10/

View Details

In this episode of Scaling Postgres, we discuss the best ways to index with tsearch, what to check if tuples are not yet removable, wicked problems with Postgres and different pattern matching techniques.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.depesz.com/2022/03/01/how-to-index-data-with-tsearch/
  • https://pganalyze.com/blog/5mins-postgres-autovacuum-dead-tuples-not-yet-removable-postgres-xmin-horizon
  • https://www.slideshare.net/AlexanderKorotkov/solving-postgresql-wicked-problems
  • https://github.com/orioledb/orioledb
  • https://blog.crunchydata.com/blog/how-to-cheat-at-wordle-with-postgresql
  • https://databaseci.com/docs/migra
  • https://b-peng.blogspot.com/2022/02/auto-failback.html
  • https://blog.crunchydata.com/blog/cloud-data-sources-for-the-postgres-operator-for-kubernetes
  • https://www.highgo.ca/2022/02/28/a-snippet-to-acquire-a-lightweight-lock/
  • https://postgresql.life/post/gianni_ciolli/
  • https://www.rubberduckdevshow.com/episodes/32-reviewing-owasp-top-5/

View Details

In this episode of Scaling Postgres, we discuss optimizing trigram searches, a review of Postgres replication, improvements to logical replication and a significant Timescale investment.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://alexklibisz.com/2022/02/18/optimizing-postgres-trigram-search.html
  • https://pganalyze.com/blog/5mins-postgres-optimizing-postgres-text-search-trigrams-gist-indexes
  • https://www.enterprisedb.com/blog/replication-revue
  • https://www.percona.com/blog/logical-replication-decoding-improvements-in-postgresql-13-and-14/
  • https://www.timescale.com/blog/year-of-the-tiger-110-million-to-build-the-future-of-data-for-developers-worldwide/
  • https://www.shayon.dev/post/2022/47/pg-osc-zero-downtime-schema-changes-in-postgresql/
  • https://www.cybertec-postgresql.com/en/monitoring-google-cloud-postgresql-with-pgwatch2/
  • https://postgresql.verite.pro/blog/2022/02/21/psql-hack-select-except.html
  • https://postgresql.life/post/julia_gugel/
  • https://www.rubberduckdevshow.com/episodes/31-how-to-learn-a-new-code-base/

View Details

In this episode of Scaling Postgres, we discuss the new releases of Postgres, a hairy upgrade incident, why slowing down can make you go faster and using loadable modules for WAL archiving.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  • https://www.depesz.com/2022/02/13/how-much-disk-space-you-can-save-by-using-int4-int-instead-of-int8-bigint/
  • https://blog.anayrat.info/en/2022/02/14/postgresql-toast-compression-and-toast_tuple_target/
  • https://blog.crunchydata.com/blog/safer-application-users-in-postgres
  • https://pganalyze.com/blog/5mins-postgres-high-cpu-utilization-explain-plans-linux-perf
  • https://www.highgo.ca/2022/02/18/the-significance-of-lsn-in-postgresql-system/
  • https://dev.to/yugabyte/sqlcl-to-transfer-data-from-oracle-to-postgresql-or-yugabytedb-lha
  • https://postgrespro.com/blog/pgsql/5969262
  • https://www.cybertec-postgresql.com/en/pg_timetable-v4-4-is-available-immediately/
  • https://postgresql.life/post/henrietta_dombrovskaya/
  • https://www.rubberduckdevshow.com/episodes/30-how-to-get-started-coding/

View Details

In this episode of Scaling Postgres, we discuss the new releases of Postgres, a hairy upgrade incident, why slowing down can make you go faster and using loadable modules for WAL archiving. Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  1. https://www.postgresql.org/about/news/postgresql-142-136-1210-1115-and-1020-released-2402/
  2. https://ardentperf.com/2022/02/10/a-hairy-postgresql-incident/
  3. https://vyruss.org/blog/slow-things-down-to-make-them-go-faster-fosdem-2022.html
  4. https://www.depesz.com/2022/02/06/waiting-for-postgresql-15-allow-archiving-via-loadable-modules/
  5. http://rhaas.blogspot.com/2022/02/server-side-lz4-backup-compression.html
  6. https://blog.crunchydata.com/blog/postgres-constraints-for-newbies
  7. https://pganalyze.com/blog/5mins-postgres-custom-aggregates-rust-sql-pgx
  8. https://www.youtube.com/channel/UCqpEeVhxpsj7DbIh8K8npPQ/videos
  9. https://www.depesz.com/2022/02/06/waiting-for-postgresql-15-add-unique-null-treatment-option/
  10. https://www.postgresql.fastware.com/blog/logical-replication-of-all-tables-in-schema-in-postgresql-15
  11. https://pgsqlpgpool.blogspot.com/2022/01/whats-new-in-pgpool-ii-43.html
  12. https://pgsqlpgpool.blogspot.com/2022/02/whats-new-in-pgpool-ii-43-part2.html
  13. https://pgsqlpgpool.blogspot.com/2022/02/whats-new-in-pgpool-ii-43-part3.html
  14. https://postgresql.life/post/bernd_helmle/
  15. https://www.rubberduckdevshow.com/episodes/29-how-we-got-started-coding/

View Details

In this episode of Scaling Postgres, we discuss JSONB performance, bidirectional replication, getting the most recent record and using JSON in Postgres 14.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  1. https://www.evanjones.ca/postgres-large-json-performance.html
  2. https://pganalyze.com/blog/5mins-postgres-jsonb-toast
  3. https://www.enterprisedb.com/blog/pg-phriday-nominally-bidirectional
  4. https://blog.timescale.com/blog/select-the-most-recent-record-of-many-items-with-postgresql/
  5. https://aaronbos.dev/posts/postgres-14-json
  6. https://www.postgresql.fastware.com/blog/how-to-gain-insight-into-the-pg-stat-replication-slots-view-by-examining-logical-replication
  7. https://www.cybertec-postgresql.com/en/automatic-partition-creation-in-postgresql/
  8. https://blog.crunchydata.com/blog/secure-permissions-for-pgbackrest
  9. https://blog.yugabyte.com/postgresql-timestamps-timezones/
  10. https://blog.yugabyte.com/postgresql-timestamps-timezones-interval-minefield/
  11. https://www.dolthub.com/blog/2022-01-26-creating-a-postgres-foreign-data-wrapper/
  12. https://www.endpointdev.com/blog/2022/01/regex-group-quantifiers-postgresql/
  13. https://postgresql.life/post/alvaro_herrera/
  14. https://www.rubberduckdevshow.com/episodes/28-exploring-jamstack/

View Details

In this episode of Scaling Postgres, we discuss the new series 5 minutes of Postgres, using unnest, switching to SCRAM authentication and reviewing multi-master solutions.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

  1. 5mins of Postgres E1: Using Postgres statistics to improve bad query plans, pg_hint_plan extension
  2. 5mins of Postgres E2: Using unnest(..), generate_series(), and PostGIS
  3. Postgres UNNEST cheat sheet for bulk operations
  4. PostgreSQL 14 and Recent SCRAM Authentication Changes – Should I Migrate to SCRAM?
  5. PG Phriday: Replication Engine Potpourri
  6. Accelerating VACUUM in Postgres
  7. Postgres SQL Lessons From Advent of Code Challenges
  8. Not so equal texts in PostgreSQL - and how to compare texts in a more elaborate way
  9. "Read-Only" Mode for PostgreSQL
  10. Waiting for PostgreSQL 15 – Add HEADER support to COPY text format
  11. Elevation Profiles and Flightlines with PostGIS
  12. Transaction ID and Snapshot information functions
  13. Flavio Gurgel
  14. Rubber Duck Dev Show Episode 27 | Refactoring in the Wild

View Details

In this episode of Scaling Postgres, we discuss how to generate shaped sample data, track changes between Postgres versions, identify missed bottlenecks and use different index types.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://blog.timescale.com/blog/how-to-shape-sample-data-with-postgresql-generate_series-and-sql/

https://www.depesz.com/2022/01/17/configuration-changes-across-pg-versions/

https://pawelurbanek.com/postgresql-query-bottleneck

https://blog.crunchydata.com/blog/postgres-indexes-for-newbies

https://www.depesz.com/2022/01/17/waiting-for-postgresql-15-introduce-log_destinationjsonlog/

http://rhaas.blogspot.com/2022/01/surviving-without-superuser-part-two.html

https://www.shayon.dev/post/2022/17/why-i-enjoy-postgresql-infrastructure-engineers-perspective/

https://aws.amazon.com/blogs/database/postgresql-bi-directional-replication-using-pglogical/

https://www.cybertec-postgresql.com/en/data-normalization-in-postgresql/

https://postgresql.life/post/kuntal_ghosh/

https://www.rubberduckdevshow.com/episodes/26-the-dark-side-of-open-source/

View Details

In this episode of Scaling Postgres, we discuss how to monitor DML & DDL progress, using more SQL, one way to handle replication slot fail-over, and recent Postgres contributors.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://postgres.ai/blog/20220114-progress-bar-for-postgres-queries-lets-dive-deeper

https://dev.to/yugabyte/quick-on-active-sql-from-pgstatactivity-27hi

https://pgdash.io/blog/more-sql-less-code-with-postgresql.html

http://rhaas.blogspot.com/2022/01/who-contributed-to-postgresql.html

https://blog.crunchydata.com/blog/a-postgres-primer-for-oracle-dbas

https://blog.crunchydata.com/blog/postgis-3.2-new-and-improved

https://www.percona.com/blog/creating-a-standby-cluster-with-the-percona-distribution-for-postgresql-operator/

https://postgresql.life/post/emil_shkolnik/

https://www.rubberduckdevshow.com/episodes/25-javascript-options-in-rails-7/

View Details

In this episode of Scaling Postgres, we discuss including buffers with explain analyze, having a healthier Postgres DB, the events of 2021 and aspiring for greater high availability solutions.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://postgres.ai/blog/20220106-explain-analyze-needs-buffers-to-improve-the-postgres-query-optimization-process

https://blog.crunchydata.com/blog/five-tips-for-a-healthier-postgres-database-in-the-new-year

https://www.migops.com/blog/2022/01/07/a-short-summary-of-the-year-2021-in-the-postgresql-ecosystem/

https://pganalyze.com/blog/postgres-2021-year-in-review

https://www.enterprisedb.com/blog/pg-phriday-defining-high-availability-postgres-world

https://blog.rustprooflabs.com/2022/01/pgdd-for-everyone

https://www.youtube.com/watch?v=LCowYnqSdbo

https://www.endpointdev.com/blog/2022/01/postgresql-no-superuser-fix/

https://www.endpointdev.com/blog/2021/12/ecommerce-customer-names-interesting-unicode/

https://blog.crunchydata.com/blog/kube-cluster-from-scratch-on-rocky-8

https://dev.to/yugabyte/triggers-stored-procedures-for-pure-data-integrity-logic-and-performance-1eh8

https://dev.to/yugabyte/sql-to-avoid-data-corruption-in-race-conditions-with-serializable-n5c

https://postgresql.life/post/vibhor_kumar/

https://www.rubberduckdevshow.com/episodes/23-when-should-you-mock-stub/

https://www.rubberduckdevshow.com/episodes/24-talking-ruby-rails-with-andrew-mason/

View Details

In this episode of Scaling Postgres, we discuss easily writing a recursive CTE, the zheap undo capability, high availability considerations and fast ways to load data.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://dev.to/yugabyte/learn-how-to-write-sql-recursive-cte-in-5-steps-3n88

https://www.cybertec-postgresql.com/en/zheap-undo-logs-discarding-in-postgresql/

https://tapoueh.org/blog/2021/12/postgres-ha-roles-are-dynamic/

https://pganalyze.com/blog/fastest-way-importing-data-into-postgres-with-ruby-rails

https://aiven.io/blog/explore-the-new-search-and-cycle-features-in-postgresql-14

http://blog.cleverelephant.ca/2021/12/knn-syntax.html

https://www.citusdata.com/blog/2021/12/11/uk-covid-19-dashboard-built-using-postgres-and-citus/

https://www.cybertec-postgresql.com/en/manage-encryption-keys-with-postgresql-tde/

https://www.percona.com/blog/postgresql-high-availability-and-disaster-recovery-on-kubernetes

https://postgresql.life/post/ashutosh_bapat/

https://www.rubberduckdevshow.com/episodes/22-code-quality-analyzers/

View Details

In this episode of Scaling Postgres, we discuss Aurora vs. Postgres, surprising transaction behavior, write-only & read-only database connections and indexing best practices.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.migops.com/blog/2021/11/26/is-aurora-postgresql-really-faster-and-cheaper-than-rds-postgresql-benchmarking/

https://blog.lawrencejones.dev/isolation-levels/

https://www.enterprisedb.com/blog/taking-advantage-write-only-and-read-only-connections-pgbouncer-django

https://www.pgmustard.com/blog/indexing-best-practices-postgresql

http://aklaver.org/wordpress/2021/12/07/postgres-and-json/

http://rhaas.blogspot.com/2021/12/surviving-without-superuser-part-one.html

https://blog.crunchydata.com/blog/extracting-and-substituting-text-with-regular-expressions-in-postgresql

https://fluca1978.github.io/2021/12/06/pgterminatebackend.html

https://www.highgo.ca/2021/12/10/a-look-inside-postgresqls-extended-query-protocol/

https://www.cybertec-postgresql.com/en/pg_rewrite-postgresql-table-partitioning/

https://supabase.com/blog/2021/12/03/pg-graphql

https://postgresql.life/post/emre_hasegeli/

View Details

In this episode of Scaling Postgres, we discuss going slower to go faster, GIN indexes, collation stability and features of PG14 and beyond.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://pganalyze.com/blog/gin-index

http://rhaas.blogspot.com/2021/11/collation-stability.html

https://vyruss.org/blog/slow-things-down-to-make-them-go-faster-postgres-build-2021.html

https://www.postgresql.fastware.com/blog/postgresql-14-and-beyond

https://blog.timescale.com/blog/postgresql-vs-python-for-data-cleaning-a-guide/

https://www.cybertec-postgresql.com/en/primary-keys-vs-unique-constraints-in-postgresql/

https://www.percona.com/blog/postgresql-14-database-monitoring-and-logging-enhancements/

https://yugonagata-pgsql.blogspot.com/2021/11/transition-tables-in-incremental-view.html

https://blog.crunchydata.com/blog/postgis-day-2021

https://blog.crunchydata.com/blog/tricks-for-faster-spatial-indexes

https://blog.rustprooflabs.com/2021/12/postgis-permissions-required

https://postgresql.life/post/fabien_coelho/

View Details

In this episode of Scaling Postgres, we discuss using entity-attribute-value designs, new JSON subscripting capabilities, the mysql-fdw support for aggregate pushdowns and new regex functions in PG 15.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/entity-attribute-value-eav-design-in-postgresql-dont-do-it/ https://blog.logrocket.com/whats-new-json-postgresql-v14/
https://www.enterprisedb.com/blog/aggregate-push-down-mysqlfdw
https://www.depesz.com/2021/11/26/waiting-for-postgresql-15-add-assorted-new-regexp_xxx-sql-functions/
https://blog.crunchydata.com/blog/using-timescaledb-extension-with-the-pgo-the-postgres-operator
https://www.highgo.ca/2021/11/27/how-to-run-a-specific-regression-test/
https://postgresql.life/post/pavel_luzanov/

View Details

In this episode of Scaling Postgres, we discuss if foreign keys should have indexes, how to run graph queries, how to configure Linux huge pages and the benefits as well as text size similarities.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.percona.com/blog/should-i-create-an-index-on-foreign-keys-in-postgresql/

https://www.youtube.com/watch?v=_RXfnnqsLlw

https://www.enterprisedb.com/blog/improving-postgresql-performance-without-making-changes-postgresql

https://www.depesz.com/2021/11/19/does-varcharn-use-less-disk-space-than-varchar-or-text/

https://pganalyze.com/blog/postgresql-views-django-python
https://www.enterprisedb.com/blog/pg-phriday-isolating-postgres-repmgr

https://www.cybertec-postgresql.com/en/postgresql-on-wsl2-for-windows-install-and-setup/

https://www.depesz.com/2021/11/16/waiting-for-postgresql-15-allow-publishing-the-tables-of-schema/

https://www.migops.com/blog/2021/11/15/postgresql-15-will-include-some-more-regexp-functions/

https://stackgres.io/blog/easily-running-babelfish-for-postgresql-on-kubernetes/

https://postgresql.life/post/louise_grandjonc/

https://www.rubberduckdevshow.com/episodes/21-what-is-devops/

View Details

In this episode of Scaling Postgres, we discuss new releases of Postgres due to a man-in-the-middle vulnerability, the high availability solution pg_auto_failover, lesser known Postgres features and LZ4 compression.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/

https://www.enterprisedb.com/blog/postgres-mitm21-vulnerabilities

https://www.youtube.com/watch?v=fuYwlVw0e_o

https://www.pgbouncer.org/2021/11/pgbouncer-1-16-1

https://tapoueh.org/blog/2021/11/an-introduction-to-the-pg_auto_failover-project/

https://hakibenita.com/postgresql-unknown-features

https://www.postgresql.fastware.com/blog/what-is-the-new-lz4-toast-compression-in-postgresql-14

https://blog.jooq.org/postgresql-14s-enable_memoize-for-improved-performance-of-nested-loop-joins/

https://blog.timescale.com/blog/generating-more-realistic-sample-time-series-data-with-postgresql-generate_series/

https://blog.crunchydata.com/blog/multifactor-sso-authentication-for-postgres-on-kubernetes

https://dev.to/yugabyte/postgres-pgagroal-connectionpool-23fc

https://blog.rustprooflabs.com/2021/11/postgis-find-openstreetmap-missing-crossing

https://postgresql.life/post/john_naylor/

https://www.rubberduckdevshow.com/episodes/20-how-do-you-start-testing/

View Details

In this episode of Scaling Postgres, we discuss the open sourcing of Babelfish, deconstructing the Postgres planner, when to avoid exist & not exist and having fun with SQL.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://babelfishpg.org/blog/releases/2021/10/babelfish-launch/
https://aws.amazon.com/blogs/aws/goodbye-microsoft-sql-server-hello-babelfish/
https://pganalyze.com/blog/deconstructing-the-postgres-planner
https://postgres.ai/blog/20211103-three-cases-against-if-not-exists-and-if-exists-in-postgresql-ddl
https://blog.crunchydata.com/blog/fun-with-sql-in-postgres-finding-revenue-accrued-per-day
https://notes.eatonphil.com/exploring-plpgsql-forth-like.html
https://www.highgo.ca/2021/11/01/the-postgresql-timeline-concept/
https://blog.crunchydata.com/blog/patroni-etcd-in-high-availability-environments
https://blog.crunchydata.com/blog/resize-postgres-kubernetes-volume-instance-sets
https://aws.amazon.com/blogs/database/vehicle-routing-optimization-with-amazon-aurora-postgresql-compatible-edition/
https://postgresql.life/post/tatsuro_yamada/
https://www.rubberduckdevshow.com/episodes/19-how-much-time-should-you-spend-planning/

View Details

In this episode of Scaling Postgres, we discuss the downsides of indexes, TCP keep alive options, developing with Postgres as your DB and learning PL/pgSQL.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://postgres.ai/blog/20211029-how-partial-and-covering-indexes-affect-update-performance-in-postgresql

https://www.cybertec-postgresql.com/en/tcp-keepalive-for-a-better-postgresql-experience/

https://www.youtube.com/watch?v=mliO5_XhAKE

https://notes.eatonphil.com/exploring-plpgsql.html

https://blog.crunchydata.com/blog/secure-postgresql-14-with-the-cis-benchmark

https://blog.crunchydata.com/blog/database-security-best-practices-on-kubernetes

https://blog.crunchydata.com/blog/encrypting-postgres-data-at-rest-in-kubernetes

https://postgresql.life/post/alexander_kukushkin/

https://www.rubberduckdevshow.com/episodes/18-how-many-3rd-party-libraries-should-you-use/

View Details

In this episode of Scaling Postgres, we discuss automatic indexing, function pipelines, with hold cursors and the different query scans.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.depesz.com/2021/10/22/why-is-it-hard-to-automatically-suggest-what-index-to-create/

https://blog.timescale.com/blog/function-pipelines-building-functional-programming-into-postgresql-using-custom-operators/

https://www.cybertec-postgresql.com/en/with-hold-cursors-and-transactions-in-postgresql/

https://arctype.com/blog/postgres-explain-analyze-scan/

https://postgres.ai/blog/20211018-postgresql-lock-trees

https://blog.crunchydata.com/blog/postgres-queries-for-projecting-monthly-revenue-run-rate

https://about.sourcegraph.com/blog/postgres-text-search-balancing-query-time-and-relevancy/

https://elephanttamer.net/?p=68

https://aws.amazon.com/blogs/database/upgrade-amazon-rds-and-amazon-aurora-postgresql-version-9-6/

https://postgresql.life/post/ivan_panchenko/

https://www.rubberduckdevshow.com/episodes/17-practicing-continuous-integration-deployment/

View Details

In this episode of Scaling Postgres, we discuss one method to shard a database, federating your database, the benefits of configuring linux HugePages and performance tuning.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.notion.so/blog/sharding-postgres-at-notion

https://blog.crunchydata.com/blog/multi-cluster-postgres-federation-on-kubernetes-with-postgres-14-using-gitops

https://www.percona.com/blog/why-linux-hugepages-are-super-important-for-database-servers-a-case-with-postgresql/

https://www.enterprisedb.com/blog/webinar-recap-tuning-tips-maximize-postgres-performance

https://aws.amazon.com/blogs/database/tune-sorting-operations-in-postgresql-with-work_mem/

https://www.cybertec-postgresql.com/en/show-tables-in-postgresql-whats-wrong-with-it/

https://blog.rustprooflabs.com/2021/10/postgres-14-query-id

https://www.highgo.ca/2021/10/15/backup-label-in-postgresql/

https://www.postgresonline.com/journal/index.php?/archives/401-Multirange-types-in-PostgreSQL-14.html

https://fluca1978.github.io/2021/10/09/PostgreSQLOnOpenBSD.html

https://postgresql.life/post/sebastiaan_mannem/

View Details

In this episode of Scaling Postgres, we discuss select for update, the pgx framework to generate extensions, cool additions to Postgres 14 and full-text search.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.migops.com/blog/2021/10/05/select-for-update-and-its-behavior-with-foreign-keys-in-postgresql/

https://blog.rustprooflabs.com/2021/10/pgdd-extension-using-pgx-rust

https://www.enterprisedb.com/blog/cool-new-contributions-postgresql-14

https://arctype.com/blog/postgres-full-text-search/

https://www.enterprisedb.com/postgresql-database-backup-recovery-what-works-wal-pitr

https://yugonagata-pgsql.blogspot.com/2021/10/transition-tables-in-imcremental-view.html

https://www.enterprisedb.com/blog/how-set-kerberos-authentication-using-active-directory-postgresql-database

https://www.cybertec-postgresql.com/en/openstreetmap-service-by-cybertec/

https://blog.crunchydata.com/blog/postgresql-14-on-kubernetes

https://postgresql.life/post/amit_kapila/

https://www.rubberduckdevshow.com/episodes/16-when-should-you-comment-your-code/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 14, how best to use JSON, why are your indexes not being used and sequence gaps.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-14-released-2318/

https://www.citusdata.com/blog/2021/10/01/how-we-shipped-postgres-14-on-azure-within-a-day/

https://www.instaclustr.com/postgresql-14/

https://www.migops.com/blog/2021/09/29/upgrading-postgresql-9-6-to-postgresql-13/

https://www.cybertec-postgresql.com/en/json-postgresql-how-to-use-it-right/

https://www.depesz.com/2021/09/27/using-recursive-queries-to-get-distinct-elements-from-table/

https://www.pgmustard.com/blog/why-isnt-postgres-using-my-index

https://postgres.ai/blog/20210923-zero-downtime-postgres-schema-migrations-lock-timeout-and-retries

https://www.cybertec-postgresql.com/en/gaps-in-sequences-postgresql/

https://mydbanotebook.org/post/auto-increment/

https://blog.crunchydata.com/blog/dynamic-ddl-in-postgresql

https://www.highgo.ca/2021/10/01/postgresql-14-continuous-archiving-and-point-in-time-recovery/

https://blog.timescale.com/blog/how-to-evaluate-your-data-directly-within-the-database-and-make-your-analysis-more-efficient/

https://www.ongres.com/blog/boost-query-performance-using-fdw-with-minimal-changes/

https://postgresql.life/post/jeff_davis/

https://www.rubberduckdevshow.com/episodes/15-when-to-use-uuids/

View Details

In this episode of Scaling Postgres, we discuss Postgres 14 RC1, little improvements in PG14, an index advisor and how to handle 1 million insert statements.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-14-rc-1-released-2309/

https://blog.crunchydata.com/blog/postgres-14-its-the-little-things

https://pganalyze.com/blog/introducing-pganalyze-index-advisor

https://dev.to/yugabyte/when-you-have-millions-of-insert-statements-in-a-file-3nck

https://fluca1978.github.io/2021/09/23/OracleAlterSequence.html

https://www.cybertec-postgresql.com/en/building-an-oracle-to-postgresql-migrator-lessons-learned/

https://b-peng.blogspot.com/2021/09/reserved-connections.html

https://b-peng.blogspot.com/2021/09/enable-shared-relcache.html

https://postgresql.life/post/michael_goldberg/

https://www.rubberduckdevshow.com/episodes/14-background-job-processing/

View Details

In this episode of Scaling Postgres, we discuss one cause of broken indexes, Postgres trademark issues, percentiles vs. averages and logical replication improvements.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://elephanttamer.net/?p=61

https://www.postgresql.org/about/news/trademark-actions-against-the-postgresql-community-2302/

https://postgresql.fund/blog/postgres-core-team-attacks-postgres-community/

https://postgresql.fund/blog/respecting-majority-questioning-status-quo-as-a-minority/

https://blog.timescale.com/blog/how-percentile-approximation-works-and-why-its-more-useful-than-averages/

http://amitkapila16.blogspot.com/2021/09/logical-replication-improvements-in.html

https://www.cybertec-postgresql.com/en/postgresql-create-indexes-after-bulk-loading/

https://www.highgo.ca/2021/09/17/a-quick-test-for-postgres_fdw-batch-insertion/

https://www.cybertec-postgresql.com/en/postgresql-schedulers-comparison-table/

https://retool.com/blog/best-postgresql-guis-in-2020/

https://mydbanotebook.org/post/pglog/

https://yugonagata-pgsql.blogspot.com/2021/09/tuple-duplicates-support-in-incremental.html

https://www.citusdata.com/blog/2021/09/17/citus-10-2-extension-to-postgres-whats-new/

https://postgresql.life/post/soumyadeep_chakraborty/

https://www.rubberduckdevshow.com/episodes/13-rest-vs-graphql-apis/

View Details

In this episode of Scaling Postgres, we discuss having boundless text fields, revoking public schema permissions, less index bloat in PG14 and comparing hardware performance.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://brandur.org/text

https://www.depesz.com/2021/09/10/waiting-for-postgresql-15-revoke-public-create-from-public-schema-now-owned-by-pg_database_owner/

https://www.cybertec-postgresql.com/en/index-bloat-reduced-in-postgresql-v14/

https://dev.to/aws-heroes/aurora-postgresql-db-r6g-compared-to-db-r5-with-ybio-1bnd

https://brandur.org/sqlc

https://blog.rustprooflabs.com/2021/09/psycopg3-initial-review

https://www.varrazzo.com/blog/2020/03/06/thinking-psycopg3/

https://fluca1978.github.io/2021/09/10/pgbackrest-jq.html

https://postgresql.life/post/akshay_joshi/

https://www.rubberduckdevshow.com/episodes/12-programming-with-dates-times-zones

View Details

In this episode of Scaling Postgres, we discuss connection scaling, how to cache your sequences, a message queuing implementation and the harms of subtransactions.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://richyen.com/postgres/2021/09/03/less-is-more-max-connections.html

https://dev.to/yugabyte/uuid-or-cached-sequences-42fi

https://blog.crunchydata.com/blog/message-queuing-using-native-postgresql

https://postgres.ai/blog/20210831-postgresql-subtransactions-considered-harmful

https://blog.timescale.com/blog/how-to-create-lots-of-sample-time-series-data-with-postgresql-generate_series/

https://blog.anayrat.info/en/2021/09/01/partitioning-use-cases-with-postgresql/

https://www.postgresql.fastware.com/blog/logical-replication-tablesync-workers

https://dev.to/ftisiot/solving-the-knapsack-problem-in-postgresql-40cc

https://www.cybertec-postgresql.com/en/postgresql-the-power-of-a-single-missing-index/

http://postgis.net/2021/09/04/postgis-patches/

https://www.cybertec-postgresql.com/en/postgis-upgrade-with-ubuntu-20-04-02/

https://blog.crunchydata.com/blog/querying-spatial-data-with-postgis-and-ogr_fdw

https://blog.rustprooflabs.com/2021/08/postgres-openstreetmap-changes-over-time-json

https://postgresql.life/post/dmitry_dolgov/

https://www.rubberduckdevshow.com/episodes/11-modern-web-application-front-ends/

View Details

In this episode of Scaling Postgres, we discuss how to use aggregate filters, the importance of vacuum with insert-only tables, how to fix out-of-sync sequences and faster functional index options.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://blog.crunchydata.com/blog/fast-flexible-summaries-with-aggregate-filters-and-windows

https://blog.crunchydata.com/blog/insert-only-tables-and-autovacuum-issues-prior-to-postgresql-13

https://www.cybertec-postgresql.com/en/fixing-out-of-sync-sequences-in-postgresql/

https://dev.to/aws-heroes/index-only-scan-on-functional-indexes-9o2

https://www.percona.com/blog/postgresql-database-security-os-authentication/

https://www.depesz.com/2021/08/26/how-to-get-advisory-lock-in-shell/

https://www.migops.com/blog/2021/08/27/announcing-pg_dbms_job-in-postgresql-for-oracle-dbms_job-compatibility/

https://www.highgo.ca/2021/08/23/tuning-the-pgpool-ii-load-balancer/

https://arctype.com/blog/postgresql-features-list/

https://www.youtube.com/watch?v=NOpRPzPL1x0

https://postgresql.life/post/daniele_varrazzo/

https://www.rubberduckdevshow.com/episodes/10-application-infrastructure-performance/

View Details

In this episode of Scaling Postgres, we discuss how to use foreign data wrappers, compression available in timescaledb, working with fuzzy search and describing Postgres query execution.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://blog.crunchydata.com/blog/understanding-postgres_fdw

https://blog.rustprooflabs.com/2021/08/timescale-compression-openstreetmap-tags

https://arctype.com/blog/postgres-fuzzy-search/

https://dev.to/yugabyte/postgres-query-execution-simple-query-2i71

https://www.highgo.ca/2021/08/20/how-batch-insertion-was-done-in-postgres_fdw/

https://dev.to/yugabyte/pgbench-client-jobs-68g

https://blog.crunchydata.com/blog/waiting-for-postgis-3.2-secure-cloud-raster-access

https://www.migops.com/blog/2021/08/20/validate-postgresql-extension-upgrade-scripts-using-pg_validate_extupgrade/

https://www.cybertec-postgresql.com/en/pg_timetable_v4-is-out/

https://postgresql.life/post/andrey_borodin/

https://www.rubberduckdevshow.com/episodes/9-writing-performant-code/

View Details

In this episode of Scaling Postgres, we discuss new releases for Postgres & pgbouncer, have a performance discussion, describe the different index types and how to use them.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-134-128-1113-1018-9623-and-14-beta-3-released-2277/

https://www.pgbouncer.org/2021/08/pgbouncer-1-16-0

https://www.rubberduckdevshow.com/episodes/8-database-performance/

https://pganalyze.com/blog/postgres-create-index

https://www.youtube.com/watch?v=gBGUuMrO6MI

https://www.cybertec-postgresql.com/en/postgresql-vs-redis-vs-memcached-performance/

https://www.percona.com/blog/impact-of-network-and-cursor-on-query-performance-of-postgresql/

https://www.ongres.com/blog/noset-postgresql-extension-for-blocking-set-reset-execution/

https://www.percona.com/blog/migrating-postgresql-to-kubernetes

https://www.highgo.ca/2021/08/09/horizontal-scalability-options-in-postgresql/

https://postgresql.life/post/julian_markwort/

View Details

In this episode of Scaling Postgres, we discuss ways to work around the planner, working with grouping sets, using a lateral join and not-so-easy Postgres issues.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://heap.io/blog/when-the-postgres-planner-is-not-very-smart

https://www.cybertec-postgresql.com/en/postgresql-grouping-sets-rollup-cube/

https://fluca1978.github.io/2021/08/07/PostgreSQLLateralJoin.html

https://pgdash.io/blog/postgresql-six-not-so-easy-pieces.html

https://www.postgresql.fastware.com/blog/logical-decoding-of-two-phase-commits

https://blog.crunchydata.com/blog/using-cert-manager-to-deploy-tls-for-postgres-on-kubernetes

https://postgresql.life/post/bryn_llewellyn/

https://www.rubberduckdevshow.com/episodes/7-writing-secure_code/

View Details

In this episode of Scaling Postgres, we discuss JSONB vs. window functions, a Postgres security checklist, implementing full-text search and using NFL timeseries data.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://swarm64.com/post/postgresql-jsonb-vs-window-functions/

https://www.cybertec-postgresql.com/en/postgresql-security-things-to-avoid-in-real-life/

https://blog.crunchydata.com/blog/postgres-full-text-search-a-search-engine-in-a-database

https://blog.timescale.com/blog/hacking-nfl-data-with-postgresql-timescaledb-and-sql/

https://ardentperf.com/2021/07/26/postgresql-logical-replicas-and-snapshots-proceed-carefully/

https://www.pgmustard.com/blog/max-parallel-workers-per-gather

https://fluca1978.github.io/2021/07/27/pgbackrestAsync.html

https://b-peng.blogspot.com/2021/07/deploying-pgpool2-exporter-with-docker.html

https://www.percona.com/blog/improve-postgresql-query-performance-insights-with-pg_stat_monitor/

https://postgresql.life/post/roman_druzyagin/

https://www.rubberduckdevshow.com/episodes/6-handling-exceptions/

View Details

In this episode of Scaling Postgres, we discuss the current status of zheap, the gaps in sequences, how to efficiently paginate and how to set up patroni with etcd and haproxy.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/postgresql-zheap-current-status/

https://incident.io/blog/one-two-skip-a-few

https://pganalyze.com/blog/pagination-django-postgres

https://arctype.com/blog/postgres-patroni/

https://fluca1978.github.io/2021/07/20/PostgreSQLExtensions.html

https://www.highgo.ca/2021/07/23/the-amazing-buffer-tag-in-postgresql/

https://www.paulox.net/2021/07/19/maps-with-django-part-2-geodjango-postgis-and-leaflet/

https://blog.crunchydata.com/blog/using-postgis-and-pg_featureserv-with-qgis

https://blog.crunchydata.com/blog/waiting-for-postgis-3.2-st_makevalid

https://blog.crunchydata.com/blog/waiting-for-postgis-3.2-st_contour-and-st_setz

https://postgresql.life/post/rafia_sabih/

https://www.rubberduckdevshow.com/episodes/5-object-oriented-vs-functional-programming/

View Details

In this episode of Scaling Postgres, we discuss understanding lateral joins, generating JSON with Postgres, the dbcritic utility, and fetch first rows vs. limit.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/understanding-lateral-joins-in-postgresql/

https://blog.crunchydata.com/blog/generating-json-directly-from-postgres

https://www.channable.com/tech/dbcritic-constructively-criticizing-your-postgres-schema

https://www.cybertec-postgresql.com/en/postgresql-limit-vs-fetch-first-rows-with-ties/

https://elephanttamer.net/?p=58

https://www.youtube.com/watch?v=znPL6iDDou8

https://fluca1978.github.io/2021/07/13/PostgreSQLWalTraffic.html

https://www.postgresql.fastware.com/blog/improved-logging-by-libpq-in-postgresql-14

https://www.highgo.ca/2021/07/14/first-contact-with-the-pg_filedump/

http://amitkapila16.blogspot.com/2021/07/logical-replication-of-in-progress.html

https://postgresql.life/post/jean-christophe_arnu/

https://www.rubberduckdevshow.com/episodes/4-pair-programming-when-why-how/

View Details

In this episode of Scaling Postgres, we discuss how to delay replication, working with materialized view permissions, paranoid configuration options and addressing memory overcommit.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/simulating-temporal-tables-with-dblink-and-replication-delay/

https://blog.rustprooflabs.com/2021/07/postgres-permission-mat-view

https://ardentperf.com/2021/07/06/paranoid-sql-execution-on-postgresql/

https://sosna.de/posts/pgaas-memory-overcommit/

https://pganalyze.com/blog/postgresql-partitioning-django

https://www.migops.com/blog/2021/07/02/credcheck-extension-to-enforce-username-and-password-checks-in-postgresql/

https://blog.crunchydata.com/blog/the-next-generation-of-kubernetes-native-postgres

https://blog.crunchydata.com/blog/getting-started-with-pgo-postgres-operator-5.0

https://b-peng.blogspot.com/2021/07/postgres-disaster-recovery-on-k8s-zalando.html

https://amitdkhan-pg.blogspot.com/2021/07/a-quick-sanity-testing-of-pgpool-ii-on.html

https://postgresql.life/post/daniel_westermann/

https://www.rubberduckdevshow.com/episodes/3-software-development-people-project-management/

View Details

In this episode of Scaling Postgres, we discuss tracking per-operation explain analyze, Postgres 14 contribution stats, parallel execution on foreign servers and incremental view maintenance.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.pgmustard.com/blog/calculating-per-operation-times-in-postgres-explain-analyze

https://www.highgo.ca/2021/06/28/some-interesting-statistics-about-pg-14-contributions/

https://www.highgo.ca/2021/06/28/parallel-execution-of-postgres_fdw-scans-in-pg-14-important-step-forward-for-horizontal-scaling/

https://yugonagata-pgsql.blogspot.com/2021/06/implementing-incremental-view.html

https://lesovsky.medium.com/updates-of-postgresql-observability-diagram-66f0bbbfe021

https://www.migops.com/blog/2021/07/01/ora2pg-now-supports-oracle_fdw-to-increase-the-data-migration-speed/

http://postgis.net/2021/07/02/postgis-3.1.3/

https://www.cybertec-postgresql.com/en/postgis-setup-with-ubuntu-20-04-2/

https://www.enterprisedb.com/blog/how-deploy-pgadmin-kubernetes

https://postgresql.life/post/stefan_keller/

https://www.rubberduckdevshow.com/episodes/2-software-development-technical-project-management/

View Details

In this episode of Scaling Postgres, we discuss practical partitioning, understanding pg_repack, explaining buffers and enforcing multi-row constraints.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-14-beta-2-released-2249/

https://www.postgresvision.com/

https://vyruss.org/blog/practical-partitioning-in-production-with-postgres-postgres-vision-2021.html

https://www.percona.com/blog/2021/06/24/understanding-pg_repack-what-can-go-wrong-and-how-to-avoid-it/

https://www.depesz.com/2021/06/20/explaining-the-unexplainable-part-6-buffers/

https://www.cybertec-postgresql.com/en/postgresql-constraints-over-multiple-rows/

https://www.cybertec-postgresql.com/en/from-md5-to-scram-sha-256-in-postgresql/

https://www.depesz.com/2021/06/23/a-tale-of-making-company-wide-standard-psqlrc/

https://fabianlindfors.se/blog/schema-migrations-in-postgres/

https://pganalyze.com/blog/geodjango-postgis

https://postgresql.life/post/federico_campoli/

https://www.rubberduckdevshow.com/episodes/1-its-all-about-the-tests/

View Details

In this episode of Scaling Postgres, we discuss Redis vs. Postgres, working in the hard quadrant, how Postgres optimizes joins and working with materialized views.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://spin.atomicobject.com/2021/02/04/redis-postgresql/

https://momjian.us/main/blogs/pgblog/2021.html#June_16_2021

https://www.youtube.com/watch?v=XA3SBgcZwtE

https://www.cybertec-postgresql.com/en/creating-and-refreshing-materialized-views-in-postgresql/

https://blog.crunchydata.com/blog/fun-with-pg_checksums

https://www.cybertec-postgresql.com/en/cross-join-in-postgresql/

https://paquier.xyz/postgresql-2/postgres-14-monitoring-copy/

https://www.youtube.com/c/percona/videos

https://pgsqlpgpool.blogspot.com/2021/06/promoting-specied-node-in-pgpool-ii.html

https://blog.timescale.com/blog/how-and-why-to-become-a-postgresql-contributor/

https://postgresql.life/post/josh_berkus/

https://www.rubberduckdevshow.com/

View Details

In this episode of Scaling Postgres, we discuss only using bigint, high availability, Postgres autocommit and synchronized sequential scans.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://blog.rustprooflabs.com/2021/06/postgres-bigint-by-default

https://www.percona.com/blog/2021/06/11/postgresql-ha-with-patroni-your-turn-to-test-failure-scenarios/

https://www.cybertec-postgresql.com/en/disabling-autocommit-in-postgresql-can-damage-your-health/

https://www.cybertec-postgresql.com/en/data-warehousing-making-use-of-synchronized-seq-scans/

https://blog.crunchydata.com/blog/better-range-types-in-postgres-14-turning-100-lines-of-sql-into-3

https://www.youtube.com/watch?v=gDFIc2uaMc8

https://tapoueh.org/blog/2021/06/postgresql-as-a-microservice/

https://patternmatchers.wordpress.com/2021/06/11/ignore-nulls-in-postgres/

https://paquier.xyz/postgresql-2/postgres-14-memory-dumps/

https://blog.crunchydata.com/blog/postgresql-on-linux-counting-committed-memory

https://lesovsky.medium.com/grafana-dashboards-for-pgscv-edbcc5610ede

https://momjian.us/main/blogs/pgblog/2021.html#June_7_2021

https://www.youtube.com/c/percona/videos

https://postgresql.life/post/tom_kincaid/

View Details

In this episode of Scaling Postgres, we discuss managing autovacuum, better JSON in Postgres 14, how to avoid redundant updates and operating system tuning.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/enabling-and-disabling-autovacuum-in-postgresql/

https://blog.crunchydata.com/blog/better-json-in-postgres-with-postgresql-14

https://fluca1978.github.io/2021/06/03/PostgreSQLUpdateTrigger.html

https://www.enterprisedb.com/blog/tuning-debian-ubuntu-postgresql

https://arctype.com/blog/postgres-performance-monitoring/

https://www.percona.com/blog/2021/06/02/postgres_fdw-enhancement-in-postgresql-14/

https://paquier.xyz/postgresql-2/postgres-14-reindex-tbspace/

https://pgsqlpgpool.blogspot.com/2021/05/dropping-support-for-version-2-protocol.html

https://yugonagata-pgsql.blogspot.com/2021/05/implementing-incremental-view.html

https://www.highgo.ca/2021/05/31/getting-started-with-pg_bulkload/

https://b-peng.blogspot.com/2021/05/postgres-disaster-recovery-on-k8s.html

http://blog.cleverelephant.ca/2021/05/postgis-20-years.html

https://lesovsky.medium.com/pgscv-metrics-exporter-for-postgresql-not-only-7345f7bdbaa0

https://postgresql.life/post/nikolay_samokhvalov/

View Details

In this episode of Scaling Postgres, we discuss how to interpret explain analyze, the best ways to load data in bulk, how to limit rows affected by update or delete and using pg_buffercache.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/how-to-interpret-postgresql-explain-analyze-output/

https://www.cybertec-postgresql.com/en/postgresql-bulk-loading-huge-amounts-of-data/

https://blog.crunchydata.com/blog/simulating-update-or-delete-with-limit-in-postgres-ctes-to-the-rescue

https://fluca1978.github.io/2021/05/28/PostgreSQLMemoryFuntions.html

https://www.percona.com/blog/2021/05/27/new-features-in-postgresql-14-bulk-inserts-for-foreign-data-wrappers/

https://www.postgresql.fastware.com/blog/enhancement-to-target-session-attrs

https://www.ongres.com/blog/tracking-materialized-views-refresh-performance-with-mvstat-in-postgresql/

https://seiler.us/2021-05-23-speeding-up-pgbackrest-recovery/

https://pganalyze.com/blog/postgres-row-level-security-ruby-rails

https://paquier.xyz/postgresql-2/postgres-14-hashes/

https://postgresql.life/post/georgios_kokolatos/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 14 Beta 1, different PG 14 improvements, choosing the best type of primary key and using composite keys.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-14-beta-1-released-2213/

https://pganalyze.com/blog/postgres-14-performance-monitoring

https://www.cybertec-postgresql.com/en/uuid-serial-or-identity-columns-for-postgresql-auto-generated-primary-keys/

https://www.endpoint.com/blog/2021/05/20/database-design-using-composite-keys

https://www.youtube.com/playlist?list=PLownlFUq_rL6txMapX6UUuquqGdUINmkd

https://akorotkov.github.io/blog/2021/05/22/pg-14-query-parsing/

https://blog.crunchydata.com/blog/waiting-for-postgis-3.2-st_interpolateraster

https://www.migops.com/blog/2021/05/19/porting-array-length-from-oracle-plsql-to-postgresql-plpgsql/

https://blog.crunchydata.com/blog/pgo-4.7-the-crunchy-postgres-operator-now-with-pvc-resizing-gcs-backups-and-more

https://postgresql.life/post/magnus_hagander/

View Details

In this episode of Scaling Postgres, we discuss the newest Postgres releases, implementing a data warehouse, using exclusion operators and setting up read-only users.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/

https://www.narrator.ai/blog/using-postgresql-as-a-data-warehouse/

https://www.youtube.com/watch?v=M58MR1vqnAk

https://blog.crunchydata.com/blog/creating-a-read-only-postgres-user

https://paquier.xyz/postgresql-2/postgres-14-table-compression/

https://momjian.us/main/blogs/pgblog/2021.html#May_10_2021

https://www.cybertec-postgresql.com/en/setting-up-postgresql-streaming-replication/

https://blog.crunchydata.com/blog/tls-postgres-kubernetes-openssl

https://www.enterprisedb.com/blog/regression-analysis-postgresql-tensorflow-part-3-data-analysis

https://postgresql.life/post/laurenz_albe/

View Details

In this episode of Scaling Postgres, we discuss selecting random rows quickly, faster distinct queries, how replication handles temp and unlogged tables and how to terminate connections.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://blog.hagander.net/getting-random-rows-faster-very-much-faster-249/

https://blog.timescale.com/blog/how-we-made-distinct-queries-up-to-8000x-faster-on-postgresql/

https://fluca1978.github.io/2021/05/10/PostgreSQLUnloggedTablesReplication.html

https://www.cybertec-postgresql.com/en/terminating-database-connections-in-postgresql/

https://www.tangramvision.com/blog/creating-postgresql-test-data-with-sql-pl-pgsql-and-python

https://momjian.us/main/blogs/pgblog/2021.html#May_3_2021

https://akorotkov.github.io/blog/2021/05/06/jsonpath-double-asterisk-lax/

https://blog.crunchydata.com/blog/using-kubernetes-chances-are-you-need-a-database

https://blog.crunchydata.com/blog/the-many-spatial-indexes-of-postgis

https://blog.rustprooflabs.com/2021/05/osm2pgsql-reduced-ram-load-to-postgis

https://www.cybertec-postgresql.com/en/publishing-maps-with-geoserver-and-postgis/
https://postgresql.life/post/dave_page/

View Details

In this episode of Scaling Postgres, we discuss doing data analysis with SQL, sophisticated pgBouncer set ups, understanding how to avoid deadlocks and an intro to tuning and optimization.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://hakibenita.com/sql-for-data-analysis

https://www.enterprisedb.com/postgres-tutorials/pgbouncer-setup-extended-architecture-use-cases-and-leveraging-soreuseport

https://www.cybertec-postgresql.com/en/postgresql-understanding-deadlocks/

https://www.enterprisedb.com/postgres-tutorials/introduction-postgresql-performance-tuning-and-optimization

https://yugonagata-pgsql.blogspot.com/2021/04/implementing-incremental-view_61.html

https://blog.crunchydata.com/blog/choice-of-table-column-types-and-order-when-migrating-to-postgresql

https://www.migops.com/blog/2021/04/25/char1-to-boolean-datatype-transformation-while-migrating-to-postgresql/

https://akorotkov.github.io/blog/2021/04/30/arm/

https://arctype.com/blog/postgres-set-operators/

https://b-peng.blogspot.com/2021/04/pgpool-logging-debugging.html

https://www.cybertec-postgresql.com/en/tls-demystifying-communication-encryption-in-postgresql/

https://postgresql.life/post/corey_huinker/

View Details

In this episode of Scaling Postgres, we discuss implementing row level triggers, how to return dynamic columns using pl/pgsql, and when to use citext.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://pganalyze.com/blog/custom-postgres-data-types-ruby-rails

https://www.cybertec-postgresql.com/en/what-to-return-from-a-postgresql-row-level-trigger/

https://www.depesz.com/2021/04/21/getting-value-from-dynamic-column-in-pl-pgsql-triggers/

https://www.youtube.com/watch?v=iq8sUHYilPk

https://www.highgo.ca/2021/04/22/hash-index-internals/

https://www.highgo.ca/2021/04/19/calling-stored-procedure-from-java-part-2/

https://pgsqlpgpool.blogspot.com/2021/04/visibility-with-query-cache.html

https://postgresql.life/post/pavlo_golub/

View Details

In this episode of Scaling Postgres, we discuss 5 years of scaling lessons, working with synchronous commit, managing connections and cleaning up BLOBs.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://onesignal.com/blog/lessons-learned-from-5-years-of-scaling-postgresql/

https://momjian.us/main/blogs/pgblog/2021.html#April_14_2021

https://blog.crunchydata.com/blog/your-guide-to-connection-management-in-postgres

https://www.cybertec-postgresql.com/en/cleaning-up-large-number-blobs/

https://www.keithf4.com/managing-transaction-id-exhaustion-wraparound-in-postgresql/

https://blog.crunchydata.com/blog/postgres-is-out-of-disk-and-how-to-recover-the-dos-and-donts

https://www.cybertec-postgresql.com/en/finally-a-system-level-read-all-data-role-for-postgresql/

https://www.citusdata.com/blog/2021/04/10/talk-at-cmu-how-citus-distributes-postgresql-via-extension-apis/

https://www.enterprisedb.com/blog/benchmarking-postgresql-setting-raid-array-scratch

https://www.highgo.ca/2021/04/15/how-does-postgres-handle-external-parameters/

https://www.enterprisedb.com/blog/regression-analysis-postgresql-tensorflow-part-2-data-pre-processing

https://postgresql.life/post/devrim_gunduz/

View Details

In this episode of Scaling Postgres, we discuss tips for using psql, stories from a Postgres 13 upgrade, exploring the role hierarchy and replica scaling considerations.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://mydbanotebook.org/psql_tips_all.html

https://blog.discourse.org/2021/04/standing-on-the-shoulders-of-a-giant-elephant/

https://www.cybertec-postgresql.com/en/postgresql-get-member-roles-and-permissions/

https://momjian.us/main/blogs/pgblog/2021.html#April_9_2021

https://www.migops.com/blog/2021/04/09/pgbackrest-the-best-postgres-backup-tool-with-a-very-active-community/

https://blog.crunchydata.com/blog/announcing-google-cloud-storage-gcs-support-for-pgbackrest

https://blog.crunchydata.com/blog/introducing-pgbackrest-multiple-repository-support

https://digitalis.io/blog/postgresql/part1-postgresql-ha-patroni-etcd-haproxy/

https://digitalis.io/blog/postgresql/deploying-postgresql-for-high-availability-with-patroni-etcd-and-haproxy-part-2/

https://www.highgo.ca/2021/04/09/how-to-run-hierarchical-queries-with-postgresql/

https://www.cybertec-postgresql.com/en/getting-started-qgis-postgresql-postgis/

View Details

In this episode of Scaling Postgres, we discuss when to use tablespaces, setting up streaming replication, features coming in Postgres 14 and implementing security.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/when-to-use-tablespaces-in-postgresql/

https://www.migops.com/blog/2021/03/31/setting-up-streaming-replication-in-postgresql-13-and-streaming-replication-internals/

https://www.depesz.com/2021/04/01/waiting-for-postgresql-14-add-pg_database_owner-default-role/

https://www.depesz.com/2021/03/31/waiting-for-postgresql-14-add-date_bin-function/

https://www.depesz.com/2021/04/01/waiting-for-postgresql-14-add-unistr-function/

https://blog.crunchydata.com/blog/is-postgres-secure

https://www.youtube.com/user/EnterpriseDB/videos

https://fluca1978.github.io/2021/04/02/OOMKillerFreeBSD.html

https://b-peng.blogspot.com/2021/03/logging-pgpool-on-k8s.html

http://blog.cleverelephant.ca/2021/04/psql-binary.html

https://postgresql.life/post/jan_karremans/

View Details

In this episode of Scaling Postgres, we discuss a vacuum speed up and faster foreign tables in Postgres 14, running faster queries with union and learning about the query optimizer.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.citusdata.com/blog/2021/03/25/speeding-up-recovery-and-vacuum-in-postgres-14/

http://postgres-road.blogspot.com/2021/03/faster-bulk-insertion-to-foreign-tables.html

https://www.foxhound.systems/blog/sql-performance-with-union/

https://www.cybertec-postgresql.com/en/how-the-postgresql-query-optimizer-works/

https://www.highgo.ca/2021/03/20/how-to-check-and-resolve-bloat-in-postgresql/

https://www.depesz.com/2021/03/22/waiting-for-postgresql-14-allow-configurable-lz4-toast-compression/

https://www.citusdata.com/blog/2021/03/20/sharding-postgres-on-a-single-citus-node/

https://www.youtube.com/user/EnterpriseDB/videos

https://blog.crunchydata.com/blog/get-started-with-explain-analyze

https://www.enterprisedb.com/blog/ansible-collection-postgresql-and-edb-components

https://mydbanotebook.org/post/no_space_left_on_device/

https://blog.crunchydata.com/blog/performance-improvements-in-geos

https://www.enterprisedb.com/blog/how-get-status-cloud-native-postgresql-cluster

https://postgresql.life/post/julien_riou/

View Details

In this episode of Scaling Postgres, we discuss auto_explain's overhead, setting up a Postgres data lake, rebalancing a Citus shared database and implementing SSL authentication.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.pgmustard.com/blog/auto-explain-overhead-with-timing

https://tech.fretlink.com/build-your-own-data-lake-for-reporting-purposes/

https://www.citusdata.com/blog/2021/03/13/scaling-out-postgres-with-citus-open-source-shard-rebalancer/

https://www.cybertec-postgresql.com/en/setting-up-ssl-authentication-for-postgresql/

https://blog.crunchydata.com/blog/enhancing-postgresql-13-security-with-the-cis-benchmark-1

https://www.enterprisedb.com/blog/how-edb-postgres-stigs-can-be-used-secure-your-postgresql-database

https://www.highgo.ca/2021/03/15/monitoring-postgresql-with-nagios-and-checkmk/

https://blog.crunchydata.com/blog/musings-of-a-postgresql-data-pontiff

https://blog.crunchydata.com/blog/episode-2-hot-magick-analytics-and-graphical-output-using-pl/r-with-magick

https://www.cybertec-postgresql.com/en/traveling-salesman-problem-with-postgis-and-pgrouting/

https://pganalyze.com/blog/pg-query-2-0-postgres-query-parser

https://www.enterprisedb.com/blog/cloud-native-postgresql-application-developers

https://blog.crunchydata.com/blog/crunchy-postgres-operator-4.6.0

https://postgresql.life/post/anastasia_lubennikova/

View Details

In this episode of Scaling Postgres, we discuss Citus 10 columnar storage, using Postgres in docker containers, using notify & listen for real-time apps and tuning RHEL.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.citusdata.com/blog/2021/03/06/citus-10-columnar-compression-for-postgres/

https://www.cybertec-postgresql.com/en/running-postgres-in-docker-why-and-how/

https://blog.arctype.com/postgres-notify-for-real-time-dashboards/

https://www.enterprisedb.com/blog/tuning-red-hat-enterprise-linux-family-postgresql

https://aws.amazon.com/blogs/database/best-practices-for-amazon-rds-for-postgresql-major-upgrades-and-replicas/

https://pgsqlpgpool.blogspot.com/2021/03/speeding-up-pgbench-using-copy-freeze.html

https://www.cybertec-postgresql.com/en/postgresql-github-actions-continuous-integration/

https://postgresql.life/post/guillaume_lelarge/

View Details

In this episode of Scaling Postgres, we discuss Citus 10 open source, time series performance in native Postgres, using subscripting for updates and new target_session_attrs.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:
https://www.citusdata.com/blog/2021/03/05/citus-10-release-open-source-rebalancer-and-columnar-for-postgres/

https://aws.amazon.com/blogs/database/designing-high-performance-time-series-data-tables-on-amazon-rds-for-postgresql/

https://erthalion.info/2021/03/03/subscripting/

https://www.cybertec-postgresql.com/en/new-target_session_attrs-settings-for-high-availability-and-scaling-in-postgresql-v14/

https://www.depesz.com/2021/03/01/starting-with-pg-where-how-can-i-set-configuration-parameters/

https://www.depesz.com/2021/03/05/starting-with-pg-where-are-logs/

https://www.youtube.com/user/EnterpriseDB/videos

https://www.enterprisedb.com/blog/security-and-containers-cloud-native-postgresql

https://www.cybertec-postgresql.com/en/postgresql-getting-started-on-ubuntu/

https://www.highgo.ca/2021/03/03/how-postgresql-handles-sub-transaction-visibility-in-streaming-replication/

https://www.highgo.ca/2021/03/04/how-to-create-a-system-information-function-in-postgresql/

https://b-peng.blogspot.com/2021/02/clustering-modes-in-pgpool.html

https://www.enterprisedb.com/blog/regression-analysis-postgresql-tensorflow-part-1-getting-started

https://postgresql.life/post/david_e_wheeler/

View Details

In this episode of Scaling Postgres, we discuss connection queuing, estimating connection pools size, how to do simple auditing and how to run queries using fuzzy matching.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:
https://www.percona.com/blog/2021/02/26/connection-queuing-in-pgbouncer-is-it-a-magical-remedy/

https://www.cybertec-postgresql.com/en/estimating-connection-pool-size-with-postgresql-database-statistics/

https://mydbanotebook.org/post/auditing/

https://info.crunchydata.com/blog/fuzzy-name-matching-in-postgresql

https://www.cybertec-postgresql.com/en/postgresql-how-to-write-a-trigger/

https://www.highgo.ca/2021/02/24/postgresql-logical-replication-advantage-and-step-by-step-set-up/

https://www.citusdata.com/blog/2021/02/20/faster-data-migrations-in-postgres/

https://blog.rustprooflabs.com/2021/02/postgres-partition-openstreetmap-road-v1-review

https://blog.rustprooflabs.com/2021/02/postgres-partition-openstreetmap-road-v2-review

https://postgresql.life/post/takayuki_tsunakawa/

View Details

In this episode of Scaling Postgres, we discuss how to convert an integer primary key to a bigint, how container resistance is futile, how the optimizer uses statistics and how to set manual statistics.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.youtube.com/watch?v=aVty0_qcPzM

https://info.crunchydata.com/blog/deep-postgresql-thoughts-resistance-to-containers-is-futile

https://www.cybertec-postgresql.com/en/postgresql-analyze-and-optimizer-statistics/

https://www.cybertec-postgresql.com/en/postgresql-create-statistics-advanced-query-optimization/

https://aaronbos.dev/posts/query-postgresql-json

https://info.crunchydata.com/blog/tentative-smarter-query-optimization-in-postgres-starts-with-pg_stat_statements

https://blog.rustprooflabs.com/2021/02/postgres-postgis-why-partition-openstreetmap

https://blog.rustprooflabs.com/2021/02/postgres-postgis-partition-openstreetmap-road

https://info.crunchydata.com/blog/arcgis-feature-service-to-postgis-the-qgis-way

https://postgresql.life/post/valeria_kaplan/

View Details

In this episode of Scaling Postgres, we discuss new PostgreSQL releases, reconnecting after a connection failure, Babelfish SQL Server compatibility and troubleshooting disk and memory issues.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/

https://www.citusdata.com/blog/2021/02/12/reconnecting-your-app-after-a-postgres-failover/

https://postgresql.fund/blog/babelfish-the-elephant-in-the-room/

https://www.highgo.ca/2021/02/08/troubleshooting-performance-issues-due-to-disk-and-ram/

https://www.depesz.com/2021/02/12/starting-with-pg-where-is-the-config/

https://www.depesz.com/2021/02/09/why-is-there-database-named-postgres/

https://www.highgo.ca/2021/02/12/exploring-sql-command-changes-in-pg-14/

https://fluca1978.github.io/2021/02/08/PostgreSQLToastCorruption.html

https://info.crunchydata.com/blog/deep-postgresql-thoughts-the-linux-assassin

https://info.crunchydata.com/blog/kubernetes-pod-tolerations-and-postgresql-deployment-strategies

https://www.cybertec-postgresql.com/en/patroni-environment-setup-postgresql-high-availability-for-windows/

https://www.cybertec-postgresql.com/en/catchment-areas-with-postgresql-and-postgis/

https://pgstef.github.io/2021/02/10/check_pgbackrest_2_0.html

https://postgresql.life/post/hubert_lubaczewski/

View Details

In this episode of Scaling Postgres, we discuss cleaning up your database, function performance, 11 million IOPS and change data capture.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://hakibenita.com/postgresql-unused-index-size

https://info.crunchydata.com/blog/cleaning-up-your-postgres-database

https://www.ongres.com/blog/boost-your-user-defined-functions-in-postgresql/

https://tanelpoder.com/posts/11m-iops-with-10-ssds-on-amd-threadripper-pro-workstation/

https://info.crunchydata.com/blog/postgres-change-data-capture-with-debezium

https://www.cybertec-postgresql.com/en/postgresql-what-is-a-checkpoint/

https://www.youtube.com/user/EnterpriseDB/videos

https://blog.rustprooflabs.com/2021/02/postgresql-sqlite-fdw-pihole

https://www.percona.com/blog/2021/02/01/postgresql-database-security-authentication/

https://info.crunchydata.com/blog/postgres-and-crypto-supply-chain-of-integrity

https://www.depesz.com/2021/02/04/waiting-for-postgresql-14-search-and-cycle-clauses/

https://www.highgo.ca/2021/02/03/how-postgresql-inserts-a-new-record-with-the-help-of-table-access-method-api-and-buffer-manager/

https://info.crunchydata.com/blog/gitops-postgres-kubernetes

https://b-peng.blogspot.com/2021/01/statistics-in-pgpool.html

http://lin-ear-th-inking.blogspot.com/2021/02/overlayng-and-invalid-geometry.html

https://www.cybertec-postgresql.com/en/pg_timetable-asynchronous-chain-execution/

https://postgresql.life/post/alexander_sosna/

View Details

In this episode of Scaling Postgres, we discuss scaling advice, a vicious cycle of WAL writes, how to improve observability and addressing database corruption.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/postgres-scaling-advice-for-2021/

https://mydbanotebook.org/post/vicious-circle/

https://pgdash.io/blog/postgres-observability.html

https://www.highgo.ca/2021/01/27/avoiding-identifying-and-dealing-with-postgresql-database-corruption-part-1/

https://tech.coffeemeetsbagel.com/our-journey-to-postgresql-12-3d6ee15d305a

https://www.cybertec-postgresql.com/en/monitoring-replication-pg_stat_replication/

https://www.depesz.com/2021/01/28/how-to-run-some-tasks-without-user-intervention-at-specific-times-part-2/

https://www.youtube.com/watch?v=ndtN6vYhyUU

https://www.percona.com/blog/2021/01/28/how-to-create-postgresql-custom-builds-and-debian-packages/

https://www.highgo.ca/2021/01/25/a-preliminary-exploration-of-dynamic-hashing-in-postgresql/

https://info.crunchydata.com/blog/set-up-tls-for-postgresql-in-kubernetes

https://info.crunchydata.com/blog/deploy-tls-for-pgbouncer-in-kubernetes

https://elephanttamer.net/?p=55

https://blog.rustprooflabs.com/2021/01/pgosm-flex-improved-openstreetmap-places-postgis

https://postgresql.life/post/franck_pachot/

View Details

In this episode of Scaling Postgres, we discuss tests of Postgres on ARM processors, 2021 tips & tricks, working with hierarchical structures and creating a benchmarking framework.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.percona.com/blog/2021/01/22/postgresql-on-arm-based-aws-ec2-instances-is-it-any-good/

https://www.cybertec-postgresql.com/en/tips-and-tricks-to-kick-start-the-postgres-year-2021/

https://hoverbear.org/blog/postgresql-hierarchical-structures/

https://markwkm.blogspot.com/2021/01/demo-of-another-benchmarking-framework.html

https://www.depesz.com/2021/01/18/waiting-for-postgresql-14-add-pg_stat_database-counters-for-sessions-and-session-time/

https://www.depesz.com/2021/01/17/are-there-limits-to-partition-counts/

https://www.enterprisedb.com/blog/how-dave-page-episode-3-install-and-run-pgadmin-using-python-package

https://www.cybertec-postgresql.com/en/golden-proportions-in-postgresql/

https://info.crunchydata.com/blog/production-postgis-vector-tiles-caching

https://postgresql.life/post/marc_linster/

View Details

In this episode of Scaling Postgres, we discuss hash indexes, the int, float and numeric data types, features coming in Postgres 14 and data science in Postgres.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://hakibenita.com/postgresql-hash-index

https://www.cybertec-postgresql.com/en/postgresql-int4-vs-float4-vs-numeric/

https://www.depesz.com/2021/01/12/waiting-for-postgresql-14-report-progress-of-copy-commands/

https://www.depesz.com/2021/01/12/waiting-for-postgresql-14-add-idle_session_timeout/

https://info.crunchydata.com/blog/r-predictive-analytics-in-data-science-work-using-postgresql

https://www.highgo.ca/2021/01/12/the-mapping-of-oid-and-relfilenode-in-pg/

https://www.highgo.ca/2021/01/15/how-postgresql-executes-sequential-scans-with-the-help-of-table-access-methods-apis/

http://smalldatum.blogspot.com/2021/01/sysbench-in-memory-postgres-postgres-is.html

https://www.depesz.com/2021/01/15/how-to-run-some-tasks-without-user-intervention-at-specific-times/

https://postgresql.life/post/gunnar_bluth/

View Details

In this episode of Scaling Postgres, we discuss PostgreSQL as the DBMS of the year, running better data migrations, the impact of idle connections and a security implementation guild.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://db-engines.com/en/blog_post/85

https://medium.com/doctolib/stop-worrying-about-postgresql-locks-in-your-rails-migrations-3426027e9cc9

https://aws.amazon.com/blogs/database/resources-consumed-by-idle-postgresql-connections/

https://aws.amazon.com/blogs/database/performance-impact-of-idle-postgresql-connections/

https://www.depesz.com/2021/01/08/how-to-limit-rows-to-at-most-n-per-category-fix/

https://info.crunchydata.com/blog/announcing-the-crunchy-data-postgresql-stig

https://www.percona.com/blog/2021/01/04/postgresql-database-security-what-you-need-to-know/

https://fluca1978.github.io/2021/01/03/PostgreSQLSingleUserModeP.html

https://info.crunchydata.com/blog/using-r-in-postgres-for-logistic-regression-modeling-1

https://blog.rustprooflabs.com/2021/01/postgis-openstreetmap-flex-structure

https://postgresql.life/post/amit_langote/

View Details

In this episode of Scaling Postgres, we discuss setting up active-active instances with federation, the impact of memory speed, the causes of table rewrites and the Postgres shibboleth.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://info.crunchydata.com/blog/active-active-postgres-federation-on-kubernetes

https://info.crunchydata.com/blog/postgresql-13-benchmark-memory-speed-vs.-tps

https://www.thatguyfromdelhi.com/2020/12/what-postgres-sql-causes-table-rewrite.html

https://www.cybertec-postgresql.com/en/the-shibboleth-of-postgresql/

https://www.youtube.com/channel/UCjowqBHD53OEHUtxuLj2JYg/videos

https://www.highgo.ca/2020/12/29/checkpoints-in-postgresql/

https://www.depesz.com/2020/12/24/how-to-install-and-configure-postgresql-debian-ubuntu-for-developer-use-part-1/

https://www.depesz.com/2020/12/29/how-to-install-and-configure-postgresql-debian-ubuntu-for-developer-use-part-2/

https://www.depesz.com/2020/12/21/waiting-for-postgresql-14-pg_stat_statements-track-time-at-which-all-statistics-were-last-reset/

https://www.depesz.com/2020/12/21/waiting-for-postgresql-14-multirange-datatypes/

https://www.depesz.com/2020/12/20/waiting-for-postgresql-14-allow-subscripting-of-hstore-values/

https://info.crunchydata.com/blog/postgresql-pl/python-and-scipy/numpy-for-processing-images

https://people.planetpostgresql.org/devrim/index.php?/archives/106-What-is-new-in-PostgreSQL-13-RPMs.html

https://people.planetpostgresql.org/devrim/index.php?/archives/108-LLVM-issues-with-PostgreSQL-YUM-repository-on-CentOS-8.html

https://people.planetpostgresql.org/devrim/index.php?/archives/109-RPM-repository-for-unsupported-PostgreSQL-releases-distros.html

https://people.planetpostgresql.org/devrim/index.php?/archives/107-Installing-PostGIS-3.1-and-PostgreSQL-13-on-CentOS-8.html

https://info.crunchydata.com/blog/loading-data-into-postgis-an-overview

https://b-peng.blogspot.com/2020/12/load-balancing-in-pgpool.html

https://pgsqlpgpool.blogspot.com/2020/12/timeouts-in-pgpool-ii-connections.html

View Details

In this episode of Scaling Postgres, we discuss the PGMiner botnet attack, how collation changes can cause index corruption, managing your postgresql.conf and implementing custom data types.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.zdnet.com/article/pgminer-botnet-attacks-weakly-secured-postgresql-databases/

https://www.citusdata.com/blog/2020/12/12/dont-let-collation-versions-corrupt-your-postgresql-indexes/

https://www.ongres.com/blog/repository-tuning-guide-api-postgresql-conf/

https://pganalyze.com/blog/custom-postgres-data-types-django-python

https://www.ongres.com/blog/free-1gb-postgres-database-on-aws-cloudshell/

https://info.crunchydata.com/blog/postgis-raster-and-crunchy-bridge

https://www.cybertec-postgresql.com/en/postgresql-exclusive-cron-jobs-using-pg_timetable-scheduler/

View Details

In this episode of Scaling Postgres, we discuss a Mongo to Postgres migration, the best way to bulk load data, running an update vs. an upgrade and benchmarks for UUIDs.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://blog.coinbase.com/seamless-mongodb-to-postgresql-migration-127735cc989c

https://www.highgo.ca/2020/12/08/bulk-loading-into-postgresql-options-and-comparison/

https://www.cybertec-postgresql.com/en/upgrading-and-updating-postgresql/

https://shusson.info/post/benchmark-v4-uuid-generation-in-postgres

https://info.crunchydata.com/blog/using-pl/pgsql-to-calculate-new-postgres-columns

https://www.highgo.ca/2020/12/08/whats-the-special-for-logical-level-of-postgresql-wal/

https://info.crunchydata.com/blog/waiting-for-postgis-3.1-geos-3.9

https://blog.rustprooflabs.com/2020/12/osm2gpsql-flex-output-to-postgis

https://postgresql.life/post/carole_arnaud/

View Details

In this episode of Scaling Postgres, we discuss Microsoft SQL server compatibility, the performance of time series DBs, DB feature casualties and how to clean up BLOBs.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.ongres.com/blog/aws_announces_open_source_postgres_with_sql_server_compatibility/

https://aws.amazon.com/blogs/opensource/want-more-postgresql-you-just-might-like-babelfish/

https://blog.timescale.com/blog/timescaledb-vs-amazon-timestream-6000x-higher-inserts-175x-faster-queries-220x-cheaper/

https://brandur.org/large-database-casualties

https://www.cybertec-postgresql.com/en/blob-cleanup-in-postgresql/

https://www.enterprisedb.com/blog/infographic-5-things-include-your-postgresql-security-checklist

https://www.revenuecat.com/blog/pgbouncer-on-aws-ecs

https://www.percona.com/blog/2020/12/01/how-pgbackrest-is-addressing-slow-postgresql-wal-archiving-using-asynchronous-feature/

https://info.crunchydata.com/blog/replacing-lines-of-code-with-2-little-regexs-in-postgresql

https://b-peng.blogspot.com/2020/11/gpool2-on-k8s.html

https://erthalion.info/2020/11/28/evolution-of-btree-index-am/

https://blog.rustprooflabs.com/2020/11/postgis-trajectory-intro

https://www.highgo.ca/2020/12/04/2020-pg-asia-conference-ended-successfully-at-an-unprecedented-scale/

https://postgresql.life/post/stephane_schildknecht/

View Details

In this episode of Scaling Postgres, we discuss inserts vs. updates, select * performance, how to set up Debezium and methods to standardize data.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/insert-only-data-modelling-to-smooth-peaks-on-slow-disks/

https://tanelpoder.com/posts/reasons-why-select-star-is-bad-for-sql-performance/

https://elephanttamer.net/?p=50

https://info.crunchydata.com/blog/postgres-the-batteries-included-database

https://info.crunchydata.com/blog/using-postgresql-for-statistics-centering-and-standardizing-data

https://www.highgo.ca/2020/11/26/postgresql-high-availability-setup-and-uptime-considerations/

https://www.citusdata.com/blog/2020/11/21/making-postgres-stored-procedures-9x-faster-in-citus/

https://pgstef.github.io/2020/11/21/combining_pgbackrest_dedicated_repository_host_and_streaming_replication.html

https://www.pgbouncer.org/2020/11/pgbouncer-1-15-0

https://info.crunchydata.com/blog/waiting-for-postgis-3.1-grid-generators

https://postgresql.life/post/pavel_stehule/

View Details

In this episode of Scaling Postgres, we discuss an unattended upgrade, ARM Postgres benchmarks, how to explore new databases and PostGIS performance.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://seiler.us/2020-11-18-unattended-upgrades/

https://info.crunchydata.com/blog/postgresql-benchmarks-apple-arm-m1-macbook-pro-2020

https://www.craigkerstiens.com/2020/11/14/exploring-a-new-postgres-database/

https://info.crunchydata.com/blog/waiting-for-postgis-3.1-performance

http://blog.cleverelephant.ca/2020/11/waiting-for-postgis-3-1-mvt.html

https://elephanttamer.net/?p=47

https://www.commandprompt.com/blog/is-of/

https://www.youtube.com/watch?v=qpdiR4NnxK0

https://arunsori.me/posts/postgres-clickhouse-fdw-in-go/

http://postgis.net/2020/11/20/postgis-3.0.3/

https://www.citusdata.com/blog/2020/11/14/citus-9-5-whats-new/

https://rjuju.github.io/postgresql/2020/11/17/queryid-reporting-in-plpgsql_check.html

https://www.cybertec-postgresql.com/en/pg_timetable-v3-is-out/

https://postgresql.life/post/markus_wanner/

View Details

In this episode of Scaling Postgres, we discuss replication conflicts, how Postgres is governed, a pg_crash utility and tracking temporal spatial data with Mobility.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/

https://www.cybertec-postgresql.com/en/streaming-replication-conflicts-in-postgresql/

https://postgresql.fund/blog/is-it-time-to-modernize-postgresql-core/

https://www.cybertec-postgresql.com/en/pg_crash-crashing-postgresql-automatically/

https://www.citusdata.com/blog/2020/11/09/analyzing-gps-trajectories-at-scale-with-postgres-mobilitydb/

https://www.mohitkhare.com/blog/postgres-constraints/

https://www.youtube.com/c/percona/videos

https://www.youtube.com/watch?v=G8wDjV0N9tk

https://info.crunchydata.com/blog/postgres-streaming-replication-on-windows-a-quick-guide

https://www.2ndquadrant.com/en/blog/webinar-commit-without-fear-the-beauty-of-camo-follow-up/

https://postgresql.life/post/kaarel_moppel/

https://www.postgresql.org/about/news/postgresql-weekly-news-november-8-2020-2105/

View Details

In this episode of Scaling Postgres, we discuss Postgres weekly news, full-text search performance, enhancements to pg_cron and the best way to bulk load data.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/new-postgresql-core-team-members-2103/

https://www.postgresql.org/about/news/postgresql-weekly-news-november-1-2020-2101/

https://www.2ndquadrant.com/en/blog/full-text-search-since-postgresql-8-3/

https://www.citusdata.com/blog/2020/10/31/evolving-pg-cron-together/

https://www.2ndquadrant.com/en/blog/webinar-best-practices-for-bulk-data-loading-in-postgresql-follow-up/

https://www.cybertec-postgresql.com/en/having-a-2nd-look-at-postgres-v13-improvements/

https://www.youtube.com/c/percona/videos

https://www.enterprisedb.com/blog/provisioning-postgresql-cluster-terraform-and-ansible

https://www.youtube.com/watch?v=nsA1WanDFAs

https://www.2ndquadrant.com/en/blog/random-numbers/

https://info.crunchydata.com/blog/election-night-prediction-modeling-using-pl/r-in-postgres

https://b-peng.blogspot.com/2020/10/pgpool2-exporter.html

https://www.highgo.ca/2020/11/07/how-to-analyze-a-postgresql-crash-dump-file/

https://blog.rustprooflabs.com/2020/11/postgis-find-local-srid

https://swarm64.com/post/announcing-swarm64da-5/

https://postgresql.life/post/elein_mustain/

View Details

In this episode of Scaling Postgres, we discuss scaling connections, the release of TimescaleDB 2.0, how to find time-series gaps and monitoring RED & Golden signals.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.citusdata.com/blog/2020/10/25/improving-postgres-connection-scalability-snapshots/

https://blog.timescale.com/blog/timescaledb-2-0-a-multi-node-petabyte-scale-completely-free-relational-database-for-time-series/

https://www.endpoint.com/blog/2020/10/26/postgresql-finding-gaps-in-time-series-data

https://www.cybertec-postgresql.com/en/postgresql-foreign-keys-and-insertion-order-in-sql/

https://www.cybertec-postgresql.com/en/postgresql-clustering-vip-manager/

https://dataegret.com/2020/10/postgresql-red-golden-signals-getting-started/

https://www.citusdata.com/blog/2020/10/28/migrating-interactive-analytics-apps-from-redshift-to-postgres/

https://postgrespro.co.il/blog/joins-using-like-or-why-postgresql-fts-is-a-powerful-alternative/

https://info.crunchydata.com/blog/randomly-sampling-data-using-sql-and-postgresql

https://www.youtube.com/channel/UCqX_FVBw4RL-DMDwZ_H86gg/

https://pgdash.io/blog/postgres-13-getting-started.html

https://fluca1978.github.io/2020/10/28/LearnPostgreSQL.html

https://postgresql.life/post/stefan_fercot/

View Details

In this episode of Scaling Postgres, we discuss the impact of toast, zheap storage results, more Postgres 13 performance data and changes to pg_rewind.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/statement-from-the-postgresql-core-team-on-the-edb-acquisition-of-2ndquadrant-2094/

https://hakibenita.com/sql-medium-text-performance

https://www.cybertec-postgresql.com/en/zheap-inspecting-storage-sizes/

https://blog.rustprooflabs.com/2020/10/postgres13-openstreetmap-performance

https://www.2ndquadrant.com/en/blog/tpc-h-performance-since-postgresql-8-3/

https://sql-info.de/postgresql/notes/pg-rewind-changes-in-postgresql-13.html

https://elephanttamer.net/?p=43

https://info.crunchydata.com/blog/logical-replication-upgrade-in-postgres

https://severalnines.com/database-blog/how-upgrade-postgresql-11-postgresql-12-zero-downtime

https://info.crunchydata.com/blog/1-using-postgresql-to-shape-and-prepare-scientific-data

https://www.highgo.ca/2020/10/20/the-way-to-store-null-value-in-pg-record/

https://www.highgo.ca/2020/10/23/free-space-mapping-file-in-details/

https://postgresql.life/post/damien_clochard/

View Details

In this episode of Scaling Postgres, we discuss stat tracking, temporary tables, a new utility called pg_squeeze and an update to pg_auto_failover.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://pgcraftsman.io/2020/10/15/tracking-postgres-stats/

https://www.cybertec-postgresql.com/en/postgresql-sophisticating-temporary-tables/

https://www.cybertec-postgresql.com/en/pg_squeeze-optimizing-postgresql-storage/

https://www.citusdata.com/blog/2020/10/10/whats-new-in-pg-auto-failover/

https://blog.arkency.com/multitenancy-with-postgres-schemas-key-concepts-explained/

https://info.crunchydata.com/blog/postgresql-monitoring-for-app-developers-alerts-troubleshooting

https://info.crunchydata.com/blog/tuning-your-postgres-database-for-high-write-loads

https://dataegret.com/2020/10/postgres-13-observability-updates/

http://blog.cleverelephant.ca/2020/10/podcasts.html

https://postgresql.life/post/greg_sabino_mullane/

View Details

In this episode of Scaling Postgres, we discuss connection scalability, benchmarking Postgres performance, the community impact of an acquisition and the progress of zheap.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.citusdata.com/blog/2020/10/08/analyzing-connection-scalability/

https://blog.anarazel.de/2020/10/07/measuring-the-memory-overhead-of-a-postgres-connection/

https://www.postgresql.org/message-id/20200301083601.ews6hz5dduc3w2se@alap3.anarazel.de

https://www.2ndquadrant.com/en/blog/oltp-performance-since-postgresql-8-3/

https://www.enterprisedb.com/blog/postgresql-tpc-c-benchmarks-postgresql-12-vs-postgresql-13-performance

https://momjian.us/main/blogs/pgblog/2020.html#October_7_2020

https://www.enterprisedb.com/blog/edb-community-acquisition-statement

https://www.cybertec-postgresql.com/en/zheap-reinvented-postgresql-storage/

https://pawelurbanek.com/postgresql-fix-performance

https://www.enterprisedb.com/blog/logical-decoding-large-progress-transactions-postgresql

https://www.2ndquadrant.com/en/blog/webinar-highway-to-zero-downtime-postgresql-upgrades-follow-up/

https://www.endpoint.com/blog/2020/10/02/postgresql-binary-search-correlated-data-cte

https://info.crunchydata.com/blog/postgresql-monitoring-application-developers-os-stats

https://www.highgo.ca/2020/10/09/heap-file-and-page-in-details/

https://www.highgo.ca/2020/10/08/configuring-pgpool-ii-watchdog-its-going-to-be-a-lot-easier/

https://info.crunchydata.com/blog/setup-postgresql-monitoring-in-kubernetes

https://www.depesz.com/2020/10/05/waiting-for-postgresql-14-support-for-out-parameters-in-procedures/

https://postgresql.life/post/andreas_kretschmer/

View Details

In this episode of Scaling Postgres, we discuss a company acquisition within the Postgres community, how to save terabytes of space, setting up WAL archiving and vacuum/analyze tips.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.enterprisedb.com/news/edb-completes-acquisition-2ndquadrant-becomes-largest-dedicated-provider-postgresql-products

https://www.enterprisedb.com/blog/how-edb-became-leader-postgres-market

https://medium.com/braintree-product-technology/postgresql-at-scale-saving-space-basically-for-free-d94483d9ed9a

https://www.highgo.ca/2020/10/01/postgresql-wal-archiving-and-point-in-time-recovery/

https://www.2ndquadrant.com/en/blog/postgresql-vacuum-and-analyze-best-practice-tips/

https://www.percona.com/blog/2020/09/30/postgresql_fdw-authentication-changes-in-postgresql-13/

https://www.percona.com/blog/2020/10/01/postgresql-13-new-feature-dropdb-force/

https://www.cybertec-postgresql.com/en/a-quick-look-at-postgresql-13-rc1-query-performance/

https://info.crunchydata.com/blog/postgresql-13-upgrade-and-performance-check-on-ubuntu

https://www.2ndquadrant.com/en/blog/postgresql-a-community-project/

https://pganalyze.com/blog/postgis-rails-geocoder

https://www.highgo.ca/2020/09/30/pgpool-ii-4-2-features/

https://b-peng.blogspot.com/2020/09/how-to-configure-scram-and-md5.html

https://postgresql.life/post/thomas_munro/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 13, what is new in Postgres 13, how to debug PL/PGSQL and Postgres monitoring best practices.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/postgresql-13-released-2077/

https://pganalyze.com/blog/postgres13-better-performance-monitoring-usability

https://www.enterprisedb.com/blog/whats-new-postgresql-13

https://www.2ndquadrant.com/en/blog/new-features-in-postgresql-13-full-webinar-video/

https://www.youtube.com/watch?v=wIRbpkQbioY

https://www.cybertec-postgresql.com/en/debugging-pl-pgsql-get-stacked-diagnostics/

https://www.youtube.com/watch?v=wulQlXaXOxc

https://hakibenita.com/sql-anomaly-detection

https://www.highgo.ca/2020/09/25/in-memory-table-with-pluggable-storage-api/

https://info.crunchydata.com/blog/announcing-crunchy-bridge-a-modern-postgres-as-a-service

https://info.crunchydata.com/blog/mapping-data-types-in-pl/python

https://info.crunchydata.com/blog/using-postgres-and-pg-routing-to-explore-the-smooth-waves-of-yacht-rock

https://www.citusdata.com/blog/2020/09/19/delivering-45x-faster-percentiles/

https://blog.timescale.com/blog/building-open-source-business-in-cloud-era-v2/

https://postgresql.life/post/dan_langille/

View Details

In this episode of Scaling Postgres, we discuss the release of Postgres 13 RC1, how to upgrade Postgres at scale, using limit with ties and understanding Heap Only Tuple (HOT) updates.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/2072/

https://about.gitlab.com/blog/2020/09/11/gitlab-pg-upgrade/

https://www.2ndquadrant.com/en/blog/postgresql-13-limit-with-ties/

https://www.cybertec-postgresql.com/en/hot-updates-in-postgresql-for-better-performance/

https://www.2ndquadrant.com/en/blog/7-best-practice-tips-for-postgresql-bulk-data-loading/

https://info.crunchydata.com/blog/postgresql-13-hidden-gems

https://info.crunchydata.com/blog/exploring-plpy-turn-postgres-table-data-into-a-numpy-array

https://momjian.us/main/writings/pgsql/AI.pdf

https://www.citusdata.com/blog/2020/09/17/citus-and-postgres-at-any-scale/

https://postgresql.life/post/anthony_nowocien/

View Details

In this episode of Scaling Postgres, we discuss slow WAL archival, index improvements coming for Postgres 13, accessing node metrics via SQL and deciding between a join or subquery.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.percona.com/blog/2020/09/09/why-postgresql-wal-archival-is-slow/

https://www.percona.com/blog/2020/09/10/index-improvements-in-postgresql-13/

https://blog.rustprooflabs.com/2020/09/postgres-beta3-btree-dedup

https://info.crunchydata.com/blog/postgresql-node-metrics-pgnodemx

https://info.crunchydata.com/blog/joins-or-subquery-in-postgresql-lessons-learned

https://www.cybertec-postgresql.com/en/generating-a-normal-distribution-in-sql/

https://www.2ndquadrant.com/en/blog/which-partition-contains-a-specific-row-in-my-postgresql-database/

https://blog.hagander.net/fdws-curl-and-limit-247/

https://www.2ndquadrant.com/en/blog/pg-phriday-10-things-postgres-could-improve-part-3/

https://momjian.us/main/writings/pgsql/hard.pdf

https://www.youtube.com/watch?v=2Nhbk1lFLy4

https://www.depesz.com/2020/09/08/waiting-for-postgresql-14-add-support-for-partitioned-tables-and-indexes-in-reindex/

https://pg.uptrace.dev/zfs/

https://postgresql.life/post/regina_obe/

View Details

In this episode of Scaling Postgres, we discuss external compression, vacuuming in parallel, working with JSON Aggregates and the JSON & Array datatypes.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://amitdkhan-pg.blogspot.com/2020/08/need-for-external-compression-methods.html

https://www.2ndquadrant.com/en/blog/parallelism-comes-to-vacuum/

https://blog.k-nut.eu/postgres-json-aggregate-functions

https://www.2ndquadrant.com/en/blog/webinar-json-array-contemporary-postgresql-data-types-follow-up/

https://www.2ndquadrant.com/en/blog/how-to-get-the-best-out-of-postgresql-logs/

https://www.cybertec-postgresql.com/en/postgresql-vs-postgresql-vs-postgre-vs-oracle-vs-all-the-rest/

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-cursors-and-ltrees/

https://info.crunchydata.com/blog/three-easy-things-to-remember-about-postgres-indexes

https://severalnines.com/database-blog/overview-trusted-extensions-postgresql-13

https://www.highgo.ca/2020/09/03/postgresql-backups/

https://pgstef.github.io/2020/09/04/combining_pgbackrest_and_streaming_replication.html

https://postgresql.life/post/marco_slot/

View Details

In this episode of Scaling Postgres, we discuss 28 tips & tricks, Postgres 13 is lucky, autovacuum tuning and logical replication pitfalls.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://pgdash.io/blog/postgres-tips-and-tricks.html

https://info.crunchydata.com/blog/why-postgresql-13-is-a-lucky-release

https://www.cybertec-postgresql.com/en/tuning-autovacuum-postgresql/

https://elephanttamer.net/?p=35

https://www.youtube.com/watch?v=eDkwqAZ-rpk

https://b-peng.blogspot.com/2020/08/authentication-in-pgpool.html

https://info.crunchydata.com/blog/using-postgres-to-back-prometheus-for-your-postgresql-monitoring-1

https://www.highgo.ca/2020/08/28/who-is-spending-wal-crazily/

https://www.2ndquadrant.com/en/blog/advanced-partition-matching-for-partition-wise-join/

https://www.depesz.com/2020/08/24/waiting-for-postgresql-14-pg_stat_statements-track-number-of-rows-processed-by-some-utility-commands/

https://info.crunchydata.com/blog/preventing-sql-injection-attacks-in-postgresql

https://postgresql.life/post/renee_phillips/

View Details

In this episode of Scaling Postgres, we discuss speeding up performance with statistics, setting synchronous_commit, updates to TLS settings and how to avoid cursors.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://build.affinity.co/how-we-used-postgres-extended-statistics-to-achieve-a-3000x-speedup-ea93d3dcdc61

https://www.percona.com/blog/2020/08/21/postgresql-synchronous_commit-options-and-synchronous-standby-replication/

https://www.highgo.ca/2020/08/21/tls-related-updates-in-postgresql-13/

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-cursors-and-common-table-expressions/

https://www.enterprisedb.com/blog/8-cool-interesting-facts-things-postgresql-can-do

https://www.2ndquadrant.com/en/blog/updating-the-postgresql-root-crt-file/

https://www.cybertec-postgresql.com/en/postgresql-group-by-expression/

https://pganalyze.com/blog/postgres-row-level-security-django-python

https://www.highgo.ca/2020/08/21/how-to-setup-postgresql-on-an-ipv6-enabled-network/

https://www.2ndquadrant.com/en/blog/webinar-similarity-queries-in-postgresql-follow-up/

https://postgresql.life/post/charles_clavadetscher/

View Details

In this episode of Scaling Postgres, we discuss recursive queries, using lateral joins, paging through a data sets efficiently and working with JSONB arrays.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/2060/

https://www.cybertec-postgresql.com/en/recursive-queries-postgresql/

https://info.crunchydata.com/blog/iterators-in-postgresql-with-lateral-joins

https://momjian.us/main/blogs/pgblog/2020.html#August_12_2020

https://engineering.shopify.com/blogs/engineering/pagination-relative-cursors

https://use-the-index-luke.com/sql/partial-results/fetch-next-page

https://levelup.gitconnected.com/working-with-a-jsonb-array-of-objects-in-postgresql-d2b7e7f4db87

https://www.2ndquadrant.com/en/blog/running-multiple-pgbouncer-instances-with-systemd/

https://www.highgo.ca/2020/08/08/partitioning-improvements-in-postgresql-13/

https://www.highgo.ca/2020/08/10/postgresql-high-availability-the-considerations-and-candidates/

https://www.highgo.ca/2020/08/11/consensus-based-failover-with-pgpool-ii/

https://info.crunchydata.com/blog/recommendation_engine_in_postgres_with_pandas_and_python

https://postgresql.life/post/michael_brewer/

View Details

In this episode of Scaling Postgres, we discuss BRIN pitfalls, using pg_stat_statements for troubleshooting, natural joins to detect duplicates and the geography type.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://info.crunchydata.com/blog/avoiding-the-pitfalls-of-brin-indexes-in-postgres

https://www.cybertec-postgresql.com/en/a-quick-pg_stat_statements-troubleshooting-hack/

https://blog.jooq.org/2020/08/05/use-natural-full-join-to-compare-two-tables-in-sql/

https://info.crunchydata.com/blog/postgis-and-the-geography-type

https://www.2ndquadrant.com/en/blog/webinar-being-committed-a-review-of-transaction-control-statements-3-3-follow-up/

https://www.ongres.com/blog/a_generalized_unstructured_data_type_for_postgres/

https://supabase.io/blog/2020/08/02/continuous-postgresql-backup-walg/

https://www.2ndquadrant.com/en/blog/nss-on-windows-for-postgresql-development/

https://postgresql.life/post/tatsuo_ishii/

View Details

In this episode of Scaling Postgres, we discuss suggestions for scaling postgres, replication slots safety, implementing scram password authentication with channel binding and setting effective_cache_size.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://hakibenita.com/sql-tricks-application-dba

https://stribny.name/blog/2020/07/scaling-relational-sql-databases

https://www.2ndquadrant.com/en/blog/pg13-slot-size-limit/

https://www.depesz.com/2020/07/27/waiting-for-postgresql-14-rename-wal_keep_segments-to-wal_keep_size/

https://www.citusdata.com/blog/2020/07/28/securely-authenticate-with-scram-in-postgres-13/

https://www.percona.com/blog/2020/07/28/migrating-to-postgresql-version-13-incompatibilities-you-should-be-aware-of/

https://www.cybertec-postgresql.com/en/effective_cache_size-a-practical-example/

https://www.2ndquadrant.com/en/blog/webinar-being-committed-a-review-of-transaction-control-statements-1-3-follow-up-2/

https://www.sqlstyle.guide/

https://momjian.us/main/blogs/pgblog/2020.html#July_29_2020

https://info.crunchydata.com/blog/announcing-pgbackrest-for-azure-fast-reliable-postgres-backups

https://b-peng.blogspot.com/2020/07/connection-pooling-in-pgpool.html

https://amitdkhan-pg.blogspot.com/2020/07/backtraces-in-postgresql.html

https://postgresql.life/post/gilberto_castillo/

View Details

In this episode of Scaling Postgres, we discuss how best to migrate to using partitions, like & ilike performance, determining the best fillfactor and the work towards in-memory tables.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.2ndquadrant.com/en/blog/partitioning-a-large-table-without-a-long-running-lock/

https://www.cybertec-postgresql.com/en/postgresql-more-performance-for-like-and-ilike-statements/

https://www.cybertec-postgresql.com/en/what-is-fillfactor-and-how-does-it-affect-postgresql-performance/

https://www.highgo.ca/2020/07/24/approaches-to-achieve-in-memory-table-storage-with-postgresql-pluggable-api/

https://www.2ndquadrant.com/en/blog/webinar-being-committed-a-review-of-transaction-control-statements-1-3-follow-up/

https://www.enterprisedb.com/blog/monitoring-postgresql-database-system-activities-performance-system-stats-extension

https://www.enterprisedb.com/blog/maintaining-postgresql-for-high-performance-what-is-wrong-or-right-what-consider

https://www.2ndquadrant.com/en/blog/unicode-normalization-in-postgresql-13/

https://www.2ndquadrant.com/en/blog/how-to-monitor-postgresql-12-performance-with-omnidb-part-2/

https://www.2ndquadrant.com/en/blog/barman-2-11-barman-cloud-restore-and-barman-cloud-wal-restore/

https://pgsqlpgpool.blogspot.com/2020/07/snapshot-isolation-mode.html

https://postgresql.life/post/umair_shahid/

View Details

In this episode of Scaling Postgres, we discuss working with JSONB types, calculating earth distance, utilizing dates, times & intervals and Postgres authentication.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://momjian.us/main/blogs/pgblog/2020.html#July_13_2020

https://adamfallon.com/2020/07/10/recreating-yikyak-with-postgres/

https://pgdash.io/blog/date-time-interval-postgres.html

https://www.enterprisedb.com/blog/how-to-secure-postgresql-database-best-practice-tips-securing-authentication-methods

https://info.crunchydata.com/blog/pgbouncer-scram-authentication-postgresql

https://supabase.io/blog/2020/07/09/postgresql-templates/

https://www.cybertec-postgresql.com/en/pgwatch2-v1-8-0-released/

https://www.2ndquadrant.com/en/blog/barman-cloud-part-2-cloud-backup/

https://postgresql.life/post/stacey_haysler/

View Details

In this episode of Scaling Postgres, we discuss determining if Postgres is fine, generated columns vs. triggers, insert features and synchronous replication usage.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.2ndquadrant.com/en/blog/its-the-end-of-the-world-as-we-know-it-and-postgres-is-fine/

https://www.ongres.com/blog/generate_columns_vs_triggers/

https://info.crunchydata.com/blog/a-walk-through-insert

https://www.youtube.com/watch?v=wLJvw5blCo8

https://www.highgo.ca/2020/07/06/features-in-pg13-deduplication-in-b-tree-indexes/

https://www.endpoint.com/blog/2020/07/02/random-strings-and-integers-that-actually-arent

https://info.crunchydata.com/blog/getting-started-with-postgresql-operator-4.3-in-openshift

https://www.highgo.ca/2020/07/11/a-simple-way-to-trace-a-bug/

https://www.cybertec-postgresql.com/en/pg_timetable-start-up-improvements/

https://postgresql.life/post/kohei_kaigai/

View Details

In this episode of Scaling Postgres, we discuss fantastic data types, custom domain data types, improving insert performance and how to query row differences.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.2ndquadrant.com/en/blog/webinar-fantastic-data-types-and-where-to-use-them-follow-up/

https://www.cybertec-postgresql.com/en/postgresql-useful-new-data-types/

https://blog.timescale.com/blog/13-tips-to-improve-postgresql-insert-performance/

https://www.cybertec-postgresql.com/en/calculating-differences-between-rows-in-sql/

https://vsevolod.net/postgresql-jsonb-index/

https://www.enterprisedb.com/blog/why-use-synchronous-replication-in-postgresql-configure-streaming-replication-wal

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-binary-objects/

https://www.youtube.com/watch?v=ykmqp_ETniE

https://www.2ndquadrant.com/en/blog/webinar-postgresql-partitioning-roadmap-follow-up/

https://www.enterprisedb.com/blog/how-to-secure-postgresql-database-best-practice-tips-server-access-firewall-encryption

https://postgresql.life/post/andrew_dunstan/

View Details

In this episode of Scaling Postgres, we discuss Postgres 13 Beta 2, a system stats extension, tuning your operating systems for Postgres and different join strategies.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/2047/

https://www.youtube.com/watch?v=G5f2dfIB4GY

https://pgsnake.blogspot.com/2020/06/systemstats-extension-for-postgresql.html

https://hunleyd.github.io/posts/tuned-PG-and-you/

https://www.cybertec-postgresql.com/en/join-strategies-and-performance-in-postgresql/

http://www.sai.msu.su/~megera/postgres/talks/json-unification-database-meetup-2020.pdf

https://www.cybertec-postgresql.com/en/postgresql-ltree-vs-with-recursive/

https://pganalyze.com/blog/active-record-subqueries-rails

https://info.crunchydata.com/blog/composite-primary-keys-postgresql-and-django

https://www.highgo.ca/2020/06/22/types-of-indexes-in-postgresql/

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-reasons-to-migrate/

https://info.crunchydata.com/blog/setup-ora2pg-for-oracle-to-postgres-migration

https://postgresql.life/post/simon_riggs/

https://www.2ndquadrant.com/en/blog/how-to-monitor-postgresql-12-performance-with-omnidb-part-1/

https://www.highgo.ca/2020/06/25/authenticating-pgpool-ii-with-ldap/

https://www.2ndquadrant.com/en/blog/how-to-use-neural-network-machine-learning-model-with-2uda-postgresql-and-orange-part-7/

View Details

In this episode of Scaling Postgres, we discuss replication complications, adding one word to boost performance, handling pgbouncer users and serializable isolation testing.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.2ndquadrant.com/en/blog/pg-phriday-10-things-postgres-could-improve-part-2/

https://jlongster.com/how-one-word-postgresql-performance

https://www.2ndquadrant.com/en/blog/understanding-user-management-in-pgbouncer/

http://jepsen.io/analyses/postgresql-12.3

https://www.2ndquadrant.com/en/blog/webinar-understanding-the-postgresql-table-page-layout-follow-up/

https://www.cybertec-postgresql.com/en/sql-trickery-hypothetical-aggregates/

https://www.cybertec-postgresql.com/en/wrapping-db2-with-postgresql/

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-basic-architecture/

https://www.citusdata.com/blog/2020/06/13/citus-9-3-release-notes/

https://postgresql.life/post/tomas_vondra/

View Details

In this episode of Scaling Postgres, we discuss safety systems, the purpose and existence of failover slots, complications with transaction IDs and how to repartition without downtime.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://momjian.us/main/blogs/pgblog/2020.html#June_8_2020

https://www.2ndquadrant.com/en/blog/failover-slots-postgresql/

https://www.2ndquadrant.com/en/blog/10-things-postgres-could-improve-part-1/

https://info.crunchydata.com/blog/control-runaway-postgres-queries-with-statement-timeout

https://blog.hagander.net/repartitioning-with-logical-replication-in-postgresql-13-246/

https://www.percona.com/blog/2020/06/09/multi-master-replication-solutions-for-postgresql/

https://www.cybertec-postgresql.com/en/composite-type-performance-issues-in-postgresql/

https://www.highgo.ca/2020/06/12/transactions-in-postgresql-and-their-mechanism/

http://blog.cleverelephant.ca/2020/04/developer-life.html

http://blog.cleverelephant.ca/2020/06/developer-life-2.html

https://info.crunchydata.com/blog/postgis-with-postgresql-operator

https://www.pgbouncer.org/2020/06/pgbouncer-1-14-0

https://www.2ndquadrant.com/en/blog/how-to-use-adaboost-machine-learning-model-with-2uda-postgresql-and-orange-part-6/

https://postgresql.life/post/oleksii_kliukin/

View Details

In this episode of Scaling Postgres, we discuss index deduplication in Postgres 13, fast hierarchical access, more essential monitoring and cloud native Postgres.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/b-tree-index-deduplication/

https://www.cybertec-postgresql.com/en/postgresql-speeding-up-recursive-queries-and-hierarchic-data/

https://pgdash.io/blog/essential-postgres-monitoring-part2.html

https://pgdash.io/blog/essential-postgres-monitoring-part3.html

https://www.2ndquadrant.com/en/blog/webinar-cloud-native-bdr-and-postgresql-follow-up/

https://www.highgo.ca/2020/06/01/optimizing-sql-simplifying-queries-with-window-functions/

https://www.percona.com/blog/2020/05/29/removing-postgresql-bottlenecks-caused-by-high-traffic/

https://www.enterprisedb.com/blog/postgresql-wal-write-ahead-logging-management-strategy-tradeoffs

https://habr.com/en/company/postgrespro/blog/504498/

https://postgresql.life/post/markus_winand/

https://info.crunchydata.com/blog/spatial-constraints-with-postgis-part-2

https://info.crunchydata.com/blog/spatial-constraints-with-postgis-in-postgresql-part-3

View Details

In this episode of Scaling Postgres, we discuss the observer effect with explain analyze, partition management, tuple freezing and sources of hung transactions.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.ongres.com/blog/explain_analyze_may_be_lying_to_you/

https://www.cybertec-postgresql.com/en/partition-management-do-you-really-need-a-tool-for-that/

https://www.cybertec-postgresql.com/en/sql-trickery-configuring-windowing-functions/

https://www.2ndquadrant.com/en/blog/webinar-tuple-freezing-transaction-wrap-around-through-pictures-follow-up/

https://richyen.com/postgres/2020/05/25/dont-leave-me-hanging.html

https://blog.timescale.com/blog/multi-node-petabyte-scale-time-series-database-postgresql-free-tsdb/

https://fluca1978.github.io/2020/05/28/PostgreSQLWalNames.html

https://fluca1978.github.io/2020/05/26/PostgreSQLEventTriggerDemo.html

https://medium.com/mode-engineering/upgrading-postgres-lessons-learned-7424a2467fdb

https://medium.com/@rsbeoriginal/partitioning-with-postgresql-v11-6fe5388c6e98

https://medium.com/@rsbeoriginal/partitioning-with-postgres-v11-2-2-2619e024a23c

https://postgresql.life/post/paul_ramsey/

https://info.crunchydata.com/blog/spatial-constraints-with-postgis-part-1

https://www.highgo.ca/2020/05/29/mongodb-logical-decoding-plugin-first-community-release-on-github/

https://agroal.github.io/pgagroal/

View Details

In this episode of Scaling Postgres, we discuss PGCon going online, application performance tips, ways to track counts and essential areas to monitor.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/2040/

https://www.pgcon.org/2020/

https://www.citusdata.com/blog/2020/05/20/postgres-tips-for-django-and-python/

https://www.cybertec-postgresql.com/en/how-to-count-hits-on-a-website-in-postgresql/

https://learnsql.com/blog/sql-window-functions-cheat-sheet/

https://pgdash.io/blog/essential-postgres-monitoring-part1.html

https://www.percona.com/blog/2020/05/21/failover-of-logical-replication-slots-in-postgresql/

https://www.enterprisedb.com/blog/how-to-upgrade-postgresql-and-upgrading-methods-costs-risks

https://www.highgo.ca/2020/05/20/phoney-table-columns-in-postgresql/

https://postgresql.life/post/dimitri_fontaine/

https://www.2ndquadrant.com/en/blog/how-to-use-logistic-regression-machine-learning-model-with-2uda-postgresql-and-orange-part-5/

View Details

In this episode of Scaling Postgres, we discuss the Postgres data directory, new vacuum features, binary storage performance and the impact of network latency.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.postgresql.org/about/news/2038/

https://people.planetpostgresql.org/devrim/index.php?/archives/104-yum-users-some-devel-RPMs-require-a-new-repository.html

https://johnnunemaker.com/postgres-distinct-on/

http://rhaas.blogspot.com/2020/05/dont-manually-modify-postgresql-data.html

http://amitkapila16.blogspot.com/2020/05/improved-autovacuum-in-postgresql-13.html

https://www.cybertec-postgresql.com/en/binary-data-performance-in-postgresql/

https://www.cybertec-postgresql.com/en/postgresql-network-latency-does-make-a-big-difference/

https://richyen.com/postgres/2020/05/15/how-to-spot-an-impostor.html

https://www.highgo.ca/2020/05/15/benefits-of-external-key-management-system-over-the-internal-and-how-they-could-help-securing-postgresql/

https://www.2ndquadrant.com/en/blog/keep-your-libraries-updated-and-nobody-gets-hurt-skip-library-updates-trigger-breakages/

https://mbeena-learnings.blogspot.com/2020/05/multicolumn-partitioning.html

https://www.enterprisedb.com/blog/how-to-use-pgbadger-log-analyzer-postgresql-query-performance

https://www.enterprisedb.com/blog/high-availibility-parameters-configuration-streaming-replication-postgresql

https://dev.to/kaleman15/fuzzy-searching-with-postgresql-97o

https://www.neilwithdata.com/advanced-sql

https://www.highgo.ca/2020/05/15/build-postgresql-and-extension-on-windows/

https://postgresql.life/post/fabrizio_de_royes_mello/

View Details

In this episode of Scaling Postgres, we discuss arm64 package support for apt, annual Postgres contributors, backup manifests & verifications and different now functions.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

http://www.df7cb.de/blog/2020/arm64-on-apt.postgresql.org.html

http://rhaas.blogspot.com/2020/05/who-contributed-to-postgresql.html

https://www.2ndquadrant.com/en/blog/backup-manifests-and-pg_verifybackup-in-postgresql-13/

https://www.cybertec-postgresql.com/en/postgresql-now-vs-nowtimestamp-vs-clock_timestamp/

https://momjian.us/main/blogs/pgblog/2020.html#May_4_2020

https://www.enterprisedb.com/blog/how-to-fix-postgresql-index-corruption-deal-repair-rebuild

https://quip.com/2gwZArKuWk7W

https://www.2ndquadrant.com/en/blog/local-persistent-volumes-and-postgresql-usage-in-kubernetes/

https://info.crunchydata.com/blog/multi-kubernetes-cluster-postgresql-deployments

https://info.crunchydata.com/blog/deploy-pgadmin4-with-postgresql-on-kubernetes

https://postgresql.life/post/jimmy_angelakos/

https://www.enterprisedb.com/blog/top-postgrsql-books-for-learning-dbas-developers

https://info.crunchydata.com/blog/routing-with-postgresql-and-crunchy-spatial

View Details

In this episode of Scaling Postgres, we discuss how to use explain analyze, the problem with counting sequences, the best books to learn Postgres and how to migrate to declarative partitioning.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.highgo.ca/2020/04/30/optimizing-sql-step-1-explain-costs-and-plans-in-postgresql-part-2/

https://www.enterprisedb.com/postgresql-query-optimization-performance-tuning-with-explain-analyze

https://www.cybertec-postgresql.com/en/speeding-up-count-why-not-use-maxid-minid/

https://www.youtube.com/watch?v=KTRB12-xeHY

https://www.2ndquadrant.com/en/blog/how-to-migrate-from-inheritance-based-partitioning-to-declarative-partitioning-in-postgresql/

https://info.crunchydata.com/blog/using-postgresql-for-json-storage

https://elephas.io/how-to-set-application_name-in-psql-command-line-utility/

https://www.2ndquadrant.com/en/blog/password-authentication-methods-in-postgresql/

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-ansi-outer-join-syntax-in-postgresql/

https://severalnines.com/database-blog/my-favorite-postgresql-extensions-part-one

https://severalnines.com/database-blog/my-favorite-postgresql-extensions-part-two

https://www.citusdata.com/blog/2020/04/27/how-citus-distributed-query-executor-adapts-to-postgres-workload/

https://postgresql.life/post/melanie_plageman/

https://info.crunchydata.com/blog/a-deep-dive-into-postgis-nearest-neighbor-search

https://www.cybertec-postgresql.com/en/intersecting-tracks-of-individuals-mobilitydb/

https://www.2ndquadrant.com/en/blog/how-to-use-tree-machine-learning-model-with-2uda-postgresql-and-orange-part-4/

View Details

In this episode of Scaling Postgres, we discuss insert-only vacuums, the Postgres settings hierarchy, sequence replication and desired improvements.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/postgresql-autovacuum-insert-only-tables/

https://mydbanotebook.org/post/postgres-settings/

https://www.highgo.ca/2020/04/24/can-sequence-relation-be-logically-replicated/

https://www.cybertec-postgresql.com/en/things-could-be-improved-postgresql/

https://bannister.me/blog/a-beginners-guide-to-basic-indexing/

https://medium.com/@rakyll/things-i-wished-more-developers-knew-about-databases-2d0178464f78

https://www.highgo.ca/2020/04/23/stored-procedures-also-have-rights/

https://www.2ndquadrant.com/en/blog/automated-rapid-switchover-with-a-bdr-database-cluster-in-kubernetes/

https://info.crunchydata.com/blog/easy-postgresql-12-and-pgadmin-4-setup-with-docker

https://info.crunchydata.com/blog/set-up-and-run-postgresql-operator-client-on-windows

https://www.2ndquadrant.com/en/blog/oracle-to-postgresql-start-with-connect-by/

https://postgresql.life/post/mark_wong/

https://superhighway.dev/luca-ferrari-interview

View Details

In this episode of Scaling Postgres, we discuss tuning max connections, different SQL tricks, setting up fast text search and handling security & compliance.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/tuning-max_connections-in-postgresql/

https://towardsdatascience.com/6-sql-tricks-every-data-scientist-should-know-f84be499aea5

https://www.percona.com/blog/2020/04/16/sql-optimizations-in-postgresql-in-vs-exists-vs-any-all-vs-join/

https://pganalyze.com/blog/full-text-search-ruby-rails-postgres

https://www.youtube.com/watch?v=cAbfHT5ed9g

https://www.depesz.com/2020/04/17/waiting-for-postgresql-13-add-logical-replication-support-to-replicate-into-partitioned-tables/

https://www.highgo.ca/2020/04/18/the-origin-in-postgresql-logical-decoding/

https://www.highgo.ca/2020/04/17/replicate-multiple-postgresql-servers-to-a-single-mongodb-server-using-logical-decoding-output-plugin/

https://www.cybertec-postgresql.com/en/intersecting-gps-tracks-to-identify-infected-individuals/

https://postgresql.life/post/ilaria_battiston/

https://www.depesz.com/2020/04/17/waiting-for-postgresql-13-allow-autovacuum-to-log-wal-usage-statistics/

https://www.depesz.com/2020/04/17/waiting-for-postgresql-13-add-the-option-to-report-wal-usage-in-explain-and-auto_explain/

View Details

In this episode of Scaling Postgres, we discuss how to show live plans, how Postgres 13 allows WAL monitoring, how to use UUIDs in your app and how logging is setup by default.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/detailed-look-on-the-new-postgresql-troubleshooting-extension-pg_show_plans/

https://rjuju.github.io/postgresql/2020/04/07/new-in-pg13-WAL-monitoring.html

https://rjuju.github.io/postgresql/2020/04/04/new-in-pg13-monitoring-query-planner.html

https://medium.com/better-programming/empowering-a-rails-application-with-uuid-as-default-primary-key-44cd740828e8

https://mydbanotebook.org/post/debian-default-logging-explained/

https://www.highgo.ca/2020/04/10/stored-procedures-in-pg-11-better-late-then-never/

https://abdulyadi.wordpress.com/2020/04/07/parallel-query-inside-function/

https://info.crunchydata.com/blog/optimize-postgresql-server-performance

https://www.youtube.com/watch?v=9SGU6k8DkHU

https://postgresql.life/post/michael_paquier/

https://info.crunchydata.com/blog/polygon-averaging-in-postgis

https://www.2ndquadrant.com/en/blog/how-to-use-the-random-forest-machine-learning-model-with-2uda-postgresql-and-orange-part-3/

View Details

In this episode of Scaling Postgres, we discuss ten things to hate about Postgres, audit trigger performance, designing a schema and the future of high availability.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://medium.com/@rbranson/10-things-i-hate-about-postgresql-20dbab8c2791

https://www.cybertec-postgresql.com/en/performance-differences-between-normal-and-generic-audit-triggers/

https://www.graphile.org/postgraphile/postgresql-schema-design/

https://www.youtube.com/watch?v=ogyvRXb33Sg

https://www.percona.com/blog/2020/03/31/useful-queries-for-postgresql-index-maintenance/

https://www.highgo.ca/2020/03/30/postgresql_wal_evolution_part_i/

https://www.highgo.ca/2020/03/30/postgresql_wal_evolution_part_ii/

https://mydbanotebook.org/post/cant-connect/

https://postgresql.life/post/sarah_conway_schnurr/

https://www.highgo.ca/2020/03/30/postgresql-gssapi-authentication-with-kerberos-part-3-the-status-of-authentication-encryption-and-user-principal/

https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/importing-spatial-data-to-postgis/ba-p/1255421

View Details

In this episode of Scaling Postgres, we discuss how to show live query plans, the importance of atomic operations for scaling out, configuration options and DBaaS migrations.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/pg_show_plans-watching-execution-plans-in-postgresql-live/

https://www.highgo.ca/2020/03/26/optimizing-sql-step-1-explain-in-postgresql-part-1/

https://www.highgo.ca/2020/03/24/atomic-commit-and-atomic-visibility-for-postgresql-explained/

https://mydbanotebook.org/post/troubleshooting-02/

https://www.youtube.com/watch?v=13d4BDYSYyM

https://www.percona.com/blog/2020/03/25/migrating-a-postgresql-database-between-dbaas-providers/

https://www.cybertec-postgresql.com/en/embedded-sql-in-c-for-postgresql-with-ecpg-blog/

https://www.highgo.ca/2020/03/24/logical-replication-between-postgresql-and-mongodb/

https://www.2ndquadrant.com/en/blog/developing-postgresql-windows-part-3/

https://www.highgo.ca/2020/03/26/postgresql-gssapi-authentication-with-kerberos-part-2-postgresql-configuration/

https://postgresql.life/post/dave_cramer/

https://info.crunchydata.com/blog/tile-serving-with-dynamic-geometry

View Details

In this episode of Scaling Postgres, we discuss how to use recursive CTEs, database access patterns, using dates and times and how to cluster your data.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://towardsdatascience.com/recursive-sql-queries-with-postgresql-87e2a453f1b

http://calpaterson.com/activerecord.html

https://nanmu.me/en/posts/2020/postgresql-date-and-time-data-types-explained/

https://www.cybertec-postgresql.com/en/cluster-improving-postgresql-performance/

https://mydbanotebook.org/post/troubleshooting-01/

https://www.youtube.com/user/socallinuxexpo/videos

https://www.2ndquadrant.com/en/blog/creating-a-postgresql-procedural-language-part-5-returning-results/

https://postgresql.life/post/bruce_momjian/

https://info.crunchydata.com/blog/crunchy-spatial-tile-serving-with-postgresql-functions

https://www.highgo.ca/2020/03/18/postgresql-gssapi-authentication-with-kerberos-part-1-how-to-setup-kerberos-on-ubuntu/

https://www.cybertec-postgresql.com/en/pg_timetable-advanced-postgresql-cron-like-scheduler-released/

View Details

In this episode of Scaling Postgres, we discuss how Postgres is the world's best database, performance ramifications of subtransactions, the current state of sharding and safe schema changes.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.2ndquadrant.com/en/blog/postgresql-is-the-worlds-best-database/

https://www.cybertec-postgresql.com/en/subtransactions-and-performance-in-postgresql/

https://www.highgo.ca/2020/03/12/horizontal-scalability-sharding-in-postgresql-core-missing-pieces-of-the-puzzle/

https://gocardless.com/blog/fear-free-postgresql-migrations-for-rails/

https://www.enterprisedb.com/blog/how-provision-and-deploy-highly-available-postgres-terraform-and-ansible-automation-scripts

https://momjian.us/main/writings/pgsql/cloud.pdf

https://www.2ndquadrant.com/en/blog/full-text-search-postgresql-webinar/

https://www.2ndquadrant.com/en/blog/with-a-little-help-from-my-friends/

https://www.2ndquadrant.com/en/blog/how-to-deploy-a-multi-master-bdr-cluster-in-kubernetes/

https://postgresql.life/post/christophe_pettus/

https://info.crunchydata.com/blog/crunchy-spatial-querying-spatial-features-with-pg_featureserv

View Details

In this episode of Scaling Postgres, we discuss how to reduce the size of your WAL files, what is null, how to better understand SQL and exploring TPC-H benchmarks.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.cybertec-postgresql.com/en/reduce-wal-by-increasing-checkpoint-distance/

https://www.2ndquadrant.com/en/blog/on-the-impact-of-full-page-writes/

https://www.percona.com/blog/2020/03/05/handling-null-values-in-postgresql/

https://blog.jooq.org/2020/03/02/sql-distinct-is-not-a-function/

https://blog.jooq.org/2020/03/03/better-understand-sql-by-adding-optional-parentheses/

https://rafiasabih.blogspot.com/2020/03/learnings-from-benchmarking-postgresql.html

https://severalnines.com/database-blog/what-look-if-your-postgresql-replication-lagging

https://www.2ndquadrant.com/en/blog/creating-a-postgresql-procedural-language-part-4-handling-input-parameters/

https://www.2ndquadrant.com/en/blog/developing-postgresql-windows-part-2/

https://postgresql.life/post/joe_conway/

https://postgres.ai/

https://postgres.ai/blog/joe-0.5/

https://postgres.ai/docs/database-lab/what_is_database_lab

https://info.crunchydata.com/blog/crunchy-spatial-its-postgis-for-the-web

https://info.crunchydata.com/blog/crunchy-spatial-tile-serving

https://pgstef.github.io/2020/03/02/pgbackrest_auto_select_backup.html

https://www.citusdata.com/blog/2020/03/02/citus-9-2-speeds-up-large-scale-htap/

View Details

In this episode of Scaling Postgres, we discuss how to scale out, how the planner estimates, uses of create statistics and investigating PostgreSQL run time environments.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://dev.to/heroku/preparing-your-postgres-data-for-scale-out-km

https://rjuju.github.io/postgresql/2020/02/28/pg_qualstats-2-selectivity-error.html

https://powa.readthedocs.io/en/latest/components/stats_extensions/pg_qualstats.html

https://www.2ndquadrant.com/en/blog/webinar-create-statistics-command-postgresql/

https://www.youtube.com/watch?v=rTIvco34REM

https://www.2ndquadrant.com/en/blog/postgis-perf-issue-2019/

https://www.thatguyfromdelhi.com/2020/02/optimizations-in-group-by-vs-select.html

https://www.2ndquadrant.com/en/blog/creating-a-postgresql-procedural-language-part-3-executing-user-code/

https://postgresql.life/

https://www.highgo.ca/2020/02/28/parallel-vacuum-in-upcoming-postgresql-13/

https://habr.com/en/company/postgrespro/blog/490228/

http://blog.cleverelephant.ca/2020/02/postgis-day-stl.html

https://www.cybertec-postgresql.com/en/visualizing-osm-data-in-qgis/

https://www.highgo.ca/2020/02/25/setting-up-ssl-certificate-authentication-with-pgpool-ii/

https://www.2ndquadrant.com/en/blog/how-to-use-the-svm-machine-learning-model-with-2uda-postgresql-and-orange-part-2/

View Details

In this episode of Scaling Postgres, we discuss the use cases for UUIDs, using pg_settings, setting up an automated restore and the future of parallelism.

Subscribe at https://www.scalingpostgres.com to get notified of new episodes.

Links for this episode:

https://www.depesz.com/2020/02/19/why-im-not-fan-of-uuid-datatype/

https://medium.com/yugabyte/natural-versus-surrogate-primary-keys-in-a-distributed-sql-database-the-distributed-sql-blog-886a6d5f8fa2

https://medium.com/@shawnoy/generate-a-uuid-as-postgresql-default-value-fc0ae41a37d2

https://fluca1978.github.io/2020/02/13/pgsettings.html

https://pgdash.io/blog/testing-postgres-backups.html

http://amitkapila16.blogspot.com/2020/02/this-blog-post-is-about-journey-of.html

https://www.cybertec-postgresql.com/en/shared_buffers-looking-into-the-postgresql-i-o-cache/

https://www.depesz.com/2020/02/18/which-tables-should-be-auto-vacuumed-or-auto-analyzed-update/

https://www.depesz.com/2020/02/17/waiting-for-postgresql-13-add-x-to-default-prompt1-and-prompt2-in-psql/

https://www.highgo.ca/2020/02/21/have-an-eye-on-locks-of-postgresql/

https://github.com/mgartner/pg_flame