You are on page 1of 12

IBM Software

Four steps to better database


and application performance
Find and solve performance problems without adding costs
Four steps to better database and application performance

1 2 3 4 5
Identify & Solve & Optimize
Introduction diagnose prevent for success Resources
Poor application and When it comes to Use collected data to Take advantage of tools Learn more about per-
database performance finding and diagnosing pinpoint fixes with and capabilities to formance management
puts your business at problems, remember far-ranging benefits— enhance business best practices.
risk. How can you three things: context, and respond performance.
become a proactive context, context. proactively.
problem solver?
Four steps to better database and application performance

Introduction
It starts with a call from the customer Performance issues can put your
service manager company’s revenue at risk “In complex environments it
Your company’s sales representatives are Poor application and database performance
not meeting their goals for average call ultimately erode customer satisfaction, cus-
can be very difficult to find
time. The reps say their main application tomer retention and sales revenue. Inside performance bottlenecks. It can
takes forever to retrieve customer transac- your company, decreased productivity can take several people with skills in
tion histories. The problem goes from man- reduce competitiveness and impact the application servers, networking
ager to manager until it lands in your lap. bottom line. And as the company adds
server CPUs and disk storage systems to
and databases to analyze and
Your diagnosis: poor database and plug performance gaps, overall infrastruc- then fix the bottleneck.”
application performance ture costs escalate. Your goal of “doing
You know the symptoms all too well: slug- more with less” begins to look like a distant —China Merchants Bank
gish customer service due to application dream.
slowdowns. Business users who can’t log
on because systems are unavailable. This e-book will examine the performance
Missed service-level agreements. It’s bad challenges you face today—and show how
enough that these symptoms affect confi- using a best-practices, four-step perform-
dence in IT, but it doesn’t stop there. ance management methodology can make
a big difference when you’re up against
these scenarios.
3

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Are you ready to manage performance?


It’s no surprise that performance issues skills can be expensive. Faced with already Take the four-step approach to
keep cropping up. As your company and stressed IT budgets, organizations may fall proactive performance management
business grows, more people, partners and back on a reactive approach built on man- A better approach doesn’t require high-
applications need access to data; the ual processes, ad hoc tools and stopgap priced expertise, but provides simplified
increase in demand and channels can solutions. management of both database and
decrease performance for everyone. application performance based on a best-
Constantly changing patterns of data use For example, organizations may end up practices, problem-solving methodology
can slow down even the most finely tuned relying on DBAs to create manual or with four basic steps:
database. At the same time, finding and scripted processes for isolating problems,
fixing problems is more difficult because only to find that those methods can’t scale ● Identify
today’s complex environments and their when more servers are added. Without ● Diagnose
layered application stacks often obscure a scalable solution, the pattern repeats ● Solve
the underlying issues. As a result, problem itself. Continual business and IT changes ● Prevent
isolation can take days and require many mean performance optimization is never
people to gather disparate diagnostics. complete. This approach builds performance from
the ground up. Let’s take a closer look at
Even relatively large IT groups may lack the each of these steps and what’s unique
specialized technical skills to proactively about them when it comes to performance
manage performance—and acquiring those management.

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Step one: Identify


One of the best ways to keep a small prob- problem before it actually starts affecting Clearly establishing the most important
lem from becoming a big one is to find it the business, just ask the people who have KPIs is the first step. Follow that up by
while it’s still small. By the time a business their hands on the systems. DBAs will point ensuring that you’re monitoring them
user is aware of a performance issue, it’s at things like long-running SQL queries, efficiently. Do you rely on the entire team
too late—some damage has already been buffer pool and I/O statistics, memory con- constantly making manual checks to catch
done. So, what does your early warning sumption and locking conflicts. Developers aberrations, or do you have a system in
system look like? will watch for time-consuming data-access place that sends alerts when problems
operations and analyze the time an applica- appear? Not everyone needs to see every
If you don’t know which technical key tion spends calculating and the time it locking problem; creating a small group of
performance indicators (KPIs) will indicate spends waiting for a database response. people who receive KPI alerts and report
your systems’ health and tell you about a problems will help keep the entire team
focused on the task at hand.

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Step two: Diagnose


When a KPI indicates a performance prob- For example, let’s say that the customer find one, further digging may reveal a need
lem, it’s tempting to immediately take a order history reporting application to create indexes to bring order history
microscope to the system that triggered the exceeded the set response-time threshold. retrieval performance back in line.
alert. But in today’s IT infrastructures, few By drilling down to average and maximum
systems stand alone, and effectively diag- end-to-end response times, you may Also, don’t unnecessarily limit your analysis.
nosing the root cause of a problem requires discover that the most time is being spent Are there other performance management
a holistic approach. Step back and analyze in the data server. That information enables systems in other parts of the enterprise?
the problem in a larger context: What’s you to drill down further, where you might Can you mine them for additional data?
happening throughout the information find an outdated SQL query. If you don’t Make sure you’re leveraging your invest-
chain, from the database through the net- ments in other solutions to get the full
work to the applications and back? picture.

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Step three: Solve


