Oracle 如何高效的檢視官方文件

chenoracle發表於2021-09-07

官方文件位置

 

Database

 

11g 官方文件為例:

 

一:安裝和升級
Installing and Upgrading
二:資料庫管理
Database Administration
三:應用程式開發
Application Development
四:網格計算
Grid Computing
五:效能
Performance
六:高可用
High Availability
七:資料倉儲和商業智慧
Data Warehousing and Business Intelligence
八:非結構化資料和內容管理
Unstructured Data and Content Management
九:資訊整合
Information Integration
十:安全
Security

也可以下載離線版

 

  一:安裝和升級

Installing and Upgrading

安裝和升級部分,包含了各個平臺下資料庫安裝和升級的詳細步驟。

平臺包括: Linux Windows Solaris HP-UX AIX 等。

Linux 平臺為例:

 

  此部分包含了客戶端、單例項、 RAC Grid 的安裝和升級步驟。

例如:

Database Quick Installation Guide for Linux x86-64

當你在安裝 Oracle 資料庫時可能會有以下幾個疑問?

選擇什麼作業系統,伺服器記憶體、 CPU 、硬碟最低要求是多少,需求調整哪些系統引數、 RAC 安裝步驟有哪些等。

這些問題在此部分都可以找到詳細的答案。

 

  二:資料庫管理

Database Administration

這部分比較重要,也是使用最多的。

 


2.1 .1   概念

Concepts

主要講解了 Oracle 資料庫原理部分,包括體系結構等,例如事務管理、物理儲存結構、邏輯儲存結構、記憶體結構、程式結構等。

 

 

例如:我想知道控制檔案包括哪些資料,通過本章節可以找到如下內容:

Use of Control Files

The control file is the root file that Oracle Database uses to find database files and to manage the state of the database generally.

A control file contains information such as the following:

The database name and database unique identifier (DBID)

The time stamp of database creation

Information about data files, online redo log files, and archived redo log files

Tablespace information

RMAN backups

2. 1. 2 管理員指南

Administrator's Guide

主要講解了 Oracle 資料庫管理部分,包括資料庫例項如何啟動和關閉、如何管理資料檔案、控制檔案、日誌檔案、臨時檔案、如何管理資料庫物件等

 

 

 

例如:如何強制切換 redo ,可以找到如下內容:

Forcing Log Switches

A log switch occurs when LGWR stops writing to one redo log group and starts writing to another.

By default, a log switch occurs automatically when the current redo log file group fills.

You can force a log switch to make the currently active group inactive and available for redo log maintenance operations.

For example, you want to drop the currently active group, but are not able to do so until the group is inactive.

You may also want to force a log switch if the currently active group must be archived at a specific time before the members of the group are completely filled.

This option is useful in configurations with large redo log files that take a long time to fill.

To force a log switch, you must have the ALTER SYSTEM privilege.

Use the ALTER SYSTEM statement with the SWITCH LOGFILE clause.

The following statement forces a log switch:

ALTER SYSTEM SWITCH LOGFILE;

2 .1. 3 參考

Reference

主要講解了動態效能檢視、資料字典、初始化引數、資料庫限制、資料型別限制、等待事件、後臺程式等。

 

 

2. 1. 4 SQL語言參考

SQL Language Reference

主要講解了 SQL 工作原理、資料型別、 hints 、函式、條件、 SQL 查詢和子查詢、 joins SQL 語法等,當我們忘記某個命令的具體語法了,可以檢視此部分。

 

 

  例如忘記了建立表空間的語句,可以在這部分找到建立表空間詳細語法和示例:

Creating a Bigfile Tablespace: Example 
The following example creates a bigfile tablespace bigtbs_01 with a data file bigtbs_f1.dbf of 20 MB:
 
CREATE BIGFILE TABLESPACE bigtbs_01
  DATAFILE 'bigtbs_f1.dbf'
  SIZE 20M AUTOEXTEND ON;
Creating an Undo Tablespace: Example 
The following example creates a 10 MB undo tablespace undots1:
 
CREATE UNDO TABLESPACE undots1
   DATAFILE 'undotbs_1a.dbf'
   SIZE 10M AUTOEXTEND ON
   RETENTION GUARANTEE;
Creating a Temporary Tablespace: Example 
This statement shows how the temporary tablespace that serves as the default temporary tablespace for database users in the sample database was created:
 
