Академический Документы
Профессиональный Документы
Культура Документы
Preface
Introduction
iii
Oracle Enterprise Manager: Architecture 2-14
Console 2-16
Summary 2-18
Practice 2 Overview 2-19
2 Creating a Database
Objectives 4-2
Planning and Organizing a Database 4-3
Optimal Flexible Architecture (OFA) 4-4
Oracle Software and File Locations 4-5
Creation Prerequisites 4-6
Authentication Methods for Database Administrators 4-7
Using Password File Authentication 4-8
iv
Creating a Database 4-10
Operating System Environment 4-11
Database Configuration Assistant 4-12
Creating a Database Using Database Configuration Assistant 4-13
Creating a Database Manually 4-16
Creating a Database Using Oracle Managed Files (OMF) 4-19
CREATE DATABASE Command 4-23
Troubleshooting 4-26
After Database Creation 4-27
Summary 4-28
Practice 4 Overview 4-29
v
7 Maintaining Online Redo Log Files
Objectives 7-2
Using Online Redo Log Files 7-3
Structure of Online Redo Log Files 7-4
How Online Redo Log Files Work 7-6
Forcing Log Switches and Checkpoints 7-8
Adding Online Redo Log File Groups 7-9
Adding Online Redo Log File Members 7-10
Dropping Online Redo Log File Groups 7-12
Dropping Online Redo Log File Members 7-13
Relocating or Renaming Online Redo Log Files 7-15
Clearing Online Redo Log Files 7-17
Online Redo Log File Configuration 7-18
Managing Online Redo Log Files with OMF 7-20
Obtaining Group and Member Information 7-21
Archived Redo Log Files 7-23
Summary 7-27
Practice 7 Overview 7-28
vi
Methods for Moving Data Files 8-39
Dropping Tablespaces 8-42
Managing Tablespaces Using OMF 8-45
Obtaining Tablespace Information 8-47
Summary 8-48
Practice 8 Overview 8-49
vii
Automatic Undo Management: Configuration 10-10
Automatic Undo Management: Initialization Parameters 10-11
Automatic Undo Management: UNDO Tablespace 10-12
Automatic Undo Management: Altering an UNDO Tablespace 10-14
Automatic Undo Management: Switching UNDO Tablespaces 10-16
Automatic Undo Management: Dropping an UNDO Tablespace 10-18
Automatic Undo Management: Other Parameters 10-21
Undo Data Statistics 10-23
Automatic Undo Management: Sizing an UNDO Tablespace 10-24
Automatic Undo Management: Undo Quota 10-26
Obtaining Undo Segment Information 10-27
Summary 10-29
Practice 10 Overview 10-30
11 Managing Tables
Objectives 11-2
Storing User Data 11-3
Oracle Built-in Data Types 11-6
ROWID Format 11-10
Structure of a Row 11-12
Creating a Table 11-13
Creating a Table: Guidelines 11-17
Creating Temporary Tables 11-18
Setting PCTFREE and PCTUSED 11-19
Row Migration and Chaining 11-20
Changing Storage and Block Utilization Parameters 11-21
Manually Allocating Extents 11-24
Nonpartitioned Table Reorganization 11-25
Truncating a Table 11-26
Dropping a Table 11-27
Dropping a Column 11-29
Renaming a Column 11-31
Using the UNUSED Option 11-33
Obtaining Table Information 11-35
Summary 11-37
Practice 11 Overview 11-38
12 Managing Indexes
Objectives 12-2
Classification of Indexes 12-3
B-Tree Index 12-5
viii
Bitmap Indexes 12-7
Comparing B-Tree and Bitmap Indexes 12-9
Creating B-Tree Indexes 12-10
Creating Indexes: Guidelines 12-13
Creating Bitmap Indexes 12-15
Changing Storage Parameters for Indexes 12-18
Allocating and Deallocating Index Space 12-20
Rebuilding Indexes 12-21
Rebuilding Indexes Online 12-23
Coalescing Indexes 12-24
Checking Index Validity 12-25
Dropping Indexes 12-27
Identifying Unused Indexes 12-29
Obtaining Index Information 12-30
Summary 12-31
Practice 12 Overview 12-32
ix
Password Verification 14-10
User-Provided Password Function 14-11
Password Verification Function VERIFY_FUNCTION 14-12
Creating a Profile: Password Settings 14-13
Altering a Profile: Password Setting 14-17
Dropping a Profile: Password Setting 14-19
Resource Management 14-21
Enabling Resource Limits 14-22
Setting Resource Limits at Session Level 14-23
Setting Resource Limits at Call Level 14-24
Creating a Profile: Resource Limit 14-25
Managing Resources Using the Database Resource Manager 14-28
Resource Plan Directives 14-31
Obtaining Password and Resource Limit Information 14-33
Summary 14-35
Practice 14 Overview 14-36
1 Managing Users
Objectives 15-2
Users and Security 15-3
Database Schema 15-5
Checklist for Creating Users 15-6
Creating a New User: Database Authentication 15-7
Creating a New User: Operating System Authentication 15-10
Changing User Quota on Tablespaces 15-12
Dropping a User 15-14
Obtaining User Information 15-16
Summary 15-17
Practice 15 Overview 15-18
2 Managing Privileges
Objectives 16-2
Managing Privileges 16-3
System Privileges 16-4
System Privileges: Examples 16-5
Granting System Privileges 16-6
SYSDBA and SYSOPER Privileges 16-9
System Privilege Restrictions 16-10
Revoking System Privileges 16-11
Revoking System Privileges with the ADMIN OPTION 16-13
Object Privileges 16-14
Granting Object Privileges 16-15
Revoking Object Privileges 16-18
Revoking Object Privileges with GRANT OPTION 16-21
x
Obtaining Privileges Information 16-22
Summary 16-23
Practice 16 Overview 16-24
1 Managing Roles
Objectives 17-2
Roles 17-3
Benefits of Roles 17-4
Creating Roles 17-5
Predefined Roles 17-7
Modifying Roles 17-8
Assigning Roles 17-10
Establishing Default Roles 17-13
Application Roles 17-15
Enabling and Disabling Roles 17-16
Revoking Roles from Users 17-19
Removing Roles 17-21
Guidelines for Creating Roles 17-23
Guidelines for Using Passwords and Default Roles 17-24
Obtaining Role Information 17-25
Summary 17-26
Practice 17 Overview 17-27
2 Auditing
Objectives 18-2
Auditing 18-3
Auditing Guidelines 18-4
Auditing Categories 18-6
Database Auditing 18-8
Auditing Options 18-10
Auditing User SYS 18-12
Obtaining Auditing Information 18-13
Obtaining Audit Records Information 18-14
Summary 18-15
Practice 18 Overview 18-16
xi
SQL*Loader Control File 19-13
Control File Syntax Considerations 19-17
Input Data and Data Files 19-18
Logical Records 19-22
Loading Methods 19-23
Comparing Direct and Conventional Path Loads 19-26
Parallel Direct Path Load 9-28
Data Conversion 19-29
Discarded or Rejected Records 19-30
Log File Contents 19-34
SQL*Loader Guidelines 19-36
Summary 19-37
Practice 19 Overview 19-38
xii
Appendix A: How to Create an Oracle9i Database in a UNIX Environment
xiii
xiv