Experimental implementation of DB staging
Store staged updates in a separate database
Use an in-memory database for staged updates and commit in sorted order