Table of Contents
- Title and Copyright Information
- Preface
-
Part I Basic Database Administration
-
1
Getting Started with Database Administration
- 1.1 Changes on Oracle Database Release 23ai for Oracle Database Administrator's Guide
- 1.2 Types of Oracle Database Users
-
1.3
Tasks of a Database Administrator
- 1.3.1 Task 1: Evaluate the Database Server Hardware
- 1.3.2 Task 2: Install the Oracle Database Software
- 1.3.3 Task 3: Plan the Database
- 1.3.4 Task 4: Create and Open the Database
- 1.3.5 Task 5: Back Up the Database
- 1.3.6 Task 6: Enroll System Users
- 1.3.7 Task 7: Implement the Database Design
- 1.3.8 Task 8: Back Up the Fully Functional Database
- 1.3.9 Task 9: Tune Database Performance
- 1.3.10 Task 10: Download and Install Release Updates and Release Update Revisions
- 1.3.11 Task 11: Roll Out to Additional Hosts
- 1.4 SQL Statements
- 1.5 Identifying Your Oracle Database Software Release
- 1.6 About Database Administrator Security and Privileges
- 1.7 Database Administrator Authentication
-
1.8
Creating and Maintaining a Database Password File
- 1.8.1 ORAPWD Syntax and Command Line Argument Descriptions
- 1.8.2 Creating a Database Password File with ORAPWD
- 1.8.3 Sharing and Disabling the Database Password File
- 1.8.4 Keeping Administrator Passwords Synchronized with the Data Dictionary
- 1.8.5 Adding Users to a Database Password File
- 1.8.6 Granting and Revoking Administrative Privileges
- 1.8.7 Viewing Database Password File Members
- 1.8.8 Removing a Database Password File
- 1.9 Data Utilities
-
2
Configuring Automatic Restart of an Oracle Database
-
2.1
About Oracle Restart
- 2.1.1 Oracle Restart Overview
- 2.1.2 About Startup Dependencies
- 2.1.3 About Starting and Stopping Components with Oracle Restart
- 2.1.4 About Starting and Stopping Oracle Restart
- 2.1.5 Oracle Restart Configuration
- 2.1.6 Oracle Restart Integration with Oracle Data Guard
- 2.1.7 Fast Application Notification with Oracle Restart
-
2.2
Configuring Oracle Restart
- 2.2.1 About Configuring Oracle Restart
- 2.2.2 Preparing to Run SRVCTL
- 2.2.3 Obtaining Help for SRVCTL
- 2.2.4 Adding Components to the Oracle Restart Configuration
- 2.2.5 Removing Components from the Oracle Restart Configuration
- 2.2.6 Disabling and Enabling Oracle Restart Management for a Component
- 2.2.7 Viewing Component Status
- 2.2.8 Viewing the Oracle Restart Configuration for a Component
- 2.2.9 Modifying the Oracle Restart Configuration for a Component
- 2.2.10 Managing Environment Variables in the Oracle Restart Configuration
- 2.2.11 Creating and Deleting Database Services with SRVCTL
- 2.2.12 Enabling FAN Events in an Oracle Restart Environment
- 2.2.13 Automating the Failover of Connections Between Primary and Standby Databases
- 2.2.14 Enabling Clients for Fast Connection Failover
- 2.3 Starting and Stopping Components Managed by Oracle Restart
- 2.4 Stopping and Restarting Oracle Restart for Maintenance Operations
-
2.5
SRVCTL Command Reference for Oracle Restart
- 2.5.1 add
- 2.5.2 config
- 2.5.3 disable
- 2.5.4 downgrade
- 2.5.5 enable
- 2.5.6 getenv
- 2.5.7 modify
- 2.5.8 remove
- 2.5.9 setenv
- 2.5.10 start
- 2.5.11 status
- 2.5.12 stop
- 2.5.13 unsetenv
- 2.5.14 update
- 2.5.15 upgrade
- 2.6 CRSCTL Command Reference
-
2.1
About Oracle Restart
-
3
Managing Processes
- 3.1 About Dedicated and Shared Server Processes
- 3.2 About Database Resident Connection Pooling
- 3.3 About Proxy Resident Connection Pooling
- 3.4 Configuring Oracle Database for Shared Server
-
3.5
Configuring Database Resident Connection Pooling
- 3.5.1 Database Resident Connection Pooling Initialization Parameters
- 3.5.2 Enabling Database Resident Connection Pooling
- 3.5.3 Configuring the Connection Pool for Database Resident Connection Pooling
- 3.5.4 Using Multi-Pool Database Resident Connection Pooling
- 3.5.5 Data Dictionary Views for Database Resident Connection Pooling
- 3.5.6 Determining the States of Connections in the Connection Pool
- 3.6 About Oracle Database Background Processes
- 3.7 Managing Prespawned Processes
- 3.8 Managing Processes for Parallel SQL Execution
- 3.9 Managing Processes for External Procedures
- 3.10 Terminating Sessions
- 3.11 Process and Session Data Dictionary Views
-
4
Managing Memory
- 4.1 About Memory Management
- 4.2 Memory Architecture Overview
- 4.3 Using Unified Memory Management
- 4.4 Using Automatic Memory Management
-
4.5
Configuring Memory Manually
- 4.5.1 About Manual Memory Management
-
4.5.2
Using Automatic Shared Memory Management
- 4.5.2.1 About Automatic Shared Memory Management
- 4.5.2.2 Components and Granules in the SGA
- 4.5.2.3 Setting Maximum SGA Size
- 4.5.2.4 Setting SGA Target Size
- 4.5.2.5 Enabling Automatic Shared Memory Management
- 4.5.2.6 Setting Minimums for Automatically Sized SGA Components
- 4.5.2.7 Dynamic Modification of SGA_TARGET
- 4.5.2.8 Modifying Parameters for Automatically Sized Components
- 4.5.2.9 Modifying Parameters for Manually Sized Components
-
4.5.3
Using Manual Shared Memory Management
- 4.5.3.1 About Manual Shared Memory Management
- 4.5.3.2 Enabling Manual Shared Memory Management
- 4.5.3.3 Setting the Buffer Cache Initialization Parameters
- 4.5.3.4 Specifying the Shared Pool Size
- 4.5.3.5 Specifying the Large Pool Size
- 4.5.3.6 Specifying the Java Pool Size
- 4.5.3.7 Specifying the Streams Pool Size
- 4.5.3.8 Specifying the Vector Pool Size
- 4.5.3.9 Specifying Miscellaneous SGA Initialization Parameters
- 4.5.4 Using Automatic PGA Memory Management
- 4.5.5 Using Manual PGA Memory Management
- 4.6 Using Force Full Database Caching Mode
- 4.7 Configuring Database Smart Flash Cache
- 4.8 Improving Query Response Time with the Server Result Cache
- 4.9 Improving Query Performance with Oracle Database In-Memory
- 4.10 Enabling High Performance Data Streaming with the Memoptimized Rowstore
- 4.11 Memory Management Reference
- 4.12 Configuring and Using True Cache
- 5 Managing Users and Securing the Database
-
6
Monitoring the Database
-
6.1
Monitoring Errors and Alerts
- 6.1.1 Monitoring Errors with Trace Files and the Alert Log
- 6.1.2 Monitoring a Database with Server-Generated Alerts
- 6.2 Monitoring Performance
- 6.3 Monitoring Quarantined Objects
- 6.4 Automatically Monitoring Schema Objects
-
6.1
Monitoring Errors and Alerts
-
7
Diagnosing and Resolving Problems
-
7.1
About the Oracle Database Fault Diagnosability Infrastructure
- 7.1.1 Fault Diagnosability Infrastructure Overview
- 7.1.2 Incidents and Problems
- 7.1.3 Fault Diagnosability Infrastructure Components
- 7.1.4 Structure, Contents, and Location of the Automatic Diagnostic Repository
-
7.2
About Investigating, Reporting, and Resolving a Problem
- 7.2.1 Roadmap — Investigating, Reporting, and Resolving a Problem
- 7.2.2 Task 1: View Critical Error Alerts in Cloud Control
- 7.2.3 Task 2: View Problem Details
- 7.2.4 Task 3: (Optional) Gather Additional Diagnostic Information
- 7.2.5 Task 4: (Optional) Create a Service Request
- 7.2.6 Task 5: Package and Upload Diagnostic Data to Oracle Support
- 7.2.7 Task 6: Track the Service Request and Implement Any Repairs
-
7.3
Diagnosing Problems
- 7.3.1 Identifying Problems Reactively
- 7.3.2 Identifying Problems Proactively with Health Monitor
- 7.3.3 Gathering Additional Diagnostic Data
- 7.3.4 Creating Test Cases with SQL Test Case Builder
- 7.4 Reporting Problems
-
7.5
Resolving Problems
- 7.5.1 About Automatic Error Mitigation
-
7.5.2
Repairing SQL Failures with the SQL Repair Advisor
- 7.5.2.1 About the SQL Repair Advisor
- 7.5.2.2 Running the SQL Repair Advisor Using Cloud Control
- 7.5.2.3 Running the SQL Repair Advisor Using the DBMS_SQLDIAG Package Subprograms
- 7.5.2.4 Viewing, Disabling, or Removing a SQL Patch Using Cloud Control
- 7.5.2.5 Disabling or Removing a SQL Patch Using DBMS_SQLDIAG Package Subprograms
- 7.5.2.6 Exporting and Importing a Patch Using DBMS_SQLDIAG Package Subprograms
- 7.5.3 Repairing Data Corruptions with the Data Recovery Advisor
-
7.5.4
Quarantine for Execution Plans for SQL Statements Consuming Excessive System Resources
- 7.5.4.1 About Quarantine for Execution Plans for SQL Statements
- 7.5.4.2 Creating a Quarantine Configuration for an Execution Plan of a SQL Statement
- 7.5.4.3 Specifying Quarantine Thresholds in a Quarantine Configuration
- 7.5.4.4 Enabling and Disabling a Quarantine Configuration
- 7.5.4.5 Viewing the Details of a Quarantine Configuration
- 7.5.4.6 Deleting a Quarantine Configuration
- 7.5.4.7 Viewing the Details of Quarantined Execution Plans of SQL Statements
- 7.5.4.8 Transferring Quarantine Configurations from One Database to Another Database
- 7.5.4.9 Example: Quarantine for an Execution Plan of a SQL Statement Consuming Excessive System Resources
- 7.5.5 Viewing Attention Log Information
- 7.6 Diagnosis and Tracing in a PDB Using Package DBMS_USERDIAG
-
7.1
About the Oracle Database Fault Diagnosability Infrastructure
-
1
Getting Started with Database Administration
-
Part II Oracle Database Structure and Storage
- 8 Managing Control Files
-
9
Managing the Redo Log
- 9.1 What Is the Redo Log?
- 9.2 Planning the Redo Log
- 9.3 Creating Redo Log Groups and Members
- 9.4 Relocating and Renaming Redo Log Members
- 9.5 Dropping Redo Log Groups and Members
- 9.6 Forcing Log Switches
- 9.7 Verifying Blocks in Redo Log Files
- 9.8 Clearing a Redo Log File
- 9.9 Reduction of Redo Generation for Direct Path Operations
- 9.10 Redo Log Data Dictionary Views
-
10
Managing Archived Redo Log Files
- 10.1 What Is the Archived Redo Log?
- 10.2 Choosing Between NOARCHIVELOG and ARCHIVELOG Mode
- 10.3 Controlling Archiving
- 10.4 Specifying Archive Destinations
- 10.5 About Log Transmission Modes
- 10.6 Managing Archive Destination Failure
- 10.7 Controlling Trace Output Generated by the Archivelog Process
- 10.8 Viewing Information About the Archived Redo Log
-
11
Managing Tablespaces
- 11.1 Guidelines for Managing Tablespaces
- 11.2 Creating Tablespaces
- 11.3 Consider Storing Tablespaces in the In-Memory Column Store
- 11.4 Specifying Nonstandard Block Sizes for Tablespaces
- 11.5 Controlling the Writing of Redo Records
- 11.6 Altering Tablespace Availability
-
11.7
Using Read-Only Tablespaces
- 11.7.1 About Read-Only Tablespaces
- 11.7.2 Making a Tablespace Read-Only
- 11.7.3 Making a Read-Only Tablespace Writable
- 11.7.4 Creating a Read-Only Tablespace on a WORM Device
- 11.7.5 Delaying the Opening of Data Files in Read-Only Tablespaces
- 11.7.6 Using Read-Only Tablespaces on Object Storage
- 11.8 Altering and Maintaining Tablespaces
- 11.9 Renaming Tablespaces
- 11.10 Dropping Tablespaces
-
11.11
Managing Lost Write Protection with Shadow Tablespaces
- 11.11.1 About Shadow Lost Write Protection
- 11.11.2 Creating Shadow Tablespaces for Shadow Lost Write Protection
- 11.11.3 Enabling Shadow Lost Write Protection for a Database
- 11.11.4 Enabling Shadow Lost Write Protection for Tablespaces and Data Files
- 11.11.5 Disabling Shadow Lost Write Protection for a Database
- 11.11.6 Removing or Suspending Shadow Lost Write Protection
- 11.11.7 Dropping a Shadow Tablespace
- 11.12 Managing the SYSAUX Tablespace
-
11.13
Correcting Problems with Locally Managed Tablespaces
- 11.13.1 Diagnosing and Repairing Locally Managed Tablespace Problems
- 11.13.2 Scenario 1: Fixing Bitmap When Allocated Blocks are Marked Free (No Overlap)
- 11.13.3 Scenario 2: Dropping a Corrupted Segment
- 11.13.4 Scenario 3: Fixing Bitmap Where Overlap is Reported
- 11.13.5 Scenario 4: Correcting Media Corruption of Bitmap Blocks
- 11.13.6 Scenario 5: Migrating from a Dictionary-Managed to a Locally Managed Tablespace
- 11.14 Migrating the SYSTEM Tablespace to a Locally Managed Tablespace
- 11.15 Viewing Information About Tablespaces
-
12
Managing Data Files and Temp Files
- 12.1 Guidelines for Managing Data Files
- 12.2 Creating Data Files and Adding Data Files to a Tablespace
- 12.3 Changing Data File Size
- 12.4 Altering Data File Availability
- 12.5 Renaming and Relocating Data Files
- 12.6 Dropping Data Files
- 12.7 Verifying Data Blocks in Data Files
- 12.8 Copying Files Using the Database Server
- 12.9 Mapping Files to Physical Devices
- 12.10 Data Files Data Dictionary Views
-
13
Transporting Data
-
13.1
About Transporting Data
- 13.1.1 Purpose of Transporting Data
-
13.1.2
Transporting Data: Scenarios
- 13.1.2.1 Scenarios for Full Transportable Export/import
-
13.1.2.2
Scenarios for Transportable Tablespaces or Transportable Tables
- 13.1.2.2.1 Scenarios That Apply to Transportable Tablespaces or Transportable Tables
- 13.1.2.2.2 Transporting and Attaching Partitions for Data Warehousing
- 13.1.2.2.3 Publishing Structured Data on CDs
- 13.1.2.2.4 Mounting the Same Tablespace Read-Only on Multiple Databases
- 13.1.2.2.5 Archiving Historical Data
- 13.1.2.2.6 Using Transportable Tablespaces to Perform TSPITR
- 13.1.2.2.7 Copying or Moving Individual Tables
- 13.1.3 Transporting Data Across Platforms
- 13.1.4 General Limitations on Transporting Data
- 13.1.5 Compatibility Considerations for Transporting Data
- 13.2 Transporting Databases
-
13.3
Transporting Tablespaces Between Databases
- 13.3.1 Introduction to Transportable Tablespaces
- 13.3.2 Limitations on Transportable Tablespaces
-
13.3.3
Transporting Tablespaces Between Databases
- 13.3.3.1 Task 1: Pick a Self-Contained Set of Tablespaces
- 13.3.3.2 Task 2: Generate a Transportable Tablespace Set
- 13.3.3.3 Task 3: Transport the Export Dump File
- 13.3.3.4 Task 4: Transport the Tablespace Set
- 13.3.3.5 Task 5: (Optional) Restore Tablespaces to Read/Write Mode
- 13.3.3.6 Task 6: Import the Tablespace Set
- 13.4 Transporting Tables, Partitions, or Subpartitions Between Databases
- 13.5 Converting Data Between Platforms
- 13.6 Guidelines for Transferring Data Files
-
13.1
About Transporting Data
-
14
Managing Undo
- 14.1 What Is Undo?
- 14.2 Introduction to Automatic Undo Management
- 14.3 Setting the Minimum Undo Retention Period
- 14.4 Sizing a Fixed-Size Undo Tablespace
- 14.5 Managing Undo Tablespaces
- 14.6 Migrating to Automatic Undo Management
- 14.7 Managing Temporary Undo
- 14.8 Undo Space Data Dictionary Views
-
15
Using Oracle Managed Files
- 15.1 About Oracle Managed Files
- 15.2 Enabling the Creation and Use of Oracle Managed Files
-
15.3
Creating Oracle Managed Files
- 15.3.1 When Oracle Database Creates Oracle Managed Files
- 15.3.2 How Oracle Managed Files Are Named
-
15.3.3
Creating Oracle Managed Files at Database Creation
- 15.3.3.1 Specifying Control Files at Database Creation
- 15.3.3.2 Specifying Redo Log Files at Database Creation
- 15.3.3.3 Specifying the SYSTEM and SYSAUX Tablespace Data Files at Database Creation
- 15.3.3.4 Specifying the Undo Tablespace Data File at Database Creation
- 15.3.3.5 Specifying the Default Temporary Tablespace Temp File at Database Creation
- 15.3.3.6 CREATE DATABASE Statement Using Oracle Managed Files: Examples
- 15.3.4 Creating Data Files for Tablespaces Using Oracle Managed Files
- 15.3.5 Creating Temp Files for Temporary Tablespaces Using Oracle Managed Files
- 15.3.6 Creating Control Files Using Oracle Managed Files
- 15.3.7 Creating Redo Log Files Using Oracle Managed Files
- 15.3.8 Creating Archived Logs Using Oracle Managed Files
- 15.4 Operation of Oracle Managed Files
- 15.5 Scenarios for Using Oracle Managed Files
- 16 Using Persistent Memory Database
-
Part III Schema Objects
-
17
Managing Schema Objects
- 17.1 About Common and Local Objects
- 17.2 About the Container for Schema Objects
- 17.3 Creating Multiple Tables and Views in a Single Operation
- 17.4 Analyzing Tables, Indexes, and Clusters
- 17.5 Truncating Tables and Clusters
- 17.6 Enabling and Disabling Triggers
- 17.7 Managing Integrity Constraints
- 17.8 Renaming Schema Objects
- 17.9 Managing Object Dependencies
- 17.10 Managing Object Name Resolution
- 17.11 Switching to a Different Schema
-
17.12
Managing Editions
- 17.12.1 About Editions and Edition-Based Redefinition
- 17.12.2 DBA Tasks for Edition-Based Redefinition
- 17.12.3 Setting the Database Default Edition
- 17.12.4 Querying the Database Default Edition
- 17.12.5 Setting the Edition Attribute of a Database Service
- 17.12.6 Using an Edition
- 17.12.7 Editions Data Dictionary Views
- 17.13 Displaying Information About Schema Objects
-
18
Managing Space for Schema Objects
- 18.1 Managing Tablespace Alerts
-
18.2
Managing Resumable Space Allocation
- 18.2.1 Resumable Space Allocation Overview
- 18.2.2 Enabling and Disabling Resumable Space Allocation
- 18.2.3 Using a LOGON Trigger to Set Default Resumable Mode
- 18.2.4 Detecting Suspended Statements
- 18.2.5 Operation-Suspended Alert
- 18.2.6 Resumable Space Allocation Example: Registering an AFTER SUSPEND Trigger
-
18.3
Reclaiming Unused Space
- 18.3.1 About Reclaimable Unused Space
- 18.3.2 The Segment Advisor
- 18.3.3 Shrinking Database Segments Online
- 18.3.4 Deallocating Unused Space
- 18.4 Dropping Unused Object Storage
- 18.5 Understanding Space Usage of Data Types
- 18.6 Displaying Information About Space Usage for Schema Objects
- 18.7 Capacity Planning for Database Objects
-
19
Managing Tables
- 19.1 About Tables
-
19.2
Guidelines for Managing Tables
- 19.2.1 Design Tables Before Creating Them
- 19.2.2 Specify the Type of Table to Create
- 19.2.3 Specify the Location of Each Table
- 19.2.4 Consider Parallelizing Table Creation
- 19.2.5 Consider Using NOLOGGING When Creating Tables
-
19.2.6
Consider Using Table Compression
- 19.2.6.1 About Table Compression
- 19.2.6.2 Examples Related to Table Compression
- 19.2.6.3 Compression and Partitioned Tables
- 19.2.6.4 Determining If a Table Is Compressed
- 19.2.6.5 Determining Which Rows Are Compressed
- 19.2.6.6 Changing the Compression Level
- 19.2.6.7 Adding and Dropping Columns in Compressed Tables
- 19.2.6.8 Exporting and Importing Hybrid Columnar Compression Tables
- 19.2.6.9 Restoring a Hybrid Columnar Compression Table
- 19.2.6.10 Notes and Restrictions for Compressed Tables
- 19.2.6.11 Packing Compressed Tables
-
19.2.7
Managing Table Compression Using Enterprise Manager Cloud Control
- 19.2.7.1 Table Compression and Enterprise Manager Cloud Control
- 19.2.7.2 Viewing the Compression Summary at the Database Level
- 19.2.7.3 Viewing the Compression Summary at the Tablespace Level
- 19.2.7.4 Estimating the Compression Ratio
- 19.2.7.5 Compressing an Object
- 19.2.7.6 Viewing Compression Advice
- 19.2.7.7 Initiating Automatic Data Optimization on an Object
- 19.2.8 Consider Using Segment-Level and Row-Level Compression Tiering
- 19.2.9 Consider Using Attribute-Clustered Tables
- 19.2.10 Consider Using Zone Maps
- 19.2.11 Consider Storing Tables in the In-Memory Column Store
- 19.2.12 Consider Using Invisible Columns
- 19.2.13 Consider Encrypting Columns That Contain Sensitive Data
- 19.2.14 Understand Deferred Segment Creation
- 19.2.15 Materializing Segments
- 19.2.16 Estimate Table Size and Plan Accordingly
- 19.2.17 Restrictions to Consider When Creating Tables
- 19.3 Creating Tables
-
19.4
Loading Tables
- 19.4.1 Methods for Loading Tables
- 19.4.2 Improving INSERT Performance with Direct-Path INSERT
- 19.4.3 Using Conventional Inserts to Load Tables
- 19.4.4 Avoiding Bulk INSERT Failures with DML Error Logging
- 19.5 Optimizing the Performance of Bulk Updates
- 19.6 Automatically Collecting Statistics on Tables
-
19.7
Altering Tables
- 19.7.1 Reasons for Using the ALTER TABLE Statement
- 19.7.2 Altering Physical Attributes of a Table
- 19.7.3 Moving a Table to a New Segment or Tablespace
- 19.7.4 Manually Allocating Storage for a Table
- 19.7.5 Modifying an Existing Column Definition
- 19.7.6 Adding Table Columns
- 19.7.7 Renaming Table Columns
- 19.7.8 Dropping Table Columns
- 19.7.9 Placing a Table in Read-Only Mode
-
19.8
Redefining Tables Online
- 19.8.1 About Redefining Tables Online
- 19.8.2 Features of Online Table Redefinition
- 19.8.3 Privileges Required for the DBMS_REDEFINITION Package
- 19.8.4 Restrictions for Online Redefinition of Tables
- 19.8.5 Performing Online Redefinition with the REDEF_TABLE Procedure
-
19.8.6
Redefining Tables Online with Multiple Procedures in DBMS_REDEFINITION
- 19.8.6.1 Performing Online Redefinition with Multiple Procedures in DBMS_REDEFINITION
- 19.8.6.2 Constructing a Column Mapping String
- 19.8.6.3 Handling Virtual Private Database (VPD) Policies During Online Redefinition
- 19.8.6.4 Creating Dependent Objects Automatically
- 19.8.6.5 Creating Dependent Objects Manually
- 19.8.7 Results of the Redefinition Process
- 19.8.8 Performing Intermediate Synchronization
- 19.8.9 Refreshing Dependent Materialized Views During Online Table Redefinition
- 19.8.10 Monitoring Online Table Redefinition Progress
- 19.8.11 Restarting Online Table Redefinition After a Failure
- 19.8.12 Rolling Back Online Table Redefinition
- 19.8.13 Terminating Online Table Redefinition and Cleaning Up After Errors
- 19.8.14 Online Redefinition of One or More Partitions
- 19.8.15 Online Table Redefinition Examples
- 19.9 Researching and Reversing Erroneous Table Changes
- 19.10 Recovering Tables Using Oracle Flashback Table
- 19.11 Dropping Tables
- 19.12 Using Flashback Drop and Managing the Recycle Bin
-
19.13
Managing Index-Organized Tables
- 19.13.1 What Are Index-Organized Tables?
-
19.13.2
Creating Index-Organized Tables
- 19.13.2.1 About Creating Index-Organized Tables
- 19.13.2.2 Example: Creating an Index-Organized Table
- 19.13.2.3 Restrictions for Index-Organized Tables
- 19.13.2.4 Creating Index-Organized Tables That Contain Object Types
- 19.13.2.5 Choosing and Monitoring a Threshold Value
- 19.13.2.6 Using the INCLUDING Clause
- 19.13.2.7 Parallelizing Index-Organized Table Creation
- 19.13.2.8 Using Prefix Compression
- 19.13.3 Maintaining Index-Organized Tables
- 19.13.4 Creating Secondary Indexes on Index-Organized Tables
- 19.13.5 Analyzing Index-Organized Tables
- 19.13.6 Using the ORDER BY Clause with Index-Organized Tables
- 19.13.7 Converting Index-Organized Tables to Regular Tables
- 19.14 Managing Partitioned Tables
-
19.15
Managing External Tables
- 19.15.1 About External Tables
- 19.15.2 Creating External Tables
- 19.15.3 Altering External Tables
- 19.15.4 Preprocessing External Tables
- 19.15.5 Overriding Parameters for External Tables in a Query
- 19.15.6 Using Inline External Tables
- 19.15.7 Partitioning External Tables
- 19.15.8 Dropping External Tables
- 19.15.9 System and Object Privileges for External Tables
- 19.15.10 Using SQL*Loader for External Tables with Partition Values in File Paths
- 19.16 Managing Hybrid Partitioned Tables
-
19.17
Managing Immutable Tables
- 19.17.1 About Immutable Tables
- 19.17.2 Guidelines for Managing Immutable Tables
- 19.17.3 Creating Immutable Tables
- 19.17.4 Altering Immutable Tables
- 19.17.5 Adding and Dropping User Columns in Immutable Tables
- 19.17.6 Creating Row Versions in Immutable Tables
- 19.17.7 Deleting Rows from Immutable Tables
- 19.17.8 Dropping Immutable Tables
- 19.17.9 Immutable Tables Data Dictionary Views
-
19.18
Managing Blockchain Tables
- 19.18.1 About Blockchain Tables
- 19.18.2 Guidelines for Managing Blockchain Tables
- 19.18.3 Creating Blockchain Tables
- 19.18.4 Adding and Dropping User Columns in Blockchain Tables
- 19.18.5 Creating Row Versions in Blockchain Tables
- 19.18.6 Creating User Chains in Blockchain Tables
- 19.18.7 Altering Blockchain Tables
- 19.18.8 Adding Certificates Used to Sign Blockchain Table Rows
- 19.18.9 Adding the Certificate of a Certificate Authority to the Database
- 19.18.10 Deleting Certificates in Blockchain Tables
- 19.18.11 Adding a User Signature to Blockchain Table Rows
- 19.18.12 Allowing a Delegate to Sign Blockchain Table Rows
- 19.18.13 Countersigning Blockchain Table Rows
- 19.18.14 Validating Data in Blockchain Tables
- 19.18.15 Verifying the Integrity of Blockchain Tables
- 19.18.16 Deleting Rows from Blockchain Tables
- 19.18.17 Dropping Blockchain Tables
- 19.18.18 Setting the Table Retention Threshold
- 19.18.19 Determining the Data Format for Row Content to Compute Row Hash
- 19.18.20 Determining the Data Format to Compute Row Signature
- 19.18.21 Displaying the Byte Values of Data in Blockchain Tables
- 19.18.22 Creating a Regular Table with Blockchain History Log
- 19.18.23 Blockchain Tables Data Dictionary Views
- 19.19 Tables Data Dictionary Views
-
20
Managing Indexes
- 20.1 About Indexes
-
20.2
Guidelines for Managing Indexes
- 20.2.1 Create Indexes After Inserting Table Data
- 20.2.2 Index the Correct Tables and Columns
- 20.2.3 Order Index Columns for Performance
- 20.2.4 Limit the Number of Indexes for Each Table
- 20.2.5 Drop Indexes That Are No Longer Required
- 20.2.6 Indexes and Deferred Segment Creation
- 20.2.7 Estimate Index Size and Set Storage Parameters
- 20.2.8 Specify the Tablespace for Each Index
- 20.2.9 Consider Parallelizing Index Creation
- 20.2.10 Consider Creating Indexes with NOLOGGING
- 20.2.11 Understand When to Use Unusable or Invisible Indexes
- 20.2.12 Understand When to Create Multiple Indexes on the Same Set of Columns
- 20.2.13 Consider Costs and Benefits of Coalescing or Rebuilding Indexes
- 20.2.14 Consider Cost Before Disabling or Dropping Constraints
- 20.2.15 Consider Using the In-Memory Column Store to Reduce the Number of Indexes
-
20.3
Creating Indexes
- 20.3.1 Prerequisites for Creating Indexes
- 20.3.2 Creating an Index Explicitly
- 20.3.3 Creating a Unique Index Explicitly
- 20.3.4 Creating an Index Associated with a Constraint
- 20.3.5 Creating a Large Index
- 20.3.6 Creating an Index Online
- 20.3.7 Creating a Function-Based Index
- 20.3.8 Creating a Compressed Index
- 20.3.9 Creating an Unusable Index
- 20.3.10 Creating an Invisible Index
- 20.3.11 Creating Multiple Indexes on the Same Set of Columns
- 20.3.12 Creating a Vector Index
- 20.4 Altering Indexes
- 20.5 Monitoring Space Use of Indexes
- 20.6 Dropping Indexes
- 20.7 Managing Automatic Indexes
- 20.8 Indexes Data Dictionary Views
-
21
Managing Clusters
- 21.1 About Clusters
-
21.2
Guidelines for Managing Clusters
- 21.2.1 Choose Appropriate Tables for the Cluster
- 21.2.2 Choose Appropriate Columns for the Cluster Key
- 21.2.3 Specify the Space Required by an Average Cluster Key and Its Associated Rows
- 21.2.4 Specify the Location of Each Cluster and Cluster Index Rows
- 21.2.5 Estimate Cluster Size and Set Storage Parameters
- 21.3 Creating Clusters and Objects That Use Them
- 21.4 Altering Clusters and Objects That Use Them
- 21.5 Dropping Clusters and Objects That Use Them
- 21.6 Clusters Data Dictionary Views
-
22
Managing Hash Clusters
- 22.1 About Hash Clusters
- 22.2 When to Use Hash Clusters
- 22.3 Creating Different Types of Hash Clusters
- 22.4 Altering Hash Clusters
- 22.5 Dropping Hash Clusters
- 22.6 Hash Clusters Data Dictionary Views
-
23
Managing Views, Sequences, and Synonyms
-
23.1
Managing Views
- 23.1.1 About Views
- 23.1.2 Creating Views and Join Views
- 23.1.3 Replacing Views
- 23.1.4 Using Views in Queries
- 23.1.5 DML Statements and Join Views
- 23.1.6 Altering Views
- 23.1.7 Dropping Views
- 23.2 Managing Sequences
- 23.3 Managing Synonyms
- 23.4 Views, Synonyms, and Sequences Data Dictionary Views
-
23.1
Managing Views
-
24
Repairing Corrupted Data
- 24.1 Options for Repairing Data Block Corruption
- 24.2 About the DBMS_REPAIR Package
- 24.3 Using the DBMS_REPAIR Package
- 24.4 DBMS_REPAIR Examples
-
17
Managing Schema Objects
-
Part IV Database Resource Management and Task Scheduling
- 25 Managing Automated Database Maintenance Tasks
-
26
Managing Resources with Oracle Database Resource Manager
-
26.1
About Oracle Database Resource Manager
- 26.1.1 CDB and PDB Resource Management
- 26.1.2 Purpose of Resource Management
-
26.1.3
Consumer Groups, Plans, and Plan Directives
- 26.1.3.1 About the Elements of Resource Manager
- 26.1.3.2 About Resource Consumer Groups
- 26.1.3.3 About Resource Plan Directives
- 26.1.3.4 About Resource Plans
- 26.1.3.5 About Subplans
- 26.1.4 User Interface for PDB Resource Management
- 26.2 Enabling Oracle Database Resource Manager and Switching Plans
-
26.3
Assigning Sessions to Resource Consumer Groups
- 26.3.1 Overview of Assigning Sessions to Resource Consumer Groups
- 26.3.2 Assigning an Initial Resource Consumer Group
- 26.3.3 Specifying Session-to-Consumer Group Mapping Rules
- 26.3.4 Switching Resource Consumer Groups
- 26.3.5 Specifying Automatic Consumer Group Switching
- 26.3.6 Granting and Revoking the Switch Privilege
-
26.4
Managing Resource Plans
-
26.4.1
Managing CDB Resource Plans
- 26.4.1.1 Creating a CDB Resource Plan for Managing PDBs
- 26.4.1.2 Creating a CDB Resource Plan for Managing PDBs: Scenario
- 26.4.1.3 Creating a CDB Resource Plan with PDB Performance Profiles
- 26.4.1.4 Creating a CDB Resource Plan for PDB Performance Profiles: Scenario
- 26.4.1.5 Enabling a CDB Resource Plan
-
26.4.1.6
Modifying a CDB Resource Plan
- 26.4.1.6.1 Updating a CDB Resource Plan
- 26.4.1.6.2 Managing CDB Resource Plan Directives for a PDB
- 26.4.1.6.3 Managing CDB Resource Plan Directives for a PDB Performance Profile
- 26.4.1.6.4 Updating the Default Directive for PDBs in a CDB Resource Plan
- 26.4.1.6.5 Updating the Default Directive for Maintenance Tasks in a CDB Resource Plan
- 26.4.1.6.6 Deleting a CDB Resource Plan
- 26.4.1.7 Disabling a CDB Resource Plan
- 26.4.1.8 Viewing Information About Plans and Directives in a CDB
- 26.4.2 Managing PDB Resource Plans
- 26.4.3 Creating a Simple Resource Plan
-
26.4.4
Creating a Complex Resource Plan
- 26.4.4.1 About the Pending Area
- 26.4.4.2 Creating a Pending Area
- 26.4.4.3 Creating Resource Consumer Groups
- 26.4.4.4 Mapping Sessions to Consumer Groups
- 26.4.4.5 Creating a Resource Plan
- 26.4.4.6 Creating Resource Plan Directives
- 26.4.4.7 Validating the Pending Area
- 26.4.4.8 Submitting the Pending Area
- 26.4.4.9 Clearing the Pending Area
-
26.4.1
Managing CDB Resource Plans
- 26.5 Putting It All Together: Oracle Database Resource Manager Examples
- 26.6 Managing Multiple Database Instances on a Single Server
- 26.7 Maintaining Consumer Groups, Plans, and Directives
- 26.8 Viewing Database Resource Manager Configuration and Status
- 26.9 Interacting with Operating-System Resource Control
- 26.10 Oracle Database Resource Manager Reference
- 26.11 Operating System CPU Resource Management
-
26.1
About Oracle Database Resource Manager
-
27
Oracle Scheduler Concepts
- 27.1 Overview of Oracle Scheduler
- 27.2 Jobs and Supporting Scheduler Objects
-
27.3
More About Jobs
- 27.3.1 Job Categories
- 27.3.2 Job Instances
- 27.3.3 Job Arguments
- 27.3.4 How Programs, Jobs, and Schedules are Related
- 27.4 Scheduler Architecture
- 27.5 Processes to Close a PDB
- 27.6 Scheduler Support for Oracle Data Guard
-
28
Scheduling Jobs with Oracle Scheduler
- 28.1 About Scheduler Objects and Their Naming
- 28.2 Creating, Running, and Managing Jobs