1. A computer-implemented method including executing, using at least one processor, instructions recorded on a non-transitory computer-readable storage medium, the method comprising: receiving a request to insert, in a main database table, a versioned database object having a first identifier (ID); determining whether uniqueness of a first subset of attributes of the versioned database object versus other versioned database objects in the main database table having different IDs than the first ID is required; and in the event it is determined that uniqueness of the first subset of attributes is required, evaluating uniqueness of the first subset of attributes of the versioned database object with the first ID as compared to the other versioned database objects based on respective records for the other versioned database objects stored in a secondary database table.