Oracle(R) Enterprise Manager Getting Started with Oracle(R) Change Management Pack
Release 2.1

A76919-01

Library

Product

Contents

Index

Prev Next

1
Overview of the Oracle Change Management Pack

The Oracle Change Management Pack is a group of integrated applications used to track and make changes to database object definitions. The Oracle Change Management Pack is a component of Oracle Enterprise Manager.

This chapter provides an overview of important Oracle Change Management Pack concepts and features.

The following section describes new features for this release of Oracle Change Management Pack.

New Features for This Release of Oracle Change Management Pack

The following list describes the major new features for this version of the Oracle Change Management Pack:

Database Objects Supported by Oracle Change Management Pack Applications

The types of database object definitions that Oracle Change Management Pack supports are:

In this release, Oracle Change Management Pack does not support the following features of the database objects in the previous list:

For a more complete list that describes the level of support Oracle Change Management Pack offers for specific database objects and attributes, see the section on currently unsupported database features and attributes in the Oracle Change Management Pack Readme.

Understanding Oracle Change Management Pack Objects

The following types of objects are created only by Oracle Change Management Pack applications and are used to make changes or track changes to other object definitions:

Tracking Applications and Change Applications

With Oracle Change Management Pack, you can track changes by:

With Oracle Change Management Pack applications, you can make changes by:

Figure 1-1 displays the two types of Oracle Change Management Pack applications, tracking applications and change applications:

Figure 1-1 Tracking Applications and Change Applications


In Figure 1-1, the left side of the diagram shows Oracle Change Management Pack's tracking applications, which are used to report and track the evolving state of metadata in databases. The right side of the diagram shows Oracle Change Management Pack's change applications, which are used to describe metadata changes and execute scripts to carry out the changes. The DB Diff tool is both a tracking application (because its comparison function reports on the state of object definitions) and a change application (because its Synchronization wizard is used to synchronize one set of object definitions to match the other set of definitions).

The Oracle Change Management Pack also contains the Change Manager application, which is a general-purpose interface that provides direct or indirect access to all Oracle Change Management Pack features. See "Starting Change Manager" for more information on starting Change Manager.

The following sections provide additional overview information on the Oracle Change Management Pack applications.

Overview of DB Capture

The DB Capture application guides you through the process of capturing a database (or a subset of a database) in a form that is readable by other Oracle Change Management Pack applications. DB Capture lets you specify the set of database object definitions to capture, then captures those definitions in their current state at the time of the capture operation.

DB Capture can capture object definitions in both of the following forms:

Figure 1-2 shows the functional capabilities of DB Capture.

Figure 1-2 Functional Capabilities of DB Capture


To view a baseline created with DB Capture, use the Baseline Viewer application.

Capturing a Baseline from the Oracle Enterprise Manager Console or DBA Studio

When you have Oracle Change Management Pack installed, you can perform a capture operation from the Oracle Enterprise Manager console or DBA Studio by following these steps:

  1. Select a database, type, or schema folder in the Oracle Enterprise Manager navigator or the DBA Studio navigator.

  2. Click the right mouse button.

  3. On the context menu, point to Change Management, then click Capture Database Objects.

DB Capture is started to capture a baseline for the selected database, then after the capture operation is completed, the Baseline Viewer is started to allow you to view the baseline.

The online help contains more information about the specifics of using DB Capture.

Overview of Baseline Viewer

The Baseline Viewer application lets you display baselines created earlier using DB Capture.

Figure 1-3 shows the functional capabilities of Baseline Viewer.

Figure 1-3 Functional Capabilities of Baseline Viewer


You can also use Baseline Viewer to generate a SQL DDL script for the baseline if you did not generate one when the baseline was captured.

The online help contains more information about the specifics of using Baseline Viewer.

Overview of DB Diff

