-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Considering Btree as an option for new SQLite backend muxer #10
Comments
Hi Dan, I haven't done much with the btree code except to timing test a "nano" locking btree (locking skip list pointers) in a skip list page. It was not enough to beat the librarian page discipline layout. My current btree improvement project eliminates root page read locks by keeping multiple read-only root pages each containing a previous version of the root page. Could you outline what you mean by backend muxer? or is it intended as a descriptive to multiple interleaved transactions? |
My most current btree code is in the database project which is included in the javascript interpreter project. I'm implementing SSN concurrency. |
finish the initiatives for database and
|
This has evolved quite a bit. But as things stand now, there are makefile targets that will build SQLite of various versions with each of: LMDB of all versions, BerkeleyDB of one version, or of course the original SQLite Btree. The same makefile also does performance benchmarking and saves the results into a standardised database capturing information about the build and runtime environment, with a simple query tool to compare results. Big picture then what we have is:
There's plenty of work to be done. Ideally we would have an API interface for K-V stores, but in the absence of that we have a way to make life relatively easy. Once a port has been done once, moving to a different versions of either SQLite or the K-V store is as painless as we can make it at the moment. |
I wasn't able to see this work in the C code under the Btree-source-code git tree? Thanks |
code so far is under database repository alpha subdirectory. as i work through code changes i'll update the alpha sub directory version in the database project |
Ok I see it: https://github.com/malbrain/database/tree/master/alpha . Dan |
Hello,
Just to let you know that LumoSQL is collecting the very few K-V stores that are broadly compatible into backend storage options for SQLite. We haven't studied this project in detail yet but so far it looks like it is a candidate as much as the others. And as discussed on the SQLite forum some of your design features seem well worth adding to SQLite.
Dan
The text was updated successfully, but these errors were encountered: