Database Lab is a great project, and since it's also ZFS-based, it's good validation that the approach works. My motivation was that most database branching tools seem to be built around Postgres, and I wanted something that works with MySQL too.
Right now, branches are meant to be disposable: you can snapshot and restore, but there's no way to merge changes back into the source. I'd like to try it someday, but there are real challenges to solve, conflict resolution being the main one.
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...
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 and cheap, and you can basically forget about it all once it’s set up.
13 comments
[ 0.25 ms ] story [ 5.1 ms ] threadHaving said that lately with the speed of AI assisted development I do this less and less...
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 and cheap, and you can basically forget about it all once it’s set up.