The DB Diff application guides you through the steps of selecting two sets of object definitions and then comparing them. The object definitions can be selected from current database definitions or they can be selected from baselines created earlier with DB Capture. If differences are found when the two sets of object definitions are compared, DB Diff allows you to view the differences between the corresponding object definitions.

The result of comparing two sets of object definitions using DB Diff is called a comparison. You can name a comparison, save it, and view it later.

Figure 1-4 shows the functional capabilities of DB Diff.

Figure 1-4 Functional Capabilities of DB Diff


You can also generate a report in HTML format about a DB Diff comparison. The report includes:

After the two sets of object definitions have been compared, you can use DB Diff's Synchronization wizard to modify one set of definitions (with the exception of baselines, which are read-only and cannot be modified) to match the other set of definitions. For each selected object definition in the source, if an object definition of the same name and type already exists at the destination database, the destination object will be modified to match the source definition. If a selected object definition in the source does not exist at the destination database, it will be created. The Synchronization wizard does all the work of determining and ordering the individual steps that must be carried out to perform this requested synchronization, taking object definition dependencies into account.

Figure 1-5 shows the functional capabilities of DB Diff's Synchronization wizard.

Figure 1-5 Functional Capabilities of DB Diff's Synchronization Wizard


To start the Synchronization wizard for the DB Diff application, on the DB Diff Tools menu, click Synchronization Wizard.

Performing a Comparison from the Oracle Enterprise Manager Console or DBA Studio

When you have the Oracle Change Management Pack installed, you can perform a comparison operation from the Oracle Enterprise Manager console or DBA Studio by following these steps:

  1. Select a database, type, or schema folder in the Oracle Enterprise Manager navigator or the DBA Studio navigator.

  2. Click the right mouse button.

  3. On the context menu, point to Change Management, then click Compare Database Objects.

DB Diff is started to perform a comparison, then the DB Diff viewer is started to allow you to view the comparison. If the comparison operation finds that certain database definitions are different, you can start the Synchronization Wizard from DB Diff if you want to synchronize the definitions.

The online help contains more information about the specifics of using DB Diff and the Synchronization wizard.

Overview of DB Quick Change

The DB Quick Change application guides you through the process of making one or more changes to a single database object definition. You indicate changes to object definitions by directly manipulating their representation on property sheets similar to those in Oracle Enterprise Manager's DBA Studio application. The DB Quick Change versions of these property sheets allow you to make some changes that cannot be made using DBA Studio (for example, changing the name of a column in a table).

DB Quick Change does all the work of determining and ordering the individual steps that must be carried out to perform your requested operations, taking object definition dependencies into account.

Figure 1-6 shows the functional capabilities of DB Quick Change.

Figure 1-6 Functional Capabilities of DB Quick Change


The online help contains more information about the specifics of using DB Quick Change.

Overview of DB Alter

The DB Alter application guides you through the process of making changes to one or more object definitions in one or more databases. You indicate changes to object definitions by directly manipulating their representation on property sheets similar to those in Oracle Enterprise Manager's DBA Studio application. The DB Alter versions of these property sheets allow you to make some changes that cannot be made using DBA Studio (for example, changing the name of a column in a table).

When you specify a group of changes to several database object definitions, DB Alter does all the work of determining and ordering the individual steps that must be carried out to perform your requested operations, taking object definition dependencies into account.

The specified changes can be applied at the source database and at other databases.

Figure 1-7 shows the functional capabilities of DB Alter.

Figure 1-7 Functional Capabilities of DB Alter


The online help contains more information about the specifics of using DB Alter.

Overview of DB Propagate

The DB Propagate application guides you through the steps of selecting one or more object definitions from a database, then reproducing those definitions in a destination schema within the source database or in one or more destination databases. For each selected object definition in the source database, if an object definition of the same name and type already exists at the destination database, the destination definition will be modified to match the source definition. If a selected object definition in the source database does not exist at the destination database, it will be created.

DB Propagate does all the work of determining and ordering the individual steps that must be carried out to perform your requested operations, taking object definition dependencies into account.

Figure 1-8 shows the functional capabilities of DB Propagate.

Figure 1-8 Functional Capabilities of DB Propagate


The online help contains more information about the specifics of using DB Propagate.

Copying Definitions Using Drag and Drop

From the navigator panes in the Oracle Enterprise Manager console and DBA Studio, you can select object definitions in a schema, then drag them and drop them into a different schema (which can be in a different database). If you drag a non-schema object definition, it must be dropped in a different database. When you copy table definitions using the drag and drop method, both the table and its associated data is copied to the destination. DB Propagate is launched to complete drag and drop copy operations. The change plan created by the drag and drop operation is deleted, but a history entry for the copy operation is created and saved.


Note:

Database links are used to copy table data from one database to another.

If you attempt to copy table data from one database to another and the impact report includes an ERROR-level message about not being able to find a global name for the source database or destination database, this means that a database link must be created for the database or databases referenced in the error message.

See the section on the CREATE DATABASE LINK statement in the Oracle SQL Reference Manual for more information on creating a database link.  


Overview of DB Search

The DB Search application lets you search for database objects that match a set of search criteria that you specify. After DB Search completes a search operation, you can view or modify the object definitions that matched the search criteria.

Figure 1-9 shows the functional capabilities of DB Search.

Figure 1-9 Functional Capabilities of DB Search


The online help contains more information about the specifics of using DB Search.

Overview of Plan Editor

The Plan Editor application allows you to create, modify, and deploy a single change plan. The change plan can modify or reproduce database object definitions in one or more databases.

You can also create change plans with DB Diff's Synchronization wizard, DB Alter, DB Quick Change, and DB Propagate. However, these applications differ from Plan Editor because each of them is designed to create a change plan with specific types of change requests that make specific types of changes.

Plan Editor is a more flexible change plan tool. You can use Plan Editor to create and modify a change plan that includes any type of change request and which can make a wider variety of changes.

The other applications use components from the Plan Editor interface in a framework that guides you through the application's task. As you use the other Oracle Change Management Pack applications, you become familiar with the components that Plan Editor uses to accomplish different tasks.

Figure 1-10 shows the functional capabilities of Plan Editor.

Figure 1-10 Functional Capabilities of Plan Editor


See Chapter 3, "Using Plan Editor" for more information on using Plan Editor.

Overview of Change Manager

The Change Manager application is the Oracle Change Management Pack central interface. In most cases, Change Manager gives you direct or indirect access to Oracle Change Management Pack operations.

Using Change Manager, you can view Oracle Change Management Pack objects (change plans, baselines, and comparisons), as well as check on the status of current tasks. You can also view history information that tells you which Oracle Change Management Pack operations were performed by what users at what time.

Figure 1-11 shows the functional capabilities of Change Manager.

Figure 1-11 Functional Capabilities of Change Manager


See Chapter 2, "Using Change Manager" for more information on using Change Manager.

Starting the Oracle Change Management Pack Quick Tour

The Oracle Change Management Pack includes a Quick Tour that provides an overview of the Pack and its components. The Quick Tour is an excellent way to start learning about the applications in the Pack and their uses. To start the Quick Tour, on the Start menu, point to Programs, then to the Oracle Home where Oracle Enterprise Manager is installed, then to Change Management Pack, then click Change Management Quick Tour.

Sample Uses for the Oracle Change Management Pack

Some of the common usage scenarios for the Oracle Change Management Pack are:

Using Change Plans to Make Changes

This section provides an overview of the process of creating and modifying object definitions using change plans. It introduces you to important Oracle Change Management Pack concepts and terms.

The process for making changes using change plans involves these phases:

  1. Planning and defining changes

  2. Evaluating the impact of changes

  3. Implementing changes

The following sections describe each of these phases. Note that although change plans can be created with the DB Alter, DB Quick Change, DB Propagate, and Plan Editor applications, some of these applications may hide various phases of the process from you to reduce the time it takes to make the desired changes.

Planning and Defining Changes

The first phase of using a change plan to create or modify object definitions is to plan and define the changes that you want to make.

During the planning stage, you plan the changes that you want to make. For example, you may want to make one or more changes to an existing object definition in one or more databases. Or, you may want to reproduce one or more object definitions from one schema or database in another schema or database.

During the definition stage, you use Oracle Change Management Pack to create a change plan and change requests, and you specify one or more destination databases. A change plan is a named container for change requests. Change requests describe to Oracle Change Management Pack the types of changes that you want to make. A destination database is a database where you want to apply the change requests in a change plan. See "Creating a Plan with Plan Editor" for more information about creating a change plan. See "Selecting a Destination Database with Plan Editor" for more information about selecting a destination database.

To specify one or more changes to make to an existing object definition in one or more databases, you create a change request called a directive that Oracle Change Management Pack uses to make the changes. To reproduce one or more object definitions from one database or schema in another database or schema, Oracle Change Management Pack uses a change request called an exemplar. See "Defining a Directive with Plan Editor" for more information about defining directives. See "Defining an Exemplar with Plan Editor" for more information about defining exemplars.

Figure 1-12 shows the planning and defining changes phase:

Figure 1-12 Using a Change Plan: Planning and Defining Changes


Evaluating the Impact of Changes

After you finish planning and defining the changes, the next phase of the process is to evaluate the impact of the changes that you want to make.

To evaluate the impact of the change requests at a particular database, you use Oracle Change Management Pack to generate a script and an impact report for a change plan and that destination database. The impact report explains the changes that will be made by the script when it executes at the destination database. It also describes any change requests that cannot be applied at the destination database, and explains how to modify the destination database or change plan so that those changes can be made. See "Viewing the Impact Report and Script Summary with Plan Editor" for more information about the impact report.

The script is used to implement the desired changes at the destination database. See "Generating a Script with Plan Editor" for more information about generating a script for a destination database.

Figure 1-13 shows the evaluating the impact of changes phase:

Figure 1-13 Using a Change Plan: Evaluating the Impact of Changes


Implementing the Changes

The last phase of the process is to implement the changes.

To implement the change requests in a change plan at a destination database, you use Oracle Change Management Pack to execute the script at the destination database. See "Executing the Script with Plan Editor" for more information about executing a script at a destination database.

During or after script execution, you can examine the execution log, which displays messages, including the status of the script execution ("Script execution succeeded" or "Script execution failed."). See "Dealing with Script Execution Errors" for more information on understanding execution log error messages.

You are also able to keep or undo the changes made by the script at the destination database. See "Executing the Script with Plan Editor" for more information about keeping or undoing changes made by a change plan script.

Figure 1-14 shows the implementing the changes phase:

Figure 1-14 Using a Change Plan: Implementing the Changes


Learning More About Making Changes Using Change Plans

The DB Alter, DB Quick Change, and DB Propagate applications guide you through the steps of making particular types of changes. Plan Editor allows you to make a wider variety of changes, but does not guide you through the steps of making the changes.

For more information about making changes using Plan Editor, see Chapter 3, "Using Plan Editor".

Using Help

Online help is provided for all of the Oracle Change Management Pack applications. You can display either the Contents page of the Oracle Change Management Pack help system, or you can display a help topic for your current context in an application.

Displaying the Contents Page for Help

Depending on the application that you are using, you can display the Contents page for the Oracle Change Management Pack online help by using one of the following methods:

Use the help system's Contents page, Index page, or Help Search page to locate help topics of interest. To access the Help Search page, on the Help Navigator window's Tools menu, choose Search.

Displaying a Help Topic for Your Current Context in an Application

You can display context-sensitive help in several ways, depending on your context in an application.

Finding a Particular Type of Help Topic

In addition to providing context-sensitive help, the Oracle Change Management Pack help system contains conceptual topics, task topics, and a glossary. To locate each type of topic:




Prev

Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index