key methods for managing complex database … paper: key methods for managing complex database...

14
WHITE PAPER Key Methods for Managing Complex Database Environments Written by Dave Pearson Senior Project Manager Quest Software, Inc.

Upload: ngothuy

Post on 27-Mar-2018

220 views

Category:

Documents


1 download

TRANSCRIPT

WHITE PAPER

Key Methods for Managing Complex

Database EnvironmentsWritten by

Dave PearsonSenior Project Manager

Quest Software, Inc.

White Paper: Key Methods for Managing Complex Database Environments 3

Contents Abstract .......................................................................................................................................................................... 4

Introduction .................................................................................................................................................................... 5

Balancing Key Business Needs ..................................................................................................................................... 6

Cost ............................................................................................................................................................................ 6

Service ....................................................................................................................................................................... 6

Risk ............................................................................................................................................................................ 6

Understanding New DBA Challenges ............................................................................................................................ 7

Application Support – The Internal Customer ............................................................................................................. 7

Managing Complex Database Environments ................................................................................................................. 8

Why Have Multiple Platforms? .................................................................................................................................... 8

Choosing Third-Party Tools ........................................................................................................................................ 8

Holistic Database Monitoring .................................................................................................................................. 9

Comprehensive Coverage ...................................................................................................................................... 9

An Intuitive, Cross-Platform User Interface............................................................................................................. 9

Application Transaction Workload ........................................................................................................................ 10

Detailed Measurement ......................................................................................................................................... 10

Total Cost of Ownership ....................................................................................................................................... 11

Conclusion ................................................................................................................................................................... 12

About the Author .......................................................................................................................................................... 13

White Paper: Key Methods for Managing Complex Database Environments 4

Abstract This white paper addresses key methods for successfully managing today’s complex database infrastructures,

including balancing key business metrics, understanding the challenges DBAs face, and finding the right tools to

monitor and manage the database environment.

White Paper: Key Methods for Managing Complex Database Environments 5

Introduction A slow relational database can substantially impact the performance of the applications it supports. Users may issue

thousands of transactions every minute, which are serviced by perhaps dozens of redundant web and application

servers – and a single database. The relational database must preserve consistency and availability, making it a

highly centralized asset. It concentrates the transactions and places a great deal of pressure on the database stack to

operate at optimal levels of performance and availability. This is why the database is so critical, and it’s also why the

DBAs who manage it are more than average administrators.

To successfully manage these complex database environments, one must balance key business metrics, understand

the DBA’s unique challenges, and select the right tools for database administration.

White Paper: Key Methods for Managing Complex Database Environments 6

Balancing Key Business Needs Managing the database and the DBA team is a complex challenge that requires attention to three primary business

metrics: cost, service, and risk.

Cost DBA salaries account for the major direct cost of the database team. The production DBA performs a specialized role

in the IT organization and is generally well compensated as a result.

Enhancing the productivity of the DBA team is essential to maximizing cost effectiveness. Tools that automate tasks

via an intuitive user interface are often the first step toward improving DBA productivity. For DBAs managing critical

databases, productivity is widely measured by the number of databases they can manage while maintaining service

levels.

Service Databases carry a service expectation that is either implicitly understood by the administration teams or formalized

into a service level. Service levels are usually defined by the application team and passed on to the administrators of

each asset in the application stack. Given the vital role of the database to the application, the service level the DBA

inherits is aligned to application criticality and is typically measured by availability and response time.

Risk The centralized nature of the database relative to the other components in the application stack makes it highly

sensitive to change – and with change comes risk.

Moderate-risk changes are small and incremental (e.g. operating system upgrades, database patches and regular

maintenance tasks like backup, data archiving, and object reorganization).

When larger changes are required, however, the risk to database stability is much higher. Significant upgrades to

server hardware often require downtime, but upgrades to the application code or to a new major release of the

database carry the added risk that application performance may become slower as a result of the change.

Balancing these factors requires intuition, good judgment, and accurate data.

White Paper: Key Methods for Managing Complex Database Environments 7

Understanding New DBA Challenges Application Support – The Internal Customer Traditionally, applications supported the business, and IT operations supported the applications. Advances in

