Hacker News with Generative AI: Databases

Using Postgres pg_test_fsync tool for testing low latency writes (tanelpoder.com)
Here’s a useful tool for quickly testing whether a disk (or a cloud block store volume) is a good candidate for your database WAL/redo logs and any other files that require low latency writes. The pg_test_fsync tool is bundled with standard Postgres packages, so no extra installation is needed. You don’t actually have to use Postgres as your database, this tool’s output is universally valuable for any workload requiring fast writes.
Amazon Aurora DSQL is now generally available (amazon.com)
Today, we’re announcing the general availability of Amazon Aurora DSQL, the fastest serverless distributed SQL database with virtually unlimited scale, the highest availability, and zero infrastructure management for always available applications.
DuckLake: SQL as a Lakehouse Format (duckdb.org)
TL;DR: DuckLake simplifies lakehouses by using a standard SQL database for all metadata, instead of complex file-based systems, while still storing data in open formats like Parquet. This makes it more reliable, faster, and easier to manage.
Just make it scale: An Aurora DSQL story (allthingsdistributed.com)
At re:Invent we announced Aurora DSQL, and since then I’ve had many conversations with builders about what this means for database engineering.
LumoSQL (lumosql.org)
LumoSQL is a modification (not a fork) of the SQLite embedded data storage library, which is among the most-deployed software. We are currently in Phase II of the project.
LiveStore: State management based on reactive SQLite and built-in sync engine (livestore.dev)
LiveStore is a next-generation state management framework based on reactive SQLite and git-inspired syncing (via event-sourcing).
Show HN: PgDog – Shard Postgres without extensions (github.com/pgdogdev)
PgDog is a transaction pooler and logical replication manager that can shard PostgreSQL. Written in Rust, PgDog is fast, secure and can manage hundreds of databases and hundreds of thousands of connections.
Fast, Simple and Open Firebase Alternative: TrailBase (github.com/trailbaseio)
Overhaul list API filters to allow for nested, complex expressions. The query parameters changed making this a breaking change. Users will need to update their client libraries.
rqlite turns 10: Lessons from a decade building Distributed Systems (philipotoole.com)
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine and Raft for consensus.
Big Problems From Big IN lists with Ruby on Rails and PostgreSQL (andyatkinson.com)
If you’ve created web apps with relational databases and ORMs like Active Record (part of Ruby on Rails), you’ve probably experienced database performance problems after a certain size of data and query volume.
Making Postgres Distributed with FoundationDB (fabianlindfors.se)
Turning the revered Postgres into a distributed database is a tall order but not a new idea.
CRDTs #2: Turtles All the Way Down (jhellerstein.github.io)
Modern distributed systems often seem to rest on an stack of turtles. For every guarantee we make, we seem to rely on a lower-layer assumption. Eventually we're left wondering: what is at the bottom?
DuckDB 1.3.0 (duckdb.org)
TL;DR: The DuckDB team is happy to announce that today we're releasing DuckDB version 1.3.0, codenamed “Ossivalis”.
IDE for PostgreSQL in VS Code from Microsoft (microsoft.com)
We are excited to announce the public preview of the brand-new PostgreSQL extension for Visual Studio Code (VS Code), designed to simplify PostgreSQL database management and development workflows.
Short alphanumeric pseudo random identifiers in Postgres (andyatkinson.com)
In this post, we’ll cover a way to generate short, alphanumeric, pseudo random identifiers using native Postgres tactics.
Show HN: SQLite JavaScript - extend your database with JavaScript (github.com/sqliteai)
SQLite-JS is a powerful extension that brings JavaScript capabilities to SQLite.
Complexities of Distributed SQL (vegasecurity.com)
Query planners are a cool piece of software that exists in every database or SQL engine out there.
Obsidian Bases (obsidian.md)
Introducing Bases, a new core plugin that lets you turn any set of notes into a powerful database. With Bases you can organize everything from projects to travel plans, reading lists, and more.
AIST Dance Video Database (ongaaccel.jp)
AIST Dance Video Database (AIST Dance DB) is a shared database containing original street dance videos with copyright-cleared dance music.
Oracle Database TNS vulnerability could leak data to further attacks (scworld.com)
A vulnerability in Oracle database communications could potentially allow an unauthenticated user to access system memory contents that may include sensitive information that could be used for further attacks.
Show HN: BemiDB – Open-source data warehouse with zero-ETL (bemidb.com)
Cut months of pipeline work. Automatically connect any data source and query with psql.
DuckDB 1.3.0 (duckdb.org)
TL;DR: The DuckDB team is happy to announce that today we're releasing DuckDB version 1.3.0, codenamed “Ossivalis”.
Announcing a new IDE for PostgreSQL in VS Code (microsoft.com)
We are excited to announce the public preview of the brand-new PostgreSQL extension for Visual Studio Code (VS Code), designed to simplify PostgreSQL database management and development workflows.
Litestream: Revamped (fly.io)
Litestream is an open-source tool that makes it possible to run many kinds of full-stack applications on top of SQLite by making them reliably recoverable from object storage. This is a post about the biggest change we’ve made to it since I launched it.
The Lost Decade of Small Data? (duckdb.org)
TL;DR: We benchmark DuckDB on a 2012 MacBook Pro to decide: did we lose a decade chasing distributed architectures for data analytics?
UUIDv7 Comes to PostgreSQL 18 (thenile.dev)
Clojure: SQLite C API with project Panama and Coffi (andersmurphy.com)
In this post I'll go over using coffi to build a Clojure SQLite wrapper.
Self-Hosting Moose with Docker Compose, Redis, Temporal, Redpanda and ClickHouse (fiveonefour.com)
Deploying a Moose application with all its dependencies can be challenging and time-consuming. You need to properly configure multiple services, ensure they communicate with each other, and manage their lifecycle.
Airport for DuckDB (query.farm)
The Airport extension brings Arrow Flight support to DuckDB, enabling DuckDB to query, modify, and store data via Arrow Flight servers. A DuckDB extension is a plugin that expands DuckDB’s core functionality by adding new capabilities.
SQL OFFSET is worse than keyset pagination (use-the-index-luke.com)
After implementing a pipelined top-N query to retrieve the first page efficiently, you will often also need another query to fetch the next pages. The resulting challenge is that it has to skip the rows from the previous pages.