Oracle8i Administrator's Guide
Release 8.1.5

A67772-01

Library

Product

Contents

Index

Prev Next


Preface

This guide is for people who administer the operation of an Oracle database system. These people, referred to as "database administrators" (DBAs), are assumed to be responsible for ensuring the smooth operation of an Oracle database system and for monitoring its use. The responsibilities of database administrators are described in Chapter 1.


Attention:

The Oracle8i Administrator's Guide contains information that describes the features and functionality of the Oracle8 and the Oracle8 Enterprise Edition products. Oracle8 and Oracle8 Enterprise Edition have the same basic features. However, several advanced features are available only with the Enterprise Edition, and some of these are optional. For example, to perform automated tablespace point-in-time recovery (using Recovery Manager), you must have the Enterprise Edition.

For information about the differences between Oracle8 and the Oracle8 Enterprise Edition and the features and options that are available to you, please refer to Getting to Know Oracle8i and the Oracle8i Enterprise Edition.  


Audience

Readers of this guide are assumed to be familiar with relational database concepts. They are also assumed to be familiar with the operating system environment under which they are running Oracle.

Readers Interested in Installation and Migration Information

Administrators frequently participate in installing the Oracle Server software and migrating existing Oracle databases to newer formats (for example, Version 7 databases to Oracle8 format). This guide is not an installation or migration manual.

If your primary interest is installation, see your operating system-specific Oracle documentation.

If your primary interest is database or application migration, see the Oracle8i Migration manual.

Readers Interested in Application Design Information

In addition to administrators, experienced users of Oracle and advanced database application designers might also find information in this guide useful.

However, database application developers should also see the Oracle8i Application Developer's Guide - Fundamentals and the documentation for the tool or language product they are using to develop Oracle database applications.

How to Use This Guide

Every reader of this guide should read Chapter 1 of Oracle8i Concepts. This overview of the concepts and terminology related to Oracle provides a foundation for the more detailed information in this guide. The rest of Oracle8i Concepts explains the Oracle architecture and features, and how they operate in more detail.

Structure

This guide contains the following parts and chapters.

Part I: Basic Database Administration

Chapter 1, "The Oracle Database Administrator"  

This chapter serves as a general introduction to typical tasks performed by database administrators, such as installing software and planning a database.  

Chapter 2, "Creating an Oracle Database"  

This chapter describes the most important considerations when creating a database. Consult this chapter when in the database planning stage.  

Chapter 3, "Starting Up and Shutting Down"  

Consult this chapter when you wish to start up a database, alter its availability, or shut it down. Parameter files related to starting up and shutting down are also described here.  

Part II: Oracle Server Configuration

Chapter 4, "Managing Oracle Processes"  

This chapter helps you identify different Oracle processes, such as dedicated server processes and multi-threaded server processes. Consult this chapter when configuring, modifying, tracking and managing processes.  

Chapter 5, "Managing Control Files"  

This chapter describes all aspects of managing control files (such as naming, creating, troubleshooting, and dropping control files).  

Chapter 6, "Managing the Online Redo Log"  

This chapter describes all aspects of managing the online redo log: planning, creating, renaming, dropping, or clearing online redo log files.  

Chapter 7, "Managing Archived Redo Logs"  

Consult this chapter for information about archive modes, tuning archiving, and viewing.  

Chapter 8, "Managing Job Queues"  

Consult this chapter before working with job queues. All aspects of submitting, removing, altering, and fixing job queues are described.  

Part III: Database Storage

Chapter 9, "Managing Tablespaces"  

This chapter provides guidelines to follow as you manage tablespaces, and describes how to create, manage, alter, drop and move data betweentablespaces.  

Chapter 10, "Managing Datafiles"  

This chapter provides guidelines to follow as you manage datafiles, and describes how to create, change, alter, rename and view information about datafiles.  

Chapter 11, "Using the Database Resource Manager"  

This chapter describes how to use the Database Resource Manager to allocate resources.  

Chapter 12, "Guidelines for Managing Schema Objects"  

Consult this chapter for descriptions of common tasks, such as setting storage parameters, deallocating space and managing space.  

Chapter 13, "Managing Partitioned Tables and Indexes"  

This chapter describes what a partitioned table (and index) is and how to create and manage it.  

Chapter 14, "Managing Tables"  

Consult this chapter for general table management guidelines, as well as information about creating, altering, maintaining and dropping tables.  

Chapter 15, "Managing Views, Sequences and Synonyms"  

This chapter describes all aspects of managing views, sequences and synonyms.  

Chapter 16, "Managing Indexes"  

Consult this chapter for general guidelines about indexes, including creating, altering, monitoring and dropping indexes.  