CREATE TEMPORARY TABLESPACE temp_demo
   TEMPFILE 'temp01.dbf' SIZE 5M AUTOEXTEND ON;

2. 1. 5 效能調優指南

Performance Tuning Guide

主要講解了資料庫優化部分,包括資料庫引數優化、記憶體優化、 UNDO 優化、 REDO 優化、 hints 效能統計資訊、 AWR I/O 優化、 SQL 優化等。

 

 

例如,我想檢視 CPU 相關的統計資料,需要檢視哪些檢視,在此部分可以找到答案。

10.1.2.1.3 Oracle Database cPU Statistics

Oracle Database CPU statistics are available in several V$ views:

V$SYSSTAT 
顯示所有會話的Oracle資料庫CPU使用情況。此會話統計使用的CPU顯示所有會話使用的CPU總量。解析時間cpu統計顯示用於解析的總cpu時間。
shows Oracle Database CPU usage for all sessions. The CPU used by this session statistic shows the aggregate CPU used by all sessions. The parse time cpu statistic shows the total CPU time used for parsing.
 
V$SESSTAT 
顯示每個會話的Oracle資料庫CPU使用情況。使用此檢視可確定哪個特定會話使用的CPU最多。
shows Oracle Database CPU usage for each session. Use this view to determine which particular session is using the most CPU.
 
V$RSRC_CONSUMER_GROUP
顯示Oracle資料庫資源管理器執行時每個使用者組的CPU利用率統計資訊。
shows CPU utilization statistics for each consumer group when the Oracle Database Resource Manager is running.


2. 1. 6 錯誤訊息

Error Messages

主要講解了 Oracle 資料庫錯誤程式碼的基本資訊。

 

......

 

例如,我想查詢 ORA-01555 錯誤的基本資訊,可以找到如下內容:

ORA-01555: snapshot too old: rollback segment number string with name "string" too small
Cause: rollback records needed by a reader for consistent read are overwritten by other writers
Action: If in Automatic Undo Management mode, increase undo_retention setting. Otherwise, use larger rollback segments

2. SQL and PL/SQL

SQL statements and PL/SQL programs and packages are used extensively in administering Oracle databases.

2.2.1 SQL Language Reference

此部分和前面講解的 2. 1. 4 SQL Language Reference 部分類似。

  2.2.2 SQL Language Quick Reference

此部分主要也是講解的 SQL 語法。

 

 

2.2.3 2.2.4 2.2.5 2.2.6 部分主要講解了 PL/SQL SQL 開發部分,本人平時使用的比較少,做資料庫開發或感興趣的朋友可以認真看下。

 

2.2.3 PL/SQL Language Reference

2.2.4 PL/SQL Packages and Types Reference

2.2.5 SQL Developer User's Guide

2.2.6 Advanced Application Developer's Guide

 

2.3 Clients for Database Administration

Oracle SQL Developer is a powerful easy-to-use GUI with browse, create, edit, and drag-and-drop capabilities for managing database objects, and creating and viewing reports. SQL*Plus is a command-line client used for running SQL statements and compiling PL/SQL code. SQL Developer has all the capabilities of SQL*Plus in a GUI-based interface.


SQL Developer User's Guide

SQL*Plus Release Notes

SQL*Plus User's Guide and Reference

SQL*Plus Quick Reference

此部分主要介紹了常見的資料庫客戶端講解和使用方法,包括 SQL Developer SQL*Plus 等。

 

2.4 Security

有關用於保護資料不受未經授權訪問的資料庫功能的詳細資訊。

Detailed information on database features used to secure your data against unauthorized access.

 

2.4.1 Security Guide

主要講解了資料庫安全相關內容,包括使用者的建立、指定使用者表空間、指定使用者表空間配額、分配使用者許可權和角色、系統許可權和物件許可權、使用者密碼策略等。

 

例如:如何修改使用者預設角色?

Example 4-18 Using ALTER USER to Set Default Roles
ALTER USER jane DEFAULT ROLE payclerk, pettycash;
You cannot set default roles for a user in the CREATE USER statement. When you first create a user, the default user role setting is ALL, which causes all roles subsequently granted to the user to be default roles. Use the ALTER USER statement to limit the default user roles.

2.4.2,2.4.3,2.4.4,2.4.5 部分介紹了更詳細的安全管理部分。

2.4.2 Advanced Security Administrator's Guide

