Support for reusing on-disk sqlite databases