#558 — June 12, 2024 |
|
Postgres Weekly |
How to Get the Most Out of Postgres' Memory Settings — Samay Sharma said it better than I could: “My colleague wrote one of the most comprehensive memory optimization guides for Postgres that I’ve seen! It talks about the different components, what they are for, how to optimize them and how to put them together.” Shaun Thomas (Tembo) |
Register Now: Optimizing Slow Queries with EXPLAIN to Fix Bad Query Plans — The focus of this webinar is to teach the essential skills of optimizing slow queries with EXPLAIN ANALYZE, teach you about anti-patterns that you will encounter when debugging queries, and leave you with practical advice on how to address common problems. pganalyze sponsor |
Boosting Postgres's Vector Performance with Sewrathan, Pruitt, and Arye (Timescale) |
🤖 It's quite a week for Timescale, as they've also announced |
QUICK BITS:
|
How Much Speed Are You Leaving at the Table if You Use the Default Locale? — A benchmark of several setups using different collation providers and collations. It’s surprising how big a difference it can make. Hubert depesz Lubaczewski |
RAG on Structured Data with Postgres — Pamela shows off a Python, React and Postgres-based approach for using data retrieved from Postgres tables to create hybrid search systems. Pamela Fox |
Benchmarking Amazon RDS for PostgreSQL Deployment Options — A performance comparison between RDS for PostgreSQL Single-AZ DB instance, Multi-AZ DB instance, and Amazon RDS Multi-AZ DB Cluster deployments. Andrea Caldarone (AWS) |
🔈 Sponsoring the Community – A podcast interview with Microsoft’s Claire Giordano focusing on ways people can contribute to the Postgres community. Postgres FM 📄 The Perf Impact of Using 📄 Tuning Postgres to Reduce SSD Wearout Yellow Rubber Duck |
|
🛠 Code and Tools |
PG Ferret: An All-in-One Tracing Toolkit for Postgres — A new project that shows a lot of promise. Powered by eBPF (so Linux only), it lets you observe traces of queries running inside Postgres, correlate Postgres activity to that in your app, and certainly ups Postgres’s tracing game. Chris Bellew |
pgtt 4.0: Manage and Use Oracle-Style Global Temporary Tables — For those situations where you want to reproduce Oracle’s behavior. This post explains why you might want that and some of the alternative approaches, but also why pgtt is the best option. Gilles Darold |
|