|
Unconventional Postgres Optimizations — Another fantastic post from Haki Benita. This time, he looks at some optimization techniques off the beaten track, including using constraint_exclusion to skip scans when queries contradict CHECK constraints, building smaller indexes by indexing lower-cardinality expressions (e.g. truncating timestamps to dates), and enforcing uniqueness with hash indexes via exclusion constraints.
Haki Benita
|
|
The Challenges of Soft Delete — To delete or not to delete, that is the question! If you want to ‘delete’ data in a table without actually losing it, a ‘soft’ delete using a boolean or date flag is a common solution, but this post considers some alternatives, like using a trigger to move a row to an archive table or capturing deleted rows from the WAL for external archival.
atlas9
|
|
🎤 'How I Got Started with DBtune and Why We Chose Postgres' — Luigi Nardi, founder of DBtune and a Stanford researcher, joined Claire Giordano to talk about his developer and research journey, why DBtune chose database tuning and Postgres as their focus, and the concept of ‘level five’ autonomy for database management and tuning. There's a full transcript if you'd rather read than listen.
Talking Postgres Podcast
|
|
▶ What's New in PostgreSQL 18 — Christophe Pettus, the CEO of PGX, gave a talk for the San Francisco Bay Area PostgreSQL Users Group recently wrapping up some of Postgres 18’s enhancements in just 30 minutes.
Christophe Pettus
|
-
SQL Shader (above) is an interesting experiment by Matias Gonzalez that renders the output of Postgres queries with x, y and value columns onto a shader-style canvas. More info here.
-
credcheck 4.4 – Extension that performs checks and validation of credentials during user creation and renaming, as well as password changes.
-
pgmoneta 0.20.0 – Postgres backup / restore tool, now with Grafana 12 support, improved S3 support, and better locking.
-
pgBackRest 2.58.0 – Another popular backup tool, now with HTTP support for S3, GCS, and Azure.
|
|
-
📊 Postgres Explain Visualizer 2 1.20 – A Vue.js component for visualization of Postgres execution plans (above). Now with dark mode support.
-
SQLPage 0.42 – Rust-powered SQL-only data app builder that automatically builds a UI on top of your SQL queries.
-
pgschema 1.6.1 – Terraform-style, declarative schema migration for Postgres.
-
Rbatis v4.7.0 – High-performance Rust 'compile-time' ORM with dynamic SQL generation and async support.
-
📊 pgmetrics v1.19.0 – Collect and report Postgres metrics for scripting, automation and troubleshooting.
|
|