Berkeley DB MULTIVERSION working example Init database: python common.py Then use reader.py and writer.py with 2 distinct terminals, pdb is used for step-by-step execution