wrkm.app
Search
Category

Databases

SQL, NoSQL, data modeling, and data engineering topics.

78 articles
Chris Travers: PostgreSQL’s Best Kept Secret: COPY
Databases

Chris Travers: PostgreSQL’s Best Kept Secret: COPY

A customer asked me recently how to optimize performance writing to PostgreSQL from a Flink pipeline. Without hesitation, I recommended using PostgreSQL’s COPY interface. The result was approximately twice the throughput. This post explores what makes COPY different, and when you should consider using it. To be fair, my recommendation hadn’t come out of nowhere. I had previously had experience building high performance PostgreSQL applications on large datasets using COPY and have signi

Editor·15h ago·12 min
Jeremy Schneider: Introducing CNPG Extensions Catalog
Databases

Jeremy Schneider: Introducing CNPG Extensions Catalog

Postgres is an extensible platform, not just a database. I’ve been cooking this year on a side project with Postgres extensions and Kubernetes – finally ready to share what I’ve built. The CNPG Extensions Catalog is over a hundred extension images for CloudNativePG with inspectable SBOMs, rapid updates (driven by renovate with automerge when tests pass), a framework for building extensions from source when it makes sense, and a website to browse the catalog. https://cnpg-extensio

Editor·15h ago·6 min
Jan Wieremjewicz: November 19 - GTA VI and PostgreSQL 19, same day yet different freedom
Databases

Jan Wieremjewicz: November 19 - GTA VI and PostgreSQL 19, same day yet different freedom

November 19, 2026, was a pretty unusual day for software releases. Two highly anticipated products finally reached general availability. Both had been delayed, both had people eagerly awaiting their arrival, and both have passionate communities that have followed their development. One was Grand Theft Auto VI. The other was PostgreSQL 19. Now, I realize that the overlap between people eagerly waiting for a new PostgreSQL release and those taking a day off to play GTA might not be huge.

Editor·17h ago·1 min
Christophe Pettus: All Your GUCs in a Row: server_encoding
Databases

Christophe Pettus: All Your GUCs in a Row: server_encoding

`server_encoding` doesn't control the server—it reports each database's encoding, and a cluster can hold multiple different ones. (I consult on PostgreSQL through PGX Inc..)

Editor·1d ago·1 min
Fewer round trips, faster reads: client-side caching in go-redis
Databases

Fewer round trips, faster reads: client-side caching in go-redis

Serve repeated reads from your application's memory Go and Redis fit together nicely, because Go makes it cheap to handle many concurrent requests, and Redis answers each of them in under a millisecond. This benefits many different use cases across e...

Editor·1d ago·1 min
Frederic Delacourt: PGConf.eu 2026 - Valencia, Frédéric's feedback
Databases

Frederic Delacourt: PGConf.eu 2026 - Valencia, Frédéric's feedback

Arriving at PGConf.euWell, the trip to Valencia was rather chaotic: a cancelled flight and so on…So, I arrived on Wednesday (October 21st) around 1 PM. Obviously I missed some talks. I almost missed lunch too; at that hour the troughs were rather empty and the desserts had long since deserted the tables.Talks and talksWednesdayAlmost all of the talks I intended to attend were tagged “internals”, except for Zooming in on OOM: a deep dive into Postgres and Linux memory.This talk, by Olek

Editor·1d ago·7 min

More in Databases

Chris van Eijk: Peer authentication failed for user "postgres": fixes
Databases

Chris van Eijk: Peer authentication failed for user "postgres": fixes

PostgreSQL's Peer authentication failed, measured on the Debian and Ubuntu packages: why sudo -u postgres works, -h localhost, pg_ident.conf and psycopg2.

1d ago·1 min
Christophe Pettus: All Your GUCs in a Row: serializable_buffers
Databases

Christophe Pettus: All Your GUCs in a Row: serializable_buffers

PostgreSQL's `serializable_buffers` controls the cache for serializable transaction metadata. (I consult on PostgreSQL through PGX Inc..)

2d ago·1 min
Hollis Varden: Upserts, partitions, triggers and string matching on PostgreSQL 18
Databases

Hollis Varden: Upserts, partitions, triggers and string matching on PostgreSQL 18

Twenty-one small measurements this week, mostly about writing rows and matching text. Two of them went the other way from what I expected. Setup PostgreSQL 18.6, built from source, default settings (work_mem 4MB, shared_buffers 128MB). The database collation is C. MacBook Air M5, 24 GB RAM. Same machine as my previous posts. Query times are EXPLAIN (ANALYZE, BUFFERS, TIMING OFF) execution time, run several times in one session, first run thrown away, median of the rest (3 unless I say

2d ago·7 min
Ryan Lambert: Postgres 19 Upgrade from Postgres 15
Databases

Ryan Lambert: Postgres 19 Upgrade from Postgres 15

Postgres 19 was released in November 2026 and once again I am planning production upgrades. This post has a few notes about my own upgrade process and highlights a few exciting new features to explore. This post does not explain how to perform the actual upgrade. My own process is a bit unusual because I typically go through major version upgrades either annually or every other year at most. I upgraded to Postgres 15 shortly after it was released in 2022 and intentionally skipped Postg

3d ago·1 min
Christophe Pettus: All Your GUCs in a Row: send_abort_for_crash and send_abort_for_kill
Databases

Christophe Pettus: All Your GUCs in a Row: send_abort_for_crash and send_abort_for_kill

PostgreSQL 16 added two parameters that intentionally make crashes worse—by writing core files from every dying process instead of just one. (I consult on PostgreSQL through PGX Inc..)

3d ago·1 min
Ashutosh Bapat: A morning well spent nurturing the Talk Solicitation Program
Databases

Ashutosh Bapat: A morning well spent nurturing the Talk Solicitation Program

 A morning well spent nurturing the Talk Solicitation Program A morning well spent nurturing the Talk Solicitation ProgramAt PGConf.dev, we have started the Talk Solicitation Program (TSP) with a simple idea. As conference attendees, we all have talks we wish someone would give. Why not make those wishes visible, so that potential speakers can see what the audience is interested in, while the program committee gets another signal about what attendees would value?The Talk Solicitation P

4d ago·3 min