Show HN: db-branch – database branches in seconds for AI agents and CI, via ZFS
2 comments
- Points35
- Comments10
2 comments
Story details from Hacker News ↗ · linked article on github.com.
Show HN: db-branch – database branches in seconds for AI agents and CI, via ZFS was first seen on Hacker News · Front page on Nov 15, 2026. Since then it has appeared in 39 checks on 2 different days, across 2 lists (Hacker News · Front page, Hacker News · Show HN). Its best position was #23 of 30, reached on Nov 15, 18:28 UTC. It dropped off the list after Nov 16, 05:52 UTC.
Position on Hacker News · Front page at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Hacker News.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Hacker News · Front page | #23 | 1 | 9 | |
| Hacker News · Show HN | #2 | 2 | 30 |
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
cursor.execute("SET file_copy_method = 'clone'") cursor.execute( f'CREATE DATABASE "{target}" TEMPLATE "{source}" STRATEGY FILE_COPY' ) Works like a charm. Claude can set it all up for you in 20m, including branch tags and management/gc scripts. It is very familiar with this pattern and uses it well. Clones are fast…
Super interesting, I had my own dumb script that clones the DB whenever I needed to work in a feature that requires some sort of DB mutation, some times with a lot of them going, so this does sound useful. Having said that lately with the speed of AI assisted development I do this less and less...
So nice to have a way to get cheap db clones, I just set up this at work recently to do the same thing https://postgres.ai/docs/database-lab
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. It was last on the list on Nov 16, 05:52 UTC, after 2 days of trending.
#23 on Hacker News · Front page, on Nov 15, 18:28 UTC. Trendoday checks this list every 15 minutes.
It was first seen on Nov 15, 2026 and has been on the list on 2 days (39 checks) since.
35 points and 10 comments; submitted by nu_nu11 on Nov 15, 2026.