key-value storage implemented by SQLite