Repositories tend to develop inconsistencies and various schema, referential integrity, and logical errors over time. This can lead to certain unexpected behavior of the repositories.
These errors can be detected and corrected by the Verify command. There are two options for this command as described next:
Options for Verify command | ||
---|---|---|
Check |
Repair | |
Description |
Finds and reports errors in the repository schema but doesn't repair them. |
Not only finds and reports errors but also repairs them in the repository schema. |
State of the repository in which this operation can be done |
Mounted and either loaded or unloaded |
Mounted and unloaded |
Precautions to be taken before performing the task |
Check operation locks a loaded repository from editing (its contents) by other users, but the repository is still accessible. Hence, users should be notified accordingly. |
Repair command deletes orphaned records and thereby poses a risk of deleting data. Hence, the Check command... |