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.

120<br />

CHAPTER 6 DATABASE CREATION<br />

Post-Creation Tasks<br />

You should consider performing the following tasks every time you’ve created a new<br />

database:<br />

management packs that you have not licensed.<br />

You can do this from the Management Pack Access screen in Enterprise Manager,<br />

accessible via the Setup screen. You need <strong>to</strong> set the <br />

initialization parameter <strong>to</strong> in order <strong>to</strong> disable access <strong>to</strong> Diagnostics Pack and<br />

Tuning Pack; you can do this from the Initialization Parameters screen, accessible<br />

via the Server screen.<br />

<br />

should consider installing Statspack, which is a free <strong>to</strong>ol for performance analysis.<br />

Installation is quick and painless; simply run the and <br />

scripts found in the direc<strong>to</strong>ry. Information on installing<br />

and using Statspack can be found in in the same direc<strong>to</strong>ry. We will discuss<br />

the use of Statspack in Chapter 16.<br />

, which is provided by <strong>Oracle</strong> Support<br />

<strong>to</strong> collect all the information about a database and its host system that might<br />

aid in the diagnosis of a problem. <strong>Oracle</strong> Support typically asks that you use this<br />

<strong>to</strong>ol and send the collected data <strong>to</strong> <strong>Oracle</strong> whenever you request help in solving a<br />

problem. Although it was created <strong>to</strong> aid in diagnosing problems, it is of great help<br />

in exploring and documenting database configurations. Complete instructions for<br />

installing RDA can be found in Metalink note 314422.1: Remote Diagnostic Agent<br />

(RDA) 4—Getting Started. Metalink is the <strong>Oracle</strong> knowledge base and, you will<br />

need a valid <strong>Oracle</strong> support contract in order <strong>to</strong> gain access <strong>to</strong> it.<br />

Other Methods of <strong>Database</strong> Creation<br />

DBCA is a user-friendly <strong>to</strong>ol for creating a database, but behind the scenes, it uses operating-system<br />

commands and SQL*Plus commands <strong>to</strong> do its work. You can use those same<br />

commands <strong>to</strong> create a database manually. The centerpiece is the command,<br />

which is rich in options. In Listing 6-2, we create a functional database with a few<br />

simple commands and then destroy it, all in the space of a few minutes; the utility<br />

is used <strong>to</strong> create and drop the corresponding Windows service. Complete instructions for<br />

creating a database with the command can be found in <strong>Oracle</strong> <strong>Database</strong><br />

<strong>11g</strong> Administra<strong>to</strong>r’s Guide.

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

Saved successfully!

Ooh no, something went wrong!