losfair / mvsqlite

Distributed, MVCC SQLite that runs on FoundationDB.
https://github.com/losfair/mvsqlite/wiki
Apache License 2.0
1.39k stars 39 forks source link

Read-write transactions with unbounded size #50

Open losfair opened 2 years ago

losfair commented 2 years ago

Currently there is a 50,000 pages (390 MiB) total write size limit on transactions, but larger transactions can be useful in scenarios like schema change.

It is possible to provide an option to trade write concurrency for unbounded read-write transactions by implementing commit locks. I did some work on this in https://github.com/losfair/mvsqlite/pull/49, but closed the PR due to the complexity - maybe we should re-consider in the future.