01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

224<br />

CHAPTER 11 FIXING PROBLEMS<br />

Extremely Important<br />

Keeping Records<br />

Fixing Root Cause<br />

Updating Documentation<br />

Fixing Immediate Problem<br />

Not Urgent<br />

Extremely Urgent<br />

Watching YouTube Video<br />

Cell Phone Call<br />

Not Important<br />

Figure 11-1. Classifying activities in<strong>to</strong> four quadrants<br />

Systematic Five- Step Problem- Solving Method<br />

In his book The Art and Science of <strong>Oracle</strong> Performance Tuning, Chris<strong>to</strong>pher Lawson<br />

describes a systematic five- step method for solving a performance- tuning problem.<br />

The method applies <strong>to</strong> any problem, not just <strong>to</strong> a performance problem. <strong>Oracle</strong> <strong>Database</strong><br />

versions and software <strong>to</strong>ols may change, but the five steps always remain the same.<br />

A problem may be simple and require only a few minutes of your time or it may be tremendously<br />

complex and require weeks, but the five steps always remain the same:<br />

1. Define the problem. This requires patient listening, skillful questioning, and<br />

even careful observation. “Is the database having a problem?” is a question, not<br />

a problem statement. “The users are complaining” is a poorly defined problem<br />

statement. “I cannot connect <strong>to</strong> the database” is very precise. Ask the user for the<br />

his<strong>to</strong>ry of the problem. Ask what previous efforts have been made <strong>to</strong> solve the<br />

problem. Ask what changed recently in the environment, for example, software or<br />

hardware upgrades. Ask whether all users are affected or only some. Ask whether<br />

the problem occurs at specific times of the day or week. Ask whether all parts of<br />

the application are equally affected or just parts. Avoid confusing the problem<br />

with the solution—for example, “The problem is that we need <strong>to</strong> reboot the server.”<br />

A good way <strong>to</strong> end this phase is with a reproducible test case or with one or more<br />

<strong>Oracle</strong> error codes.<br />

2. Investigate the problem and collect as much pertinent evidence as possible.<br />

A good place <strong>to</strong> start is the <strong>Oracle</strong> alert log.

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

Saved successfully!

Ooh no, something went wrong!