Use the following sequence of steps to create a compare session with a model and a large database. When you use this process, only database objects that match the objects selected from the model are loaded from the database.
Note: This process is only relevant when working with Oracle, SQL Server and Teradata databases.
In this example, your local model is set as the left model in the Complete Compare wizard, and the database is set as the right model.
To compare a local model and a large database
The Complete Compare wizard opens, on the Right Model Selection pane.
If you want to filter objects from the left model, select the links for the Type Selection and Left Object Selection and work with the filters in those panes of the wizard.
The Reverse Engineer wizard opens.
The reverse engineering process runs, and your database appears as the "Right Model" in the Complete Compare wizard. The compare level, type, and object selections are reset to their default values. Any filtering of objects in the left model will be reset.
The two models are compared, and the Resolve Differences dialog opens. Your right model only displays objects that are aligned to the unfiltered objects in the left model.
Note: If you move objects or properties into your model based on the database (the right model) you can generate an alter script against the database. Click the Right Alter Script/Schema Generation icon to open the Alter Script wizard.
You return to the Complete Compare Wizard. You can change any options in the wizard and begin the compare process again, or click Close to close the wizard.
The wizard closes and you return to the main workspace.
Note: An Advanced Option, "Auto-Dispose Database/Script Models" is selected by default. This means that the model reverse-engineered from your database is automatically closed without saving at the end of the Complete Compare session.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|