2.4.3 Enterprise User Security Administrator's Guide

2.4.4 Label Security Administrator's Guide

2.4.5 Database Vault Administrator's Guide

 

2.5 Network Management

Oracle Net helps you manage connectivity, security, and performance across both Internet and intranet networks.

 

2.5.1 Net Services Reference

主要講解了 listener.ora tnsnames.ora sqlnet.ora 配置和管理等。

 

例如:檢視監聽檔案示例:

Example 7-1 listener.ora File
 
LISTENER=
  (DESCRIPTION=
    (ADDRESS_LIST=
      (ADDRESS=(PROTOCOL=tcp)(HOST=sale-server)(PORT=1521))
      (ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
  (SID_LIST=
    (SID_DESC=
      (GLOBAL_DBNAME=sales.us.example.com)
      (ORACLE_HOME=/oracle11g)
      (SID_NAME=sales))
    (SID_DESC=
      (SID_NAME=plsextproc)
      (ORACLE_HOME=/oracle11g)
      (PROGRAM=extproc)))

2.5.2 Net Services Administrator's Guide

 

  例如:如何測試客戶端到資料庫的聯通性?

使用 TNSPING 實用程式測試客戶端的連線

Example 15-1 Checking a Listener with TNSPING

TNSPING sales

 

2.6 Storage

Using Automatic Storage Management for Oracle databases.

Automatic Storage Management Administrator's Guide

主要講解了 ASM 的原理和管理。

 

 

例如:如何建立 ASM 磁碟組,示例如下:

Example 4-1 Creating the DATA disk group

CREATE DISKGROUP data NORMAL REDUNDANCY
  FAILGROUP controller1 DISK
    '/devices/diska1' NAME diska1,
    '/devices/diska2' NAME diska2,
    '/devices/diska3' NAME diska3,
    '/devices/diska4' NAME diska4
  FAILGROUP controller2 DISK
    '/devices/diskb1' NAME diskb1,
    '/devices/diskb2' NAME diskb2,
    '/devices/diskb3' NAME diskb3,
    '/devices/diskb4' NAME diskb4
  ATTRIBUTE 'au_size'='4M',
    'compatible.asm' = '11.2', 
    'compatible.rdbms' = '11.2',
    'compatible.advm' = '11.2';

2.7 Backup and Recovery

Use Recovery Manager (RMAN) or user-managed backup techniques to back up and recover Oracle databases.

 

2.7.1 Backup and Recovery User's Guide

詳細講解了 RMAN 、使用者管理、閃回相關內容。

 

例如,如何恢復 V$DATABASE_BLOCK_CORRUPTION 中所有的壞塊

Recovering All Blocks in V$DATABASE_BLOCK_CORRUPTION
In this scenario, RMAN automatically recovers all blocks listed in the V$DATABASE_BLOCK_CORRUPTION view.
 
To recover all blocks logged in V$DATABASE_BLOCK_CORRUPTION:
 
Start SQL*Plus and connect to the target database.
 
Query V$DATABASE_BLOCK_CORRUPTION to determine whether corrupt blocks exist. For example, execute the following statement:
 
SQL> SELECT * FROM V$DATABASE_BLOCK_CORRUPTION;
Start RMAN and connect to the target database.
 
Recover all blocks marked corrupt in V$DATABASE_BLOCK_CORRUPTION.
The following command repairs all physically corrupted blocks recorded in the view:
 
RMAN> RECOVER CORRUPTION LIST;
After the blocks are recovered, the database removes them from V$DATABASE_BLOCK_CORRUPTION.

2.7.2 Backup and Recovery Reference

主要講解了備份和恢復相關的命令和語法。

 

例如,檢視閃回資料庫的相關命令。

Example 2-88 FLASHBACK DATABASE to a Restore Point
 
Assume that you are preparing to load a massive number of updates to the database. You create a guaranteed restore point before the performing the updates:
 
SQL> CREATE RESTORE POINT before_update GUARANTEE FLASHBACK DATABASE;
The bulk update fails, leaving the database with extensive corrupted data. You start an RMAN session, connect to the target database and recovery catalog, and list the guaranteed restore points:
 
RMAN> LIST RESTORE POINT ALL;
 
SCN              RSP Time  Type       Time      Name
---------------- --------- ---------- --------- ----
412742                     GUARANTEED 15-FEB-07 BEFORE_UPDATE
You mount the database, flash back the database to the restore point (sample output included), and then open the database with the RESETLOGS option:
 
RMAN> SHUTDOWN IMMEDIATE
RMAN> STARTUP MOUNT
RMAN> FLASHBACK DATABASE TO RESTORE POINT 'BEFORE_UPDATE';
 
Starting flashback at 15-FEB-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=104 device type=DISK
 
starting media recovery
 
archived log for thread 1 with sequence 34 is already on disk as file /disk2/oracle/oradata/prod/arch/archive1_34_614598462.dbf
media recovery complete, elapsed time: 00:00:01
Finished flashback at 15-FEB-07
 
RMAN> ALTER DATABASE OPEN RESETLOGS;

2.7.3 Advanced Replication Management API Reference

資料庫高階複製管理 API 參考我平時用的不多,感興趣的可以多看看。

 

2.8 UNIX and Windows Database Administration

Administration concepts and tasks specific to the Oracle Database on a specific operating system.

2.8.1 Administrator's Reference for Linux and UNIX-Based Operating Systems

主要講解了在 Linux UNIX 平臺下的 Oracle 資料庫配置管理,例如大頁、作業系統調優、資料庫限制等。

 

例如,在作業系統有哪些工具可以調優資料庫?

This section provides information about the following common tools:

vmstat
sar
iostat
swap, swapinfo, swapon, or lsps
AIX Tools
HP-UX Tools
Linux Tools
Solaris Tools

2.8.2 Platform Guide for Microsoft Windows

介紹了 windows 平臺下管理 Oracle 資料庫相關內容。

 

例如:如何啟動資料庫服務?

Command Prompt
To start Oracle Database services from the command prompt, enter:
C:\> NET START service
where service is a specific service name, such as OracleServiceORCL.

2.9 Testing

Oracle Real Application Testing enables you to perform real-world testing of Oracle Database.

RAC 測試嚮導

Real Application Testing User's Guide

主要講解了 SPA 等相關內容。

 

 

三:應用程式開發

Application Development

主要講解了應用程式開發相關內容,包括 SQL PL/SQL JAVA C++ .NET XML 等相關內容 , 我平時用的不多,感興趣的可以詳細看看。

 

例如,如何建立 HR 示例使用者?

Installing the HR Schema
All scripts necessary to create the Human Resource (HR) schema reside in $ORACLE_HOME/demo/schema/human_resources.
 
You need to call only one script, hr_main.sql, to create all the objects and load the data. The following steps provide a summary of the installation process:
 
Log on to SQL*Plus as SYS and connect using the AS SYSDBA privilege.
 
sqlplus connect sys as sysdba
Enter password: password
To run the hr_main.sql script, use the following command:
 
SQL> @?/demo/schema/human_resources/hr_main.sql

四: Grid Computing

4.1 Oracle Real Application Clusters

主要講解了 Oracle RAC RAC One Node 管理,備份恢復,監控,優化, srvctl ,增加和刪除節點等操作。

 

例如:查詢如何確定 Oracle RAC 例項是否正在使用專用網路?

How to Determine If Oracle RAC Instances Are Using the Private Network
This section describes how to manually determine if Oracle RAC instances are using the private network. 
However, the best practice for this task is to use Oracle Enterprise Manager Database Control graphical user interfaces (GUI) to check the interconnect. 
Also, see the Oracle Database 2 Day + Real Application Clusters Guide for more information about monitoring Oracle RAC using Oracle Enterprise Manager.
 
With most network protocols, you can issue the oradebug ipc command to see the interconnects that the database is using. For example:
 
oradebug setmypid
oradebug ipc
 
These commands dump a trace file to the location specified by the DIAGNOSTIC_DEST initialization parameter. 
The output may look similar to the following:
 
SSKGXPT 0x1a2932c flags SSKGXPT_READPENDING     info for network 0
        socket no 10    IP 172.16.193.1         UDP 43749
        sflags SSKGXPT_WRITESSKGXPT_UP  info for network 1
        socket no 0     IP 0.0.0.0      UDP 0...
In the example, you can see the database is using IP 172.16.193.1 with a User Datagram Protocol (UDP) protocol. 
Also, you can issue the oradebug tracefile_name command to print the trace location where the output is written.
 
Additionally, you can query the V$CLUSTER_INTERCONNECTS view to see information about the private interconnect. 
For example:
 
SQL> SELECT * FROM V$CLUSTER_INTERCONNECTS;
 
NAME  IP_ADDRESS          IS_  SOURCE
----- -------------------------- ---  -------------------------------
eth0  138.2.236.114         NO  Oracle Cluster Repository

4.2 Oracle Clusterware

主要講解了 Clusterware 管理,包括 OCR Voting disk 、網路、 crsctl 工具、新增和刪除節點等操作。

 

例如:查詢如何修改 VIP 地址的方法?

Changing the Virtual IP Addresses
Clients configured to use public VIP addresses for Oracle Database releases before Oracle Database 11g release 2 (11.2) can continue to use their existing connection addresses. Oracle recommends that you configure clients to use SCANs, but it is not required that you use SCANs. When an earlier version of Oracle Database is upgraded, it is registered with the SCAN, and clients can start using the SCAN to connect to that database, or continue to use VIP addresses for connections.
 
If you continue to use VIP addresses for client connections, you can modify the VIP address while Oracle Database and Oracle ASM continue to run. However, you must stop services while you modify the address. When you restart the VIP address, services are also restarted on the node.
 
This procedure cannot be used to change a static public subnet to use DHCP. Only the srvctl add network -S command creates a DHCP network.
 
Note:
 
The following instructions describe how to change only a VIP address, and assume that the host name associated with the VIP address does not change. Note that you do not need to update VIP addresses manually if you are using GNS, and VIPs are assigned using DHCP.
If you are changing only the VIP address, then update the DNS and the client hosts files. Also, update the server hosts files, if those are used for VIP addresses.
 
Perform the following steps to change a VIP address:
 
Stop all services running on the node whose VIP address you want to change using the following command syntax, where database_name is the name of the database, service_name_list is a list of the services you want to stop, and my_node is the name of the node whose VIP address you want to change:
 
srvctl stop service -d database_name  -s service_name_list -n my_node
This example specifies the database name (grid) using the -d option and specifies the services (sales,oltp) on the appropriate node (mynode).
 
$ srvctl stop service -d grid -s sales,oltp -n mynode
Confirm the current IP address for the VIP address by running the srvctl config vip command. This command displays the current VIP address bound to one of the network interfaces. The following example displays the configured VIP address:
 
$ srvctl config vip -n stbdp03
VIP exists.:stbdp03
VIP exists.: /stbdp03-vip/192.168.2.20/255.255.255.0/eth0
Stop the VIP resource using the srvctl stop vip command:
 
$ srvctl stop vip -n mynode
Verify that the VIP resource is no longer running by running the ifconfig -a command on Linux and UNIX systems (or issue the ipconfig /all command on Windows systems), and confirm that the interface (in the example it was eth0:1) is no longer listed in the output.
 
Make any changes necessary to the /etc/hosts files on all nodes on Linux and UNIX systems, or the %windir%\system32\drivers\etc\hosts file on Windows systems, and make any necessary DNS changes to associate the new IP address with the old host name.
 
To use a different subnet or NIC for the default network before you change any VIP resource, you must use the srvctl modify network -S subnet/netmask/interface command as root to change the network resource, where subnet is the new subnet address, netmask is the new netmask, and interface is the new interface. After you change the subnet, then you must change each node's VIP to an IP address on the new subnet, as described in the next step.
 
Modify the node applications and provide the new VIP address using the following srvctl modify nodeapps syntax:
 
$ srvctl modify nodeapps -n node_name -A new_vip_address
The command includes the following flags and values:
 
-n node_name is the node name
 
-A new_vip_address is the node-level VIP address: name|ip/netmask/[if1[|if2|...]]
 
For example, issue the following command as the root user:
 
srvctl modify nodeapps -n mynode -A 192.168.2.125/255.255.255.0/eth0
Attempting to issue this command as the installation owner account may result in an error. For example, if the installation owner is oracle, then you may see the error PRCN-2018: Current user oracle is not a privileged user.To avoid the error, run the command as the root or system administrator account.
 
Start the node VIP by running the srvctl start vip command:
 
$ srvctl start vip -n node_name
The following command example starts the VIP on the node named mynode:
 
$ srvctl start vip -n mynode
Repeat the steps for each node in the cluster.
 
Because the SRVCTL utility is a clusterwide management tool, you can accomplish these tasks for any specific node from any node in the cluster, without logging in to each of the cluster nodes.
 
Run the following command to verify node connectivity between all of the nodes for which your cluster is configured. This command discovers all of the network interfaces available on the cluster nodes and verifies the connectivity between all of the nodes by way of the discovered interfaces. This command also lists all of the interfaces available on the nodes which are suitable for use as VIP addresses.
 
$ cluvfy comp nodecon -n all -verbose

4.3 Oracle Automatic Storage Management

主要講解了 ASM ACFS 相關操作。

 

 

例如:如何檢視 ASM 磁碟頭狀態。

Example 4-10 Querying V$ASM_DISK for header status
SQL> SELECT name, header_status, path FROM V$ASM_DISK 
     WHERE path LIKE '/devices/disk0%'
 
NAME      HEADER_STATUS PATH
--------- ------------- ---------------------
          FORMER        /devices/disk02
          FORMER        /devices/disk01
          CANDIDATE     /devices/disk07
DISK06    MEMBER        /devices/disk06
DISK05    MEMBER        /devices/disk05
DISK04    MEMBER        /devices/disk04
DISK03    MEMBER        /devices/disk03
7 rows selected.

五:效能

Performance

主要講解了 TimesTen 應用層資料庫快取,我平時用的不多,感興趣的可以執行看下。

六:高可用

High Availability

 

6.1 High Availability

Maximize database availability using Oracle Data Guard and other technologies.

High Availability Overview

High Availability Best Practices

主要講解了高可用概念和最佳實踐等。

例如, RTO 的含義是什麼?

2.2.3 Recovery Time Objective (RTO)
The business impact analysis will determine your recovery time objective (RTO). RTO is defined as the maximum amount of time that an IT-based business process can be down before the organization starts suffering unacceptable consequences (financial losses, customer dissatisfaction, reputation, and so on). RTO indicates the downtime tolerance of a business process or an organization in general.
 
The RTO requirements are driven by the mission-critical nature of the business. Thus, for a system running a stock exchange, the RTO is zero or very near to zero.
 
An organization is likely to have varying RTO requirements across its various business processes. Thus, for a high volume e-commerce Web site, for which there is an expectation of rapid response times and for which customer switching costs are very low, the Web-based customer interaction system that drives e-commerce sales is likely to have an RTO close to zero. However, the RTO of the systems that support back-end operations, such as shipping and billing, can be higher. If these back-end systems are down, then the business may resort to manual operations temporarily without a significant visible impact.
 
The ability to take orders via the e-commerce Web site immediately (the RTO) may be more important than the RPO, because lost data can be reloaded later.

6.2 Data Guard

Maximize availability of Oracle databases using Data Guard to provide failover capabilities.

 

Data Guard Broker

Data Guard Concepts and Administration

主要講解了 DG 原理和管理相關內容。

例如,查詢 switchover 相關圖片。

 

  6.3 Backup and Recovery

Enhance database availability using the full range of backup and recovery capabilities of the Oracle database, such as Recovery Manager and the flashback features.

 

Backup and Recovery User's Guide

Backup and Recovery Reference

 

6.4 Oracle Streams

Streames 用的比較少,感興趣的朋友可以詳細看下。

 

Oracle Streams enables the propagation and management of data, transactions and events within and among databases.

 

Streams Concepts and Administration

Streams Replication Administrator's Guide

Streams Advanced Queuing User's Guide

Streams Extended Examples

PL/SQL Packages and Types Reference

Reference

XStream Java API Reference (Javadoc)

 

6.5 Advanced Replication

Advanced Replication can be used as part of maximizing database availability by reproducing your database at multiple sites.

 

Advanced Replication

Advanced Replication Management API Reference

主要講解了物化檢視等相關內容。

例如,簡單物化檢視和複雜物化檢視的區別。

 

......

九:資訊整合

Information Integration

Additional Features

主要講解了 expdp/impdp sql*loader External tables ADRCI 等工具的使用。

例如:如何評估 expdp 表級別匯出所需的磁碟空間。

Example 2-3 Estimating Disk Space Needed in a Table-Mode Export
> expdp hr DIRECTORY=dpump_dir1 ESTIMATE_ONLY=YES TABLES=employees, 
departments, locations LOGFILE=estimate.log

#####chenjuchao 20210907 22:00###

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2790914/,如需轉載,請註明出處,否則將追究法律責任。

相關文章