More work on in-memory database.