Gaining an understanding of complex application database
Download
Report
Transcript Gaining an understanding of complex application database
®
Gaining an understanding of complex application
database relationships
UNYOYG
November 14, 2008
Ray Makela
© 2008 IBM Corporation
IBM Software Group | Information Management software
The Data Explosion?
Mergers & acquisitions
Organic business growth
– eCommerce
– ERP/CRM
Records retention:
– HIPAA
– SOX
Data multiplier effect
According to industry analysts, annual compound growth rates
for databases will exceed 125%
With all of the change and growth, we need to
understand how it affects the enterprise
2
IBM Software Group | Information Management software
Understanding your Enterprise
A business application can have many
relationships between the various Database objects,
such as tables
Some of these relationships can be discovered
easily, while others are hard to find (or not
documented) and manage.
Database
The Challenge….As the complexity of data
relationships increases, it becomes increasingly
difficult to discover and keep track of this
information.
3
IBM Software Group | Information Management software
A DBA may not always know how tables are related
Personnel changes
– Experienced DBA, new to the system
– New DBA
Little or no documentation
– Legacy applications
– Packaged applications
Environment Changes
– Applications changes
– Changes not documented
?
?
? ?
4
IBM Software Group | Information Management software
Why is knowing relationship data useful?
Ensure data consistency by keeping data relationally intact for:
– Archiving
– Backup and Recovery
– Test Data Management
Understand application relationships
– Application change validation
– Impact analysis
5
IBM Software Group | Information Management software
Analyzing Database Relationships
Discover all, or specific database
relationships, based on your
parameters
DBA
Identify hard-to-find relationships
defined and enforced by the
application logic
Provides the information required to
enabling analysis of the impact of
relationships changes across
applications
Ready-to-use Java APIs ready for
user applications and tools such as
Optim Solutions and Recovery
Expert.
Database
Relationship
Analyzer
Database
Catalog
System-managed RI
Triggers
Packages
User Input
User-defined RI
SQL
Trace
Application relationships
Dynamic SQL
6
IBM Software Group | Information Management software
Discover hard-to-find relationships- Three easy steps
User Initiated – Collect trace data
– Collect SQL trace data while application is running
Data Relationship Analyzer – Prepare data
– Extract SQL trace data from a table
Data Relationship Analyzer – Analyze data
– Run Group Discovery with “Trace Analysis” option
Application 1 Starts
Trace on
Application 1 Ends
Trace off
8
IBM Software Group | Information Management software
Compare Group Discovery Results
• Compare Group Discovery results between a baseline run and a
subsequent run to determine if changes have occurred and
understand differences
Group – 1st Run
Emp, Address
Group – 2nd Run
Group
Compare
Results
Emp, Address,
Salary
9
IBM Software Group | Information Management software
Compare Group Discovery Results
Compare database relationships between baseline and update
relationship analysis to understand differences
10
IBM Software Group | Information Management software
Summary: Analyzing Relationships
Analyze data relationships to improve accuracy and data
integrity
Obtain a complete view of your application database
environment
Promote database accuracy and consistency
11