technology, fueled largely by the mainstream expansion of the Internet, have led to applications that directly drive

business, generate revenue, and interact with customers.

The critical nature of these applications has driven the need for dedicated support teams within the application

organization. These application support teams sometimes include dedicated DBAs, but more often the relationship

resembles that of an internal customer, where DBAs within the operations organization provide level-three support to

the application team.

In those cases, the DBA faces unique and often conflicting pressures from both the operations and application

organizations. IT administrators typically focus on the resources they manage, while application support is centered

on service quality. Therefore, the central role of the database within the application stack requires the DBA to

effectively manage resources as well as be highly sensitive to the service experience of the application users.

Wearing both hats simultaneously can be challenging for the production DBA.

Figure 1. The production DBA is tasked with managing resources as well as monitoring service levels.

Terminology from the Information Technology Infrastructure Library (ITIL) articulates the dual-role dilemma of the

DBA, and is helpful when comparing incident management with problem management.

The objective of the incident management lifecycle is to restore service as quickly as possible to meet SLAs. The

focus of problem management is to resolve the root cause of errors and to find permanent solutions – a process that

prioritizes accuracy in problem resolution over speed. This focus on problem resolution is essential to achieving a

state of continuous improvement, as when problem recurrence is prevented, service levels are enhanced.

White Paper: Key Methods for Managing Complex Database Environments 8

Managing Complex Database Environments

Why Have Multiple Platforms?

One of the biggest challenges facing today’s IT organizations is managing the complexity of an environment that

consists of multiple operating systems, databases, and applications. In addition, larger organizations have to manage

this complexity across multiple geographies.

IT standards help to align the skills of the administration team and streamline operational costs. However, when an

application (new or existing) creates the requirement for platforms that are outside of the standard that IT has

defined, the standard generally adapts.

Recommended practice is to maintain platforms from at least two competing vendors in order to avoid over-exposure

to the contract negotiation leverage of a single vendor. Consolidating vendors reduces the operational costs

associated with multi-platform management, but over-consolidation increases the pricing power of the remaining

vendors, potentially erasing the savings.1 Finding the right number of vendors is crucial to optimizing costs. Most

companies — as many as 90 percent — have IT organizations managing at least two DBMS platforms; typically,

each DBA is responsible for approximately 35 databases.2

Choosing Third-Party Tools

Many sites introduce trusted third-party vendors because they provide objective measurement and management of

performance across multiple database platforms. Solutions from third-party vendors aim to increase DBA productivity

and reduce costs while ensuring high service quality. Specialized administration and management technology that

operates independently of the database platform provides a productivity gain of at least 20 percent, according to

Forrester Research.3

On top of this are the productivity gains achieved by DBAs who are able to manage problem scenarios with agility

and accuracy. By resolving the root cause of problems faster, their skills can be applied to prevent problems, optimize

resources, and improve user response times.

1 25 July 2008 (ID Number: G00159724) ―How Many Database Management Systems Should You

Have?‖ Donald Feinberg, Jeff Comport 2 23 February 2010 ―Take Advantage of New Ways to Save Money on Database Costs‖ Noel Yuhanna

3 23 February 2010 ―Take Advantage of New Ways to Save Money on Database Costs‖ Noel Yuhanna

White Paper: Key Methods for Managing Complex Database Environments 9

Holistic Database Monitoring

A single, consolidated view of database health is fundamental to addressing the challenges associated with

managing multiple database systems. The coverage must extend across several layers of the application and

database stack to ensure that the view presented to the DBA is accurate and facilitates the user workflows that drive

problem resolution and prevention as well as performance optimization.

Important requirements for holistic monitoring include:

1. A view into the performance of every component that could potentially disrupt database operations, including

the operating system and virtual machines.

2. An intuitive user interface that enables the management of cross-platform performance, accommodating

different levels of administrator skill.

3. Visibility into the transaction workload that is driven into the database by the application users and

processes.

4. Sufficient depth to support detailed analysis and optimization activities.

5. A low total cost of ownership, especially in regard to deployment and upgrade efforts.

Comprehensive Coverage

The database is dependent on the operating system as well as virtual machines and their storage subsystems for

resources. Coverage of these components is necessary to accurately isolate the source of problems.

An Intuitive, Cross-Platform User Interface

The most visible aspect of the third-party advantage is the user interface. The central benefit of platform neutrality is

technology that abstracts platform-specific complexity, allowing a service-centric perspective on performance. Cross-

platform management significantly improves DBA productivity and minimizes training costs.

Figure 2: DBA productivity is directly influenced by the quality of the user interface.

White Paper: Key Methods for Managing Complex Database Environments 10

Application Transaction Workload

The database is linked to the application by the transactions that are directed into the database. Measuring the

database transaction workload is the only way to accurately report on the service quality of the database in regard to

application users, batch jobs, and automated tasks.

Detailed Measurement

The complexities of modern databases, and the critical applications they support, require far more sophisticated

analysis of performance than is provided by the raw metrics of the database engine. DBAs striving for continuous

improvement need to fully understand performance in order to make good decisions and avoid creating new

problems, which is always a possibility with inadequate data. Achieving understanding requires intelligent analysis of

performance history, from real-time to data that has aged by weeks or months. Only with sufficient historical data can

the DBA determine important trends, identify chronic conditions, and prevent emerging issues.

Data richness is a function of granularity. Monitoring takes a sampling approach to metric collection, so the rate of

collection determines granularity. A robust monitor collects data at rates that reflect the vitality of the measured

component, but can also adjust the rate to increase or decrease granularity when necessary (e.g., when load

volumes change or during the diagnostic analysis of a problem).

Of course, collection overhead must be minimal to ensure that the cost of collection doesn’t exceed the value of the

collected data. This is an important factor in assessing a monitoring technology.

Figure 3: Detailed analysis of database I/O helps isolate problem areas and hot spots.

White Paper: Key Methods for Managing Complex Database Environments 11

Total Cost of Ownership

Technology that is designed to reduce operational costs as a fundamental part of its value must demonstrate a low

total cost of ownership (TCO).

Key components of a monitoring technology that improves TCO include:

Centralized Architecture

o Minimizes deployment and upgrade costs.

o Offloads management, storage, and presentation overhead away from production.

o Facilitates cross-instance, cross-platform, and cross-domain correlation of data and analyzes

performance data.

Production-Remote Collection

o Reduces the collection cost to the overhead of the collection query only.

o Facilitates deployment and speeds upgrades by avoiding the need to touch the production server.

Database Auto-Discovery

o Enables the monitor to be effective quickly in large database environments, removing the burden of

the DBA team to individually specify each instance.

Adaptive Baseline Alerting

o Leverages historical performance to construct a baseline range of ―normal‖ performance for each

collected metric.

o Addresses the inability of fixed thresholds to provide accurate warning alerts, allowing them to

remain focused on protecting critical resource limits.

o Reports emerging problems as deviations from normal behavior with great accuracy and

timeliness.

Service Level Modeling

o Aligning groups of assets to a defined service level is an essential capability for a monitor designed

to measure and report on the qualitative aspects of performance.

Consistent, Cross-Platform User Interface

o Reduces training costs.

o Accelerates time to resolution for DBAs of varying skill levels.

Figure 4: Adaptive baselining optimizes alert intelligence, accuracy, and timeliness

White Paper: Key Methods for Managing Complex Database Environments 12

Conclusion Today’s production DBA teams must manage resources effectively as well as closely monitor transactions as they

interact with the database. A monitoring tool that integrates these capabilities and a single, consolidated view of

database health can substantially improve resolution time and DBA productivity while containing risks.

White Paper: Key Methods for Managing Complex Database Environments 13

About the Author Dave Pearson is a senior product manager at Quest Software, where he focuses on Oracle performance

management products. He has been with Quest since 1999, and has 20 years of experience working with relational

database systems and the applications that use them.

White Paper: Key Methods for Managing Complex Database Environments 14

© 2010 Quest Software, Inc.

ALL RIGHTS RESERVED.

This document contains proprietary information protected by copyright. No part of this document may be reproduced

or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording for any

purpose without the written permission of Quest Software, Inc. (―Quest‖).

