Oracle® Database
2 Day DBA
19c
E96197-09
July 2020
Oracle Database 2 Day DBA, 19c
E96197-09
Copyright © 2004, 2020, Oracle and/or its affiliates.
Primary Author: Roopesh Ashok Kumar
Contributing Authors: Bert Rich, Padmaja Potineni, Kathy Rich, Janet Stern, Steve Fogel, Colin McGregor,
Lance Ashdown, Eric Belden, Sushil Kumar, and Douglas Williams
Contributors: Bharat Baddepudi, Prasad Bagal, Timothy Chien, Sudip Datta, Kakali Das, Mark Dilman,
Prabhaker Gongloor, Cecilia Grant, Shivani Gupta, Pat Huey, Chaitanya Koratamaddi, Balaji Krishnan,
Vasudha Krishnaswamy, Rich Long, Venkat Maddali, Matthew McKerley, Ed Miner, Mughees Minhas,
Saurabh Pandey, Kant Patel, Malai Stalin, Xiaofang Wang, and Khaled Yagoub
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,
any programs embedded, installed or activated on delivered hardware, and modifications of such programs)
and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government
end users are "commercial computer software" or “commercial computer software documentation” pursuant
to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such,
the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works,
and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs
embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle
computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the
license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud
services are defined by the applicable contract for such services. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,
and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered
trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not
be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Audience xiv
Documentation Accessibility xiv
Related Documentation xiv
Conventions xv
Changes in This Release for Oracle Database 2 Day DBA
Changes in Oracle Database Release 19c, Version 19.1 xvi
Changes in Oracle Database Release 18c, Version 18.1 xvii
Changes in Oracle Database 12c Release 2 (12.2.0.1) xvii
Changes in Oracle Database 12c Release 1 (12.1.0.2) xix
Changes in Oracle Database 12c Release 1 (12.1.0.1) xix
1 Introduction
1.1 About This Guide 1-1
1.1.1 What This Guide Is Not 1-1
1.1.2 How to Use This Guide with Related Material 1-2
1.2 About Oracle Database 1-2
1.3 Common Oracle DBA Tasks 1-3
1.4 Tools for Administering the Database 1-4
2 Installing Oracle Database and Creating a Database
2.1 Overview of Installing Oracle Database Software and Creating a Database 2-1
2.1.1 Checking Oracle Database Installation Prerequisites 2-2
2.1.2 Deciding on Oracle Database Installation Choices 2-3
2.1.2.1 Install Option for Oracle Database 2-3
2.1.2.2 Installation Class for Oracle Database 2-4
2.1.2.3 Installation Edition for Oracle Database 2-4
2.1.2.4 Software Installation Directories for Oracle Database 2-4
2.1.2.5 Database File Location for Oracle Database 2-5
iii
2.1.2.6 Database Identifiers for Oracle Database 2-5
2.1.2.7 About Advanced Installation for Oracle Database 2-6
2.2 Installing Oracle Database Software 2-7
2.3 Creating and Managing a Database with DBCA 2-11
2.3.1 Starting DBCA 2-12
2.3.2 Creating a Database Using DBCA 2-12
2.3.2.1 DBCA Creation Mode Window 2-13
2.3.2.2 DBCA Deployment Type Window 2-14
2.3.2.3 DBCA Database Identification Window 2-15
2.3.2.4 DBCA Storage Option Window 2-16
2.3.2.5 DBCA Fast Recovery Option Window 2-16
2.3.2.6 DBCA Network Configuration Window 2-18
2.3.2.7 DBCA Database Vault Option Window 2-18
2.3.2.8 DBCA Configuration Options Window 2-18
2.3.2.9 DBCA Management Options Window 2-22
2.3.2.10 DBCA User Credentials Window 2-23
2.3.2.11 DBCA Creation Option Window 2-23
2.3.2.12 DBCA Summary Window 2-23
2.3.2.13 DBCA Progress Window 2-24
2.3.2.14 DBCA Finish Window 2-24
2.3.3 Changing the Configuration of a Database Using DBCA 2-24
2.3.4 Deleting a Database Using DBCA 2-24
2.3.5 Managing Templates with DBCA 2-25
2.3.5.1 Advantages of Using DBCA Templates 2-25
2.3.5.2 Types of DBCA Templates 2-25
2.3.5.3 DBCA Templates Provided by Oracle 2-26
2.3.5.4 Creating Templates Using DBCA 2-27
2.3.5.5 Deleting DBCA Templates 2-27
2.3.6 Using DBCA to Manage PDBs 2-28
2.3.6.1 Managing PDBs in a CDB using DBCA 2-28
2.4 Manually Installing the Database Sample Schemas Post-Installation 2-29
2.5 Installation: Oracle By Example Series 2-29
3 Getting Started with Database Administration
3.1 Managing Your Database: An Overview 3-1
3.2 Configuring the Operating System Environment Variables 3-2
3.3 Introduction to Oracle Enterprise Manager Database Express 3-3
3.4 Starting EM Express 3-5
3.4.1 Starting EM Express for a Non-CDB 3-7
3.4.2 Starting EM Express for a CDB 3-7
iv
3.4.3 Starting EM Express for a PDB 3-8
3.5 Configuring the HTTPS Port for EM Express 3-9
3.6 About EM Express and Database Cloud Service Deployments 3-12
3.7 Accessing the Database Home Page 3-12
3.8 Granting Access to EM Express for Nonadministrative Users 3-14
3.9 Administering the Database with SQL-Based Management Tools 3-14
3.9.1 About SQL 3-15
3.9.2 About SQL*Plus 3-15
3.9.3 Starting SQL*Plus and Connecting to the Database 3-16
3.9.4 About SQL Developer 3-17
3.10 Getting Started with Database Administration: Oracle by Example Series 3-18
4 Configuring the Network Environment
4.1 Understanding Network Configuration 4-1
4.1.1 Oracle Net Listener Configuration 4-1
4.1.2 Client Connections 4-2
4.1.3 Tools for Network Configuration 4-4
4.2 Viewing Listener Configuration 4-5
4.3 Starting and Stopping the Listener 4-5
4.4 Connecting to an Oracle Database from a Client Computer 4-5
4.4.1 About Easy Connect Plus 4-7
4.5 Configuring the Network Environment: Oracle by Example Series 4-8
5 Managing the Oracle Instance
5.1 Overview of the Oracle Instance and Instance Management 5-1
5.1.1 About Initialization Parameters 5-2
5.1.2 About Background Processes 5-3
5.1.3 About Server and Client Processes 5-5
5.1.4 About Instance Memory Structures 5-5
5.1.4.1 System Global Area 5-6
5.1.4.2 Program Global Area 5-7
5.1.5 About Instance Startup and Shutdown 5-8
5.1.5.1 About Administration Privileges for Startup and Shutdown 5-8
5.1.5.2 About Instance Startup 5-8
5.1.5.3 About Instance Shutdown 5-9
5.2 Shutting Down and Starting Up the Oracle Instance 5-10
5.2.1 Shutting Down and Starting Up Using SQL*Plus 5-10
5.2.2 Shutting Down and Starting Up Using the Windows Services Program 5-11
5.3 Viewing and Modifying Initialization Parameters 5-11
v
1 / 392 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !