16.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.6 View relationships between objects<br />

Chapter 2 – Managing your database environment 93<br />

When you are learning the structure of an existing database or planning changes to a<br />

database, it is useful to find out how the database objects are related to each other. While<br />

<strong>Data</strong> <strong>Studio</strong> will help you manage dependent objects when you alter or drop an object, it<br />

also lets you visualize relationships among objects.<br />

2.6.1 Analyze impact<br />

Be<strong>for</strong>e making changes to a database object, it is wise to verify that no dependent objects<br />

will become invalid because of your changes. <strong>Data</strong> <strong>Studio</strong> can detect dependencies in<br />

database objects, so that you can see a summary of the objects affected by the changes.<br />

To detect dependencies by using the impact analysis functionality:<br />

1. Right-click the table and select Analyze Impact.<br />

The Impact Analysis window opens.<br />

2. To locate the objects that depend on the table, select the Dependent objects option,<br />

and then click OK.<br />

The workbench locates the dependencies. The Model Report view opens and lists the<br />

dependent objects, and the impact analysis diagram editor also displays a visual<br />

representation of all of the dependencies, as shown in Figure 2.27.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!