The information in this document is provided in connection with Quest products. No license, express or implied, by

estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of

Quest products. EXCEPT AS SET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE

LICENSE AGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITY WHATSOEVER AND

DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS

INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A

PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FOR ANY

DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING,

WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF

INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS

BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representations or warranties with

respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to

specifications and product descriptions at any time without notice. Quest does not make any commitment to update

the information contained in this document.

If you have any questions regarding your potential use of this material, contact:

Quest Software, Inc.

Attn: Legal Department

5 Polaris Way

Aliso Viejo, CA 92656

www.quest.com

email: [email protected]

Refer to our Web site for regional and international office information.

Trademarks

Quest, Quest Software, the Quest Software logo, AccessManager, ActiveRoles, Aelita, Akonix, AppAssure,

Benchmark Factory, Big Brother, BridgeAccess, BridgeAutoEscalate, BridgeSearch, BridgeTrak, BusinessInsight ,

ChangeAuditor, ChangeManager, Defender, DeployDirector, Desktop Authority, DirectoryAnalyzer,

DirectoryTroubleshooter, DS Analyzer, DS Expert, Foglight, GPOADmin, Help Desk Authority, Imceda,

IntelliProfile, InTrust, Invirtus, iToken, I/Watch, JClass, Jint, JProbe, LeccoTech, LiteSpeed, LiveReorg, LogADmin,

MessageStats, Monosphere, MultSess, NBSpool, NetBase, NetControl, Npulse, NetPro, PassGo, PerformaSure,

Point,Click,Done!, PowerGUI, Quest Central, Quest vToolkit, Quest vWorkSpace, ReportADmin, RestoreADmin,

ScriptLogic, Security Lifecycle Map, SelfServiceADmin, SharePlex, Sitraka, SmartAlarm, Spotlight, SQL Navigator,

SQL Watch, SQLab, Stat, StealthCollect, Storage Horizon, Tag and Follow, Toad, T.O.A.D., Toad World,

vAutomator, vControl, vConverter, vFoglight, vOptimizer, vRanger, Vintela, Virtual DBA, VizionCore, Vizioncore

vAutomation Suite, Vizioncore vBackup, Vizioncore vEssentials, Vizioncore vMigrator, Vizioncore vReplicator,

WebDefender, Webthority, Xaffire, and XRT are trademarks and registered trademarks of Quest Software, Inc in

the United States of America and other countries. Other trademarks and registered trademarks used in this guide

are property of their respective owners.

5 Polaris Way, Aliso Viejo, CA 92656 | PHONE 800.306.9329 | WEB www.quest.com | E-MAIL [email protected]

If you are located outside North America, you can find local office information on our Web site.

WHITE PAPER

About Quest Software, Inc.

Quest simplifies and reduces the cost of managing IT for more than 100,000 customers

worldwide. Our innovative solutions make solving the toughest IT management problems

easier, enabling customers to save time and money across physical, virtual and cloud

environments. For more information about Quest go to www.quest.com.

Contacting Quest Software

PHONE 800.306.9329 (United States and Canada)

If you are located outside North America, you can find your

local office information on our Web site.

E-MAIL [email protected]

MAIL Quest Software, Inc.

World Headquarters

5 Polaris Way

Aliso Viejo, CA 92656

USA

Contacting Quest Support

Quest Support is available to customers who have a trial version of a Quest product or who

have purchased a commercial version and have a valid maintenance contract.

Quest Support provides around-the-clock coverage with SupportLink, our Web self-service.

Visit SupportLink at https://support.quest.com.

SupportLink gives users of Quest Software products the ability to:

• Search Quest’s online Knowledgebase

• Download the latest releases, documentation, and patches for Quest products

• Log support cases

• Manage existing support cases

View the Global Support Guide for a detailed explanation of support programs, online services,

contact information, and policies and procedures.

© 2010 Quest Software, Inc. ALL RIGHTS RESERVED.

Quest, Quest Software, the Quest Software logo vRanger are registered trademarks of Quest Software, Inc. in the U.S.A. and/or other countries. All other trademarks and registered trademarks are property of their respective owners. WPD-Foglight-KeyMthds-US-EH20101012