Broad horizons can help you find and In many cases, small changes at several elsewhere? And are there truly enough
diagnose performance problems—but don’t points in the IT infrastructure can be more resources to handle the amount of data
abandon them when it comes time to cre- effective than a major overhaul that focuses that needs to be processed?
ate a solution. Your proactive alerting and only on one system. For a slow query,
analysis capabilities should be capturing a tuning up outdated SQL is almost always a Think long term rather than stopgap. Use
wealth of new data that can be applied to good idea, but don’t ignore the application your captured data to identify areas that—
problem solving. that’s creating the query. Is the function when fixed—will affect more than just the
necessary? Is this being handled issue at hand, creating a system that’s
more robust at every turn.

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Step four: Prevent

Actively monitoring and collecting perform- to a particular business event. You can also executives a concrete understanding of
ance data should go beyond identifying and show conclusively that it has leveled off and performance issues and solutions will help
solving problems—it can help you head document the changes you made to ensure that the right IT priorities are funded.
them off in the first place. resolve the problem for future reference.
Finally, use the record of what you did
With a complete, accurate, easily- Don’t stop with your technicians. during the identification, diagnosis and
searched-and-analyzed set of historical Communicate the event and your actions to solving steps as a template to avoid similar
data, you can educate your tech team. business stakeholders in a concrete way problems or solve them more quickly when
For example, armed with the proper data, with pie charts, not tech-speak. Giving taking on your next project. Those reports
you can explain where and when a spike in can also be used for auditing as it relates to
memory use occurred and how it correlates performance indicators of the database.

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Become a performance-optimized organization


Now that you have some guidelines to Diagnose
“Optim has sensible defaults that follow, how do you make sure you have ●Dig into problem detail and related
the right technology in place? context with drill-down screens
give productive monitoring
IBM® InfoSphere™ Optim™ performance ●Automatically analyze captured data to
straight out of the box. The end- management solutions deliver the tools and pinpoint source code and determine root
to-end monitoring capability capabilities you need at each step of the cause
from a single point of control process: ●Use built-in integration to leverage data
from other IBM solutions you may already
saves costs and resources.” Identify be using
● Generate customized email alerts based
—Venedim
on thresholds Solve
● Use web-based dashboards for visual ●Receive expert advice for problem
quick scanning resolution
● Automatically monitor your applications ●Correct the problem whether it’s in the
and network as well as the database SQL, database or other related system
●Minimize slowdowns that impact user
productivity and revenue

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Prevent IBM InfoSphere Optim puts


●Capture and analyze data trends for performance management in the
capacity planning and growth spotlight
●Easily generate and send reports to IBM InfoSphere Optim solutions are
business and IT leaders designed to deploy quickly and easily out
●Enable cross-role collaboration—bring of the box for immediate benefit. Business-
DBAs and developers together value assessment services are also avail-
able to help you design a custom solution
complete with full financial analysis. Either
way, you can realize immediate ROI in
terms of cost and performance if you keep
performance-management best practices
in mind.

10

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
Four steps to better database and application performance

Resources
To learn more about best practices for
database and application performance
management and IBM InfoSphere Optim
solutions, please contact your IBM repre-
sentative or check out these resources:

● Optimize Performance: Optimize


database application performance
pre- and post-production
● IBM Services
● IBM DB2

11

1 Introduction 2 Identify & diagnose 3 Solve & prevent 4 Optimize for success 5 Resources
© Copyright IBM Corporation 2010
IBM Corporation
Software Group
Route 100
Somers, NY 10589 U.S.A.
Produced in the United States of America
September 2010
All Rights Reserved
IBM, the IBM logo, ibm.com, InfoSphere and Optim are trademarks or registered
trademarks of International Business Machines Corporation in the United States, other
countries or both. If these and other IBM trademarked terms are marked on their first
occurrence in this information with a trademark symbol (® or ™), these symbols indicate
U.S. registered or common law trademarks owned by IBM at the time this information was
published. Such trademarks may also be registered or common law trademarks in other
countries. A current list of IBM trademarks is available on the web at “Copyright and
trademark information” at ibm.com/legal/copytrade.shtml
Other company, product or service names may be trademarks or service marks of others.

Please Recycle

NIM03001-USEN-00

You might also like