Pickling database