Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You create, modify, and run a schema comparison job in the Schema Comparison Job editor.

To create a new schema comparison job

...

If the job is used to monitor compliance against company standards or policies, you can add it to the Compliance Explorer list. This list lets you quickly see all the jobs that have recently passed or failed the compliance criteria you set.

...

  1. Type a new name for the job in the Name field. Enter a meaningful name that will quickly and uniquely identify the job in other views and dialogs.
  2. Add relevant information in the Notes field.
  3. Click Track Results in Compliance Explorer if you want the job to be listed in the Compliance Explorer.
  4. Click File > Save or File > Save All, or highlight the editor window, and then press Ctrl+S.

...

The Schema Comparison Source and Schema Comparison Target panes identify what data sources or schema archives are compared when the job runs. The Schema Comparison Job editor displays the Name, Type, and Host of the source and target.

...

The mapping process pairs objects between the job source and target so that the objects can be compared. You can see and modify pairs using the Mapping tab of the Schema Comparison Job editor.

DB Change Manager automatically maps schema objects based on its interpretation of both schemas. Elements that do not match are initially excluded; you can manually map them prior to running the job.

...

  • Synchronization Options. These options specify how you want DB Change Manager to handle the synchronization script after it runs the comparison job, either:
    • Manual causes DB Change Manager to display the results of the comparison, but it does not automatically attempt to repair any synchronization issues. If you choose this option, you will still be able to manually generate and run a synchronization script after the job runs.
    • Automatic causes DB Change Manager to automatically generate and run a synchronization script immediately after the comparison job runs.
  • Include Object Options. These settings determine what elements of the job source and target will be omitted when running a schema comparison job and synchronization. For more information, see CM/Schema > Comparison Options > Include Objects Options.
  • Compare Options. These settings affect how objects are treated in the comparison process. You can include or exclude specific object types in the job, and specify the behavior of the comparison job and synchronization scripts. For more information, see CM/Schema > Comparison Options > Compare Options.
  • Decorator Options. These settings affect particular database objects. For more information, see CM/Schema > Comparison Options > Decorator Options.
  • Identifier Options. These settings determine what elements of the source and target data source will be ignored during the schema comparison and synchronization process. For more information, see CM/Schema > Comparison Options > Identifier Options.
  • DDL Extract Option. This setting causes the DDL code to appear in a separate editor window after the comparison job runs. For more information, see CM/Schema > Comparison Options > DDL Extract Options.
  • Custom Options. This section lists options that you defined in the Create New Schema Custom Compare Options dialog. For more information, see Select Schema Properties to Ignore During a Comparison.

As needed, DBMS-specific options settings are also listed. For more information, see CM/Schema > Comparison Options > Additional Options.

Anchor
SelectSchemaPropstoIgnore
SelectSchemaPropstoIgnore
Select Schema Properties to Ignore During a Comparison

You can create a custom list of schema properties that are ignored by a schema comparison job.

To define schema properties to ignore

  1. Click File > New > Custom Schema Comparison Option.
  2. Name the custom properties and add a description.
  3. Select the properties that you want to ignore.
    Image Added
  4. Click Finish.
  5. Open a schema comparison job Options tab.
  6. Under Custom Options, select the custom option.

Set Schema Comparison Job Notifications

When a job completes, DB Change Manager provides various ways of notifying you. For more information, see Setting job notifications.

Run the Schema Comparison Job

To run the schema comparison job:

  • Click the Run icon located in the upper right-hand corner of the Schema Comparison Job editor.
    Image Added

While the process runs, the Comparison Results tab appears and indicates the progress of the job.

Image Added

When the job is complete, the Comparison Results pane shows information about the comparison.

Image Added

The Comparison Results pane includes these columns:

  • The Target column shows the name of the target, and provides a link to open the Individual Comparison Results tab, which provides more details. For more information on viewing individual results, see View Individual Schema Comparison Results.
  • The Task column shows what kind of job was run.
  • The Progress column shows whether the job is in progress or has completed, and how many errors were encountered.
  • The Compare Index column indicates the percentage of schema that matched between the source and targets of the job.
  • The Results column provides a Show Individual Results link to open the Individual Comparison Results tab, which provides more details. For more information on viewing individual results, see View Individual Schema Comparison Results.
  • The Resolution column provides a command that produces a synchronization script that, when run, automatically synchronizes the compared schema. For more information on generating a synchronization script, see Synchronizing schemas.
  • The Errors column indicates how many errors were encountered during the comparison process, and provides a link to view them in a separate window.

Anchor
ViewIndividualSchemaCompareResults
ViewIndividualSchemaCompareResults
View Individual Schema Comparison Results

To see specific schema comparison results

  • After a job runs, in the Comparison Results table, click Show Individual Results

The Individual Comparison Results window appears.

Image Added

To browse the objects

  • Select or deselect the check boxes in the left-panel list.
  • Right-click and use the menu to select or deselect objects at the global or page levels.
  • Click the right and left arrows underneath the middle panel.
  • Enter a page number in the box underneath the middle panel.

To filter the objects

Type a search string into the Show/Hide Objects search box.

Image Added

To see a summary report

  • Click Generate Report.
    Image Added

To view the DDL between two schema comparison results

  • Click View Details.

To save individual schema comparison results data to a text file

  • Click Export to File.

To view the synchronization script and DDL between two individual objects

  1. In the Individual Comparison Results window Compared Objects pane, select an object that does not match.
    Image Added
    Script and DDL details appear in the pane below.
    Image Added
  2. In the Script tab, view the SQL that synchronizes the objects.

Create a Schema Comparison Job Report

After running a comparison job, you can create a job report using the View Report button in the Results tab. For more information, see Creating a job report.

Anchor
CloneJob
CloneJob
Cloning a schema comparison job

You can create a copy of a schema comparison job, using a different data source.

To clone a schema comparison job

  1. After you have saved and run a job, the Clone Job button is enabled in the Schema Comparison Job Editor.
    Image Added
  2. Click Clone Job.
    Image Added
  3. In the Data Source Selection list, select the new target for the cloned job. If you need to add a new data source to the list, click New Data Source.
  4. Click OK.
    DB Change Manager lists the new, cloned job in the Job Explorer. You can modify and run the cloned job as just as any other schema comparison job. In addition, you can preserve the target mapping from the original job.
    Image Added

To preserve target mapping in a cloned schema comparison job

  1. Open the cloned job in the Schema Comparison Job editor.
  2. In the Job Sources target pane, click Preserve Target Mapping.
    Image Added


Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse