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·16h 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·16h 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·18h 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

Your agents don't care that you're a batch shop
Databases

Your agents don't care that you're a batch shop

Once agents start querying your data at scale, you need a real-time engine. Even if your data arrives in nightly batches. Even if you only query old data.

7d ago·1 min
Aleksei Aleinikov: PostgreSQL VACUUM & Bloat: Dead Tuples, HOT Updates & Compaction
Databases

Aleksei Aleinikov: PostgreSQL VACUUM & Bloat: Dead Tuples, HOT Updates & Compaction

Every PostgreSQL team eventually runs a massive DELETE to free up disk space, watches df -h stay completely flat, and wonders if the command even worked. Worse, queries against the smaller table often get slower instead of faster. This is Part 2 of Postgres in Production (following Part 1 on PostgreSQL index types). Same rule applies here: measure first, then explain. All numbers below were measured on PostgreSQL 18.6 using pgstattuple and EXPLAIN (ANALYZE, BUFFERS) on a 1,000,000-row

7d ago·10 min
Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Support multi-line headers in COPY FROM command.
Databases

Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Support multi-line headers in COPY FROM command.

On 3rd of July 2025, Fujii Masao committed patch: Support multi-line headers in COPY FROM command.   The COPY FROM command now accepts a non-negative integer for the HEADER option, allowing multiple header lines to be skipped. This is useful when the input contains multi-line headers that should be ignored during data import.   Author: … Continue reading "Missed in PostgreSQL 19 : Support multi-line headers in COPY FROM command."

7d ago·1 min
Laurenz Albe: How to deal with slow shutdown in PostgreSQL
Databases

Laurenz Albe: How to deal with slow shutdown in PostgreSQL

© Laurenz Albe 2025 If you have to restart the PostgreSQL server, you often want to keep the down time as short as possible. Starting the server is usually fast, but shutdown can be slow. In this article I describe why there can be a slow shutdown and what you can do to speed it up. PostgreSQL shutdown modes We have to understand what happens during a PostgreSQL shutdown. This varies depending on the shutdown mode, which is determined by the signal sent to the postmaster process: smar

7d ago·7 min
What is ClickHouse Security? A technical overview of the agentic SIEM built on ClickHouse
Databases

What is ClickHouse Security? A technical overview of the agentic SIEM built on ClickHouse

ClickHouse Security is an agentic SIEM on ClickHouse. See how sources, pipelines, SQL and Sigma detections, investigations, and AI agents work together.

7d ago·1 min
Geographic failover for .NET with SE.Redis
Databases

Geographic failover for .NET with SE.Redis

StackExchange.Redis, or SE.Redis is the main .NET client for Redis. It provides an API for the core Redis data types, commands and messaging like pub/sub. It only takes a few instructions to connect your .NET application to a Redis database. Modern a...

7d ago·1 min