Mapping db directory