Neues vom PostgreSQL Planet
Chris van Eijk: Go, pgx and PostgreSQL row-level security, measured
Christophe Pettus: The Patch Is Coming From Inside the House
Devrim GÜNDÜZ: PostgreSQL RPM repository meets AI with pg_statviz
Devrim GÜNDÜZ: PostgreSQL RPM repository meets AI with pg_statviz
Cornelia Biacsics: Contributions for week 40
On 7 October, the London PostgreSQL Meetup group met.
Organizers:
- Valeria Kaplan
- Chris Ellis
- Alastair Turner
Speakers:
- Elizabeth Christensen
- Alex Kasko
- Jimmy Angelakos
On 8 October the PostgreSQL England North Meetup Group. Joseph Bharath Reddy Allam delivered a talk.
Christophe Pettus: All Your GUCs in a Row: plan_cache_mode
David Wheeler: PGConf.EU Community Day: A Postgres Ecosystem Foundation?
For anyone with an interest in the long-term health and longevity of the broader ecosystem of Postgres extensions and tools, we’d like to hear your ideas and inspirations for its assurance.
Radim Marek: How TABLESAMPLE picks rows
Most exploratory questions against a large table only need a rough answer, but without an index on status, even "roughly how many shipped orders" costs a full scan. On the two-million-row orders table, Postgres has to read every single 8 kB page, all 18,085 of them (141 MB), just to count matching rows.
Christophe Pettus: All Your GUCs in a Row: password_encryption
Christophe Pettus: All Your GUCs in a Row: parallel_leader_participation
Christophe Pettus: All Your GUCs in a Row: parallel_setup_cost and parallel_tuple_cost
Chris van Eijk: infinite recursion detected in policy: causes and fixes
Chris van Eijk: new row violates row-level security policy: the causes
Álvaro Hernández: Scaling Citus without limits: announcing Query Routers in StackGres
I’ve heard more than once that Citus is not a good sharding technology/architecture because it’s limited to one coordinator. That’s not completely untrue:
-
A single coordinator can scale clusters to very large workloads with multiple workers. But the coordinator is the sole entry point and, at some point, it can become the bottleneck. It’s a ceiling.
Christophe Pettus: Portions Copyright
Shaun Thomas: PG Phriday: Against the WAL
Plenty of Postgres services end up managed by application developers, whether they like it or not. Some dabble in databases on the side, and some inherited the job when the last DBA scampered off for greener pastures. Regardless, they’re put in charge of something they barely understand. Heck, that literally happened to me twice. Sometimes there never was a DBA. Sometimes, it's just you.I recently got a timely reminder of this when chatting with a colleague. Usually when it comes to Postgres, disk emergencies get traced back to the directory.
SHRIDHAR KHANAL: The Database Restarted Without Restarting: The Basics of PostgreSQL Signals (Part 1)
- Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration. A log line saying a process was terminated by signal 1 means that process didn’t handle the signal and died from it.
- received SIGHUP, reloading configuration files is a harmless reload.
Radim Marek: Postgres relation files, filed under base/
The buffers article followed an 8KB page from disk into shared memory and back. What it didn't do is name the file. Every page that passes through the buffer pool is block number N of some file under the data directory, and the file has a naming scheme, a size limit, and companion files that share its name. Before the next article reads the inside of a page, this one finds it on disk with ls and od, and shows that the bytes are the same ones.
Peter Eisentraut: The reverts will continue until morale improves
Many readers will be aware that an unusually high number of features have been reverted from the PostgreSQL 19 branch after the beta period began. Having some reverts is not unusual, maybe one per cycle could be expected. But this time around, about 8 to 10 significant features, depending on how you count, have been reverted, and some of them quite late in the beta period. I have been on the receiving end of some of that, as the developer or committer of some of those features, and have gotten some questions about it, and so I want to take a moment to reflect on this.
