Synopsis
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.
Episodes
-
Custom Data Types, Row Level Triggers, Dynamic pl/pgsql Columns, citext Usage | Scaling Postgres 162
25/04/2021 Duration: 10minIn 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/
-
Scaling Lessons, Synchronous Commit, Connection Management, BLOB Cleanup | Scaling Postgres 161
18/04/2021 Duration: 18minIn 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-ra
-
psql Tips, Postgres 13 Upgrade, Roles Hierarchy, Replica Scaling | Scaling Postgres 160
11/04/2021 Duration: 09minIn 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-patron
-
Tablespaces, Streaming Replication, More Postgres 14, Security | Scaling Postgres 159
04/04/2021 Duration: 09minIn 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-b
-
Vacuum Speed Up, Faster Foreign Tables, Fast Queries With Union, Query Optimizer | Scaling Postgres 158
28/03/2021 Duration: 19minIn 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.e
-
auto_explain Overhead, Postgres Data Lake, Citus Shard Rebalance, SSL Authentication | Scaling Postgres 157
22/03/2021 Duration: 18minIn 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-ho
-
Columnar Storage, Docker Containers, Notify & Listen, Tuning RHEL | Scaling Postgres 156
15/03/2021 Duration: 16minIn 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/
-
Citus Open Source, Time Series Performance, Subscripting Updates, target_session_attrs | Scaling Postgres 155
08/03/2021 Duration: 17minIn 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-postgr
-
Connection Queuing, Connection Pool Size, Simple Audting, Fuzzy Matching | Scaling Postgres 154
01/03/2021 Duration: 19minIn 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-ro
-
Int to BigInt, Resistance is Futile, Optimizer Statistics, Advanced Query Optimization | Scaling Postgres 153
21/02/2021 Duration: 12minIn 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-feat
-
New Releases, Reconnect After Failure, Bablefish, Troubleshoot Disk & Memory | Scaling Postgres 152
14/02/2021 Duration: 15minIn 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
-
Cleaning Up, Function Performance, 11 Million IOPS, Change Data Capture | Scaling Postgres 151
07/02/2021 Duration: 18minIn 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/wait
-
Scaling Advice, Vicious Cycle, Improve Observability, Addressing Corruption | Scaling Postgres 150
31/01/2021 Duration: 16minIn 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-preliminar
-
ARM Tests, Tips & Tricks, Hierarchical Structures, Benchmarking Framework | Scaling Postgres 149
24/01/2021 Duration: 12minIn 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://i
-
Hash Indexes, Int Float Numeric Types, Postgres 14 Features, Data Science | Scaling Postgres 148
17/01/2021 Duration: 11minIn 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-withou
-
DBMS of the Year, Better Data Migrations, Idle Connection Impact, Security Implementation Guide | Scaling Postgres 147
10/01/2021 Duration: 20minIn 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-regr
-
Active-Active & Federated, Memory Speed, Table Rewrite Causes, PostgreSQL Shibboleth | Scaling Postgres 146
04/01/2021 Duration: 14minIn 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-
-
PgMiner Botnet, Collation Index Corruption, postgresql.conf, Custom Data Types | Scaling Postgres 145
20/12/2020 Duration: 14minIn 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/
-
Postgres Migration, Bulk Data Loading, Updates vs. Upgrades, UUID Benchmarks | Scaling Postgres 144
13/12/2020 Duration: 12minIn 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/
-
Microsoft SQL Server Compatible, Time Series Performance, Feature Casualties, BLOB Cleanup | Scaling Postgres 143
07/12/2020 Duration: 18minIn 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