Re-engineering the OID database