Chapter 17, "Managing Clusters"  

Consult this chapter for general guidelines to follow when creating, altering and dropping clusters.  

Chapter 18, "Managing Hash Clusters"  

Consult this chapter for general guidelines to follow when altering or dropping hash clusters.  

Chapter 19, "Detecting and Repairing Data Block Corruption"  

This chapter describes how to use the procedures in the DBMS_REPAIR package to detect and correct data block corruption.  

Chapter 20, "General Management of Schema Objects"  

This chapter covers more specific aspects of schema management than those identified in Chapter 12. Consult this chapter for information about table analysis, truncation of tables and clusters, database triggers, integrity constraints, object dependencies. You will also find a number of specific examples.  

Chapter 21, "Managing Rollback Segments"  

Consult this chapter for guidelines to follow when working with rollback segments.  

Part IV: Database Security

Chapter 22, "Establishing Security Policies"  

This chapter describes all aspects of database security, including system, data and user security policies, as well as specific tasks associated with password management.  

Chapter 23, "Managing Users and Resources"  

This chapter describes session and user licensing, user authentication, and provides specific examples of tasks associated with managing users and resources.  

Chapter 24, "Managing User Privileges and Roles"  

This chapter contains information about all aspects of managing user privileges and roles. Consult this chapter to find out how to grant and revoke privileges and roles.  

Chapter 25, "Auditing Database Use"  

This chapter describes how to create, manage and view audit information.  

Conventions

This section explains the conventions used in this manual including the following:

Text

This section explains the conventions used within the text.

UPPERCASE Characters

Uppercase text is used to call attention to command keywords, object names, parameters, filenames, and so on.

For example, "If you create a private rollback segment, the name must be included in the ROLLBACK_SEGMENTS parameter of the parameter file."

Italicized Characters

Italicized words within text are book titles or emphasized words.

Syntax Diagrams and Notation

The syntax diagrams and notation in this manual show the syntax for SQL commands, functions, hints, and other elements. This section tells you how to read syntax diagrams and examples and write SQL statements based on them.

Keywords

Keywords are words that have special meanings in the SQL language. In the syntax diagrams in this manual, keywords appear in uppercase. You must use keywords in your SQL statements exactly as they appear in the syntax diagram, except that they can be either uppercase or lowercase. For example, you must use the CREATE keyword to begin your CREATE TABLE statements just as it appears in the CREATE TABLE syntax diagram.

Parameters

Parameters act as place holders in syntax diagrams. They appear in lowercase. Parameters are usually names of database objects, Oracle datatype names, or expressions. When you see a parameter in a syntax diagram, substitute an object or expression of the appropriate type in your SQL statement. For example, to write a CREATE TABLE statement, use the name of the table you want to create, such as EMP, in place of the table parameter in the syntax diagram. (Note that parameter names appear in italics in the text.)

This list shows parameters that appear in the syntax diagrams in this manual and examples of the values you might substitute for them in your statements:

Parameter   Description   Examples  

table  

The substitution value must be the name of an object of the type specified by the parameter.  

emp  

'text'  

The substitution value must be a character literal in single quotes.  

'Employee Records'  

condition  

The substitution value must be a condition that evaluates to TRUE or FALSE.  

ename > 'A'  

date

d  

The substitution value must be a date constant or an expression of DATE datatype.  

TO_DATE (

'01-Jan-1996',

DD-MON-YYYY')  

expr  

The substitution value can be an expression of any datatype.  

sal + 1000  

integer  

The substitution value must be an integer.  

72  

rowid  

The substitution value must be an expression of datatype ROWID.  

00000462.0001.0001  

subquery  

The substitution value must be a SELECT statement contained in another SQL statement.  

SELECT ename

FROM emp  

statement_name

block_name  

The substitution value must be an identifier for a SQL statement or PL/SQL block.  

s1

b1  

Code Examples

SQL and SQL*Plus commands and statements are separated from the text of paragraphs in a monospaced font as follows:

INSERT INTO emp (empno, ename) VALUES (1000, 'JFEE); 
ALTER TABLESPACE users ADD DATAFILE 'users2.ora' SIZE 50K; 

Example statements can include punctuation, such as commas or quotation marks. All punctuation in example statements is required. All example statements terminate with a semicolon (;). Depending on the application, a semicolon or other terminator may or may not be required to end a statement.

Uppercase words in example statements indicate the keywords within Oracle SQL. When you issue statements, however, keywords are not case sensitive.

Lowercase words in example statements indicate words supplied only for the context of the example. For example, lowercase words may indicate the name of a table, column, or file.




Prev

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index