01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

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

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

226<br />

CHAPTER 11 FIXING PROBLEMS<br />

The Book We All Want and Best Practices for<br />

Problem Management<br />

The book we all want is a book that has a clear description of every <strong>Oracle</strong> problem and<br />

step-by- step instructions for fixing them. That book will never be written. There are just<br />

<strong>to</strong>o many problems that can occur. Problems can have multiple solutions. The solution<br />

may depend on your particular circumstances. In many cases, it is not even clear what the<br />

problem really is. The best you can do is <strong>to</strong> use best practices for problem management.<br />

Here are my suggestions:<br />

: Moni<strong>to</strong>ring your database and preventing problems is<br />

better than fixing problems—for example, add space <strong>to</strong> a database before it fills<br />

up completely and jobs begin <strong>to</strong> fail.<br />

: After the problem has been fixed, look for the<br />

underlying root cause—for example, find out why the database is growing and<br />

how much space will be needed over the medium term.<br />

: A worker is only as good as his <strong>to</strong>ols. The more <strong>to</strong>ols you have, the<br />

better you will be equipped <strong>to</strong> solve a problem. Commonly used <strong>to</strong>ols include<br />

<strong>Oracle</strong>- supplied <strong>to</strong>ols such as Enterprise Manager and SQL Developer and thirdparty<br />

<strong>to</strong>ols such as Toad from Quest Software and DBArtisan from Embarcadero<br />

Technologies.<br />

: The two obvious advantages of<br />

standard operating procedures are consistency and efficiency, but there are<br />

many others. We will return <strong>to</strong> the subject of standard operating procedures in<br />

Chapter 15.<br />

: Remote Diagnostic Agent (RDA), introduced<br />

in Chapter 9, is a simple <strong>to</strong>ol that you can use <strong>to</strong> document your environment. An<br />

RDA collection collects all the information about the database and operating system<br />

in<strong>to</strong> one compact package that is very useful in solving problems.<br />

: There are several online forums that can help you solve a problem.<br />

If you have an <strong>Oracle</strong> support contract, you can escalate a problem <strong>to</strong> an <strong>Oracle</strong><br />

engineer. We will return <strong>to</strong> this subject later in this chapter.<br />

: The most important thing <strong>to</strong> do is <strong>to</strong> keep work records. When<br />

a problem reoccurs, it helps <strong>to</strong> have access <strong>to</strong> the details of prior occurrences.<br />

Every environment is prone <strong>to</strong> certain problems—for example, <strong>Oracle</strong> <strong>Database</strong><br />

10.1.0.3 is affected by a bug that causes the nightly statistics gathering job <br />

<strong>to</strong> fail—the characteristic error code is ORA- 00904.

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

Saved successfully!

Ooh no, something went wrong!