OCP-052考试题库汇总(49)-CUUG内部解答版

简介: Which two statements are true about the Automatic Diagnostic Repository (ADR) ?A)It only exists if DIAGNOSTIC_DEST is configured in the SPFILE.

Which two statements are true about the Automatic Diagnostic Repository (ADR) ?

A)It only exists if DIAGNOSTIC_DEST is configured in the SPFILE.

B)It includes diagnostic data for critical errors for background processes.

C)It only contains the alert log.

D)It only contains trace files.

E)It includes diagnostic data for critical errors for client processes.

F)It includes diagnostic data for critical errors for server process.

Answer: BF

CUUG:

在 Oracle 的 11g 版本中,alert 文件的位置发生了变化,与此同时 Oracle 提供了一个命令行工具 ADRCI,它可以很便利的查看数据库中出现的异常。

1.查看到 adrci 命令行帮助

$ adrci -help

2.使用 help show alert 命令查看帮助文档

adrci> help

3.使用 show alert 列出各个目录下的日志目录

adrci> show alert

ADR 的结构和位置:

初始化参数 diagnostic_dest 指定了 ADR 的根目录。即使你忽略了该初始化参数。oracle 也会创建 ADR。

如果你设置了 ORACLE_BASE 环境变量,那么 diagnostic_dest 缺省值是该目录。如果你没有设置ORACLE_BASE 变量,该参数值为$ORACLE_HOME/log 目录。 ADR 存储所有 oracle 产品的诊断数据。

ADR 为每一个 oracle 产品及其实例分配一个单独的 home 目录。因此一个 ADR 目录包含多个 home 目录。每一个 ADR 的 home 目录是一个为每一个数据库实例或 它 oracle 产品或组件存储其诊断文件。

其目录结构如下: ADR_base/diag/product_type/product_id/instance_id/,比如一个 diagnostic_dest 初始化参数为 /u05/app/oracle。那么一个 oracle 数据库的 sid 为 prod1 的 home 目录就如下所示:

/u05/app/oracle/diag/rdbms/prod1/prod1/

目录
相关文章
OCP-052考试题库汇总(57)-CUUG内部解答版
Examine these facts about a databases: 1.USERS is the database default tablespace. 2.USER1,USER2,and USER3 have the CREATE SESSION privilege 3.
775 0
|
SQL 数据库 关系型数据库
OCP-052考试题库汇总(43)-CUUG内部解答版
Which is true about external tables? A)Segments are allocated for external tables. B)They may have indexes.
2161 0
|
XML SQL 数据库
OCP-052考试题库汇总(41)-CUUG内部解答版
Examine this session output: SQL> connect scott/tiger Connected. SQL>select name,value 2 from v$parameter 3 where name='audit_trail'; NAME VALUE ----...
925 0
OCP-052考试题库汇总(42)-CUUG内部解答版
You successfully executed these commands: connect scott/tiger@prod1; CREATE DATABASE LINK db_prod2 CONNECT TO scott IDENTIFIED BY tiger USING 'PROD2'...
836 0
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(35)-CUUG内部解答版
Which two are true about Oracle Data Pump in Oracle Database 11g Release 2? A)If the directory used in the export operation has existing dump files, it overwrites them.
739 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(33)-CUUG内部解答版
Which two can be exported by a non-administrative account by using Data Pump? A)directory objects B)tables C)tablespaces D)schemas E)database Answer: BD 赵: EXP 和 IMP 是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。
682 0
|
Oracle 关系型数据库
OCP-052考试题库汇总(30)-CUUG内部解答版
Which two are true about the Inventory directory? A)It is shared by all Oracle software installations on a single server.
707 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(28)-CUUG内部解答版
Archivelog mode is enabled for your database and DB_CREATE_FILE_DEST is set to ‘/u01/oracle/db01’. The parameters, DB_CREATE_ONLINE_LOG_DEST_n and DB_RECOVERY_FILE_DEST, and not specified.
656 0
|
数据库
OCP-052考试题库汇总(26)-CUUG内部解答版
Which three of these must be accessible to keep a database open? A)Control file. B)All members of a redo log group. C)SYSTEM tablespace. D)SYSAUX tablespace. E)spfile Answer: ABC 赵: 1 nomount:实例已经启动,进程和内存已经分配。
719 0
|
机器学习/深度学习 Oracle 关系型数据库
OCP-052考试题库汇总(25)-CUUG内部解答版
Which four database objects never have any segments? A)A partitioned index B)A view selecting from a populated table C)An empty index D)An Oracle Loader type external table E)An empty table F)A view selecting from an empty table G)An Oracle Data Pump type external table Answer: BDFG 赵:视图和外部表不存在段。
767 0