Handling unique indexes on large data in PostgreSQL
A month ago, during a release to production, the feature I was working on failed to deploy due to a PostgreSQL restriction. It turned out to be a surprisingly fun and comprehensive learning moment.
PostgreSQL Development Conference, aka "PGConf.dev", is where users, developers, and community organizers come together to focus on PostgreSQL development an...
Time to Better Know The Time in PostgreSQL | boringSQL
Learn practical SQL & PostgreSQL techniques. Build rock-solid data systems with 'boring' database solutions that deliver reliability without the drama.
Just because you’re getting an index scan, doesn't mean you can’t do better! - pgMustard
An issue I often see folks missing when reviewing query plans, is that they see that all of their scans involve indexes and they think that the query is likely already as fast (or efficient) as it can be. In this post we’ll look through several examples, some things to look out for, and how to then
I’ve been working professionally for the better part of a decade on web apps and, in that time, I’ve had to learn how to use a lot of different systems and tools. During that education, I found that the official documentation typically proved to be the most helpful.
Optimizing Postgres table layout for maximum efficiency
Introduction When modeling a Postgres database, you probably don’t give much thought to the order of columns in your tables. After all, it seems like the kind of thing that wouldn’t affect storage or performance. But what if I told you that simply reordering your columns could reduce the size of your tables and indexes by 20%? This isn’t some obscure database trick — it’s a direct result of how Postgres aligns data on disk.\n
You Don't Need a Dedicated Cache Service - PostgreSQL as a Cache
p
PostgreSQL became a go-to SQL database for many developers over the past couple of years. While being an SQL database, Postgres also includes a lot of ...
Security Hardening Best Practices for PostgreSQL Flexible Server
Secure data is critical for the success of our enterprise customers. This post is intended to give you high level tips to harden your PostgreSQL Flexible..
PostgreSQL Stories: From slow query to fast—via stats | Render Blog
Render is a unified cloud to build and run all your apps and websites with free TLS certificates, global CDN, private networks and auto deploys from Git.
OnGres | The fastest way to copy data between Postgres tables
We like open source, we develop open source software, and we are very active and well known at Postgres community. We also develop custom products for clients, always around Postgres environment
Walk-through of implementing simple Postgres patch. From sources to CI. - YouTube
In this video I'm doing "magic" binary search. This search fallbacks to linear search when the number of tuples is small. Typically this is done to reduce number of branch mispredictions, but it's rather toy feature here. It's taken only for example.
Resulting code https://github.com/x4m/postgres_g/commit/a66ff4e0669b01ea09eed734cf4e60c745527c5c
https://wiki.postgresql.org/wiki/Compile_and_Install_from_source_code
git clone --depth=5 --single-branch --branch=master https://github.com/postgres/postgres
cd postgres
./configure --prefix=$PWD --enable-depend
make -j10 to /dev/null
make check
PostgreSQL hidden gems (Tech Talk NB - April 2023) - YouTube
Speaker: Vagmi Mudumbai
While PostgreSQL is a mature database, it packs a punch when it comes to features. This is a talk to talk about various features of PostgreSQL like.
* Crosstab queries (Pivot Table)
* Window functions
* JSON operations
* Full-text search queries
* Row-level security