Re:Hctree is an experimental high-concurrency database back ...
by hot_gril on Wednesday January 18, 2023 @09:45PM
(#34436141)
That's pretty neat, but not the same level of portability as SQLite.
Re:Hctree is an experimental high-concurrency database back ...
by prpl on Thursday January 19, 2023 @01:00AM
(#34437192)
I used hypersql/hsqldb for unit tests. The Oracle mode was usually close enough. It’s pretty close for postgres. Sometimes there’s small issues (I think using “INSERT INTO … RETURNING” required column name in caps for some reason) but overall it’s almost always what you want for unit testing with java.
Well no actually it just unpacks the tar file in a temp dir and runs the full postgres, but it mostly feels like what you describe (minus the single file part) and starts surprisingly fast. That would totally work for a little proof of concept (https://github.com/zonkyio/embedded-postgres)