first draft of copy-on-write FixedDB