Schema comparison
The schema comparison module displays the differences in schemas and database objects in the source and target databases (Figure 1).
Note: Schema comparison module marks the objects that weren’t mapped in the Object Mapping module) as invalid items.
After objects are added, the main Schema comparison window presents source and target objects in three tabs: All, Invalid, and Valid. Each tab divides objects based on their compatibility between the source and target versions.
Initially, the objects in the view are divided into four groups:
- Not Matched — objects without a pair
- Ambiguous — uncertain objects pairs that might be matched
- Not Supported — objects that cannot be compared (as the system doesn’t support the objects from Materialized Views, Policies, or Children of packages)
- Comparable — matched objects that can be compared.
Comparing the objects
To compare objects follow these steps:
- (Optional) Edit the pairs of compared objects, or add new if necessary
- Check the objects to compare
- Click the Compare button
After you do that, the comparison results show up in the Results tab and you can export them in the XML file by clicking the Export button.
Adding the pairs of compared objects
To add a new pair of objects:
- Click the Add button. (A field for adding a new pair shows up (Figure 3))
Figure 3. The field for adding new pairs
- Drag and drop the object from the metadata tree to the field. Note: When found, the object from the opposite tree is added automatically.
- Click the Add button. Note: If the list already contains a similar pair the button will be disabled.
Editing the comparison options
To edit the comparison options, click the gear wheel button in front of the required pair of comparable objects.
Then opens the Details window where you can find detailed information and edit the comparison options (Figure 4).
Figure 4. Comparison options window
You can also modify the comparison settings in the Project Settings window. There you can specify what objects to include to the comparison and what properties to ignore (Figure 5).
Figure 5. Schema comparison settings
Didn’t find the answer?
You can report problems, ask questions or share ideas for improvements on our email [email protected].