Kaarel's corner
  • Contact / Consulting
  • Search
✕
    • Data analyst vs width_bucket()

      Posted on May 21, 2026

      Post thumbnail
      Post thumbnail
      After helping out a buddy with the job title of Data Analyst, who experienced some light Postgres “bucketing” woes - and given the fact that this was not the first such occasion in that area over the years, though I’d help future googlers / LLM-ers out a bit as well,... [Read More]
      Tags:
      • postgres
      • sql
      • analytics
      • data science
      • buckets
      • width_bucket
    • CSI: Postgres — Did someone change my table??

      Posted on January 24, 2026

      Post thumbnail
      Post thumbnail
      PostgreSQL has many small “hidden gem” features included (not to mention ~1K extensions adding a bunch more) waiting for someone to notice them. Some are useful every day, some are niche, and some (e.g. debug_* settings) exist only so that core developers could troubleshoot things without losing too much hair.... [Read More]
      Tags:
      • postgres
      • mvcc
      • track_commit_timestamp
      • pg_waldump
      • wal
      • logical-replication
    • Postgres, Kafka and event queues

      Posted on November 13, 2025

      Post thumbnail
      Post thumbnail
      After stumbling on a pair of interesting blog posts — You Don’t Need Kafka, Just Use Postgres (Considered Harmful) — somewhat in the style of good old “flame wars” (which are increasingly rare these days) in the recent Postgres Weekly, as a response to a previous article — Kafka is... [Read More]
      Tags:
      • postgres
      • kafka
      • queues
      • bloat
      • ramblings
    • A "TPC-C"-like "extension-pack" for pgbench

      Posted on September 6, 2025

      Post thumbnail
      Post thumbnail
      TPC-C is supposedly the most objective performance measurement of OLTP database systems… and I’ve used it quite a fair bit over the years as well…yet, running it on Postgres is sadly not exactly as smooth as things typically are with Postgres 😔 If to compare at least with the wonderful... [Read More]
      Tags:
      • postgres
      • benchmarking
      • pgbench
      • performance
    • No, you don't necessarily need extensions to compact Postgres tables

      Posted on August 6, 2025

      Post thumbnail
      Post thumbnail
      Broadcasting a quick tip from a real-life “tasklet” where a customer was genuinely surprised why a seemingly logical fix didn’t show up on Google / LLM-s. So let’s see if we can improve on that situation. [Read More]
      Tags:
      • postgres
      • vacuum
      • bloat
      • pgbench
    • Older Posts →
    • RSS
    • GitHub

    Kaarel Moppel  •  2026

    Powered by Beautiful Jekyll