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

简介: Which state must a database be to enable ARCHIVELOG ?A)NOMOUNTB)OPEN IN READ WRITE modeC)OPEN IN READ ONLY modeD)OPEN IN RESTRICTED modeE)MOUNT...

Which state must a database be to enable ARCHIVELOG ?

A)NOMOUNT

B)OPEN IN READ WRITE mode

C)OPEN IN READ ONLY mode

D)OPEN IN RESTRICTED mode

E)MOUNT

Answer: E

赵:

题译:数据库必须是哪个状态才能启用 ARCHIVELOG?

oracle 启动分为三步:

nomount --根据参数文件启动实例(instance)

mount --加载控制文件,让实例和数据库相关联

open --根据控制文件找到并打开数据文件和日志文件,从而打开数据库

Oracle 的归档(ARCHIVELOG)模式启动和关闭:

1、登录数据库:

sqlplus / as sysdba

2、查看当前归档模式

archive log list;

3、关闭数据库

可以使用 shutdown immediate;或者 shutdown normal ,若一直等待,执行 shutdown abort

4、mount 状态启动数据库

startup mount;

5、归档模式操作

启用归档模式:alter database archivelog;

关闭归档模式:alter database noarchivelog;

6、启动数据库

alter database open;

目录
相关文章
OCP-052考试题库汇总(55)-CUUG内部解答版
Examine these facts about a database: 1.USER is the database default tablespace. 2.USER1, USER2, and USER3 have the CREATE SESSION privilege.
3049 0
|
数据库 存储
OCP-052考试题库汇总(48)-CUUG内部解答版
Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.
740 0
|
数据库管理
OCP-052考试题库汇总(46)-CUUG内部解答版
Examine this command: SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS; Whi...
770 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(45)-CUUG内部解答版
You want to access employee details contained in flat files created by an application. Which two methods will achieve this? A)Use a BFILE column in a table to access the flat file.
1863 0
|
SQL 数据库 关系型数据库
OCP-052考试题库汇总(43)-CUUG内部解答版
Which is true about external tables? A)Segments are allocated for external tables. B)They may have indexes.
2131 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'...
793 0
|
SQL 存储 Oracle
OCP-052考试题库汇总(37)-CUUG内部解答版
Examine these facts about objects in the SYSTEM schema: 1.EMP is a table. 2.EMP_PK is a primary key constraint on EMP.
853 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.
695 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(31)-CUUG内部解答版
which four are true about the tools used to administer Oracle database? A)the Data Pump utility can be used to load data from text files.
797 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 赵:视图和外部表不存在段。
734 0

热门文章

最新文章