OCP-1Z0-053-V13.02-325题

2023-10-08 20:09
文章标签 ocp 1z0 053 v13.02 325

本文主要是介绍OCP-1Z0-053-V13.02-325题,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

 

325.Which of the following are valid until command options when attempting point-in-time recovery in

RMAN? (Choose all that apply.)

A. until time

B. until change

C. until sequence

D. until SCN

E. until commit

Answer: ACD

答案解析:

参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsubcl019.htm#RCMRF160

 

Semantics

Syntax ElementDescription
UNTIL SCN integerSpecifies an SCN as an upper, noninclusive limit.

RMAN selects only files that it can use to restore or recover up to but not including the specified SCN (seeExample 4-38). For example, RESTORE DATABASE UNTIL SCN 1000 chooses only backups that could be used to recover to SCN 1000.

UNTIL SEQUENCE integerSpecifies a redo log sequence number and thread as an upper, noninclusive limit.

RMAN selects only files that it can use to restore or recover up to but not including the specified sequence number. For example, REPORT OBSOLETE UNTIL SEQUENCE 8000 reports only backups that could be used to recover through log sequence 7999.

   THREAD integerSpecifies the number of the redo thread.
UNTIL TIME 'date_string'Specifies a time as an upper, noninclusive limit (see Example 4-39).

RMAN selects only files that it can use to restore and recover up to but not including the specified time. For example, LIST BACKUP UNTIL TIME 'SYSDATE-7' lists all backups that could be used to recover to a point one week ago.

When specifying dates in RMAN commands, the date string must be either:

  • A literal string whose format matches the NLS_DATE_FORMAT setting.

  • A SQL expression of type DATE, for example, 'SYSDATE-10' or "TO_DATE('01/30/2007', 'MM/DD/YYYY')". The second example includes its own date format mask and so is independent of the currentNLS_DATE_FORMAT setting.

Following are examples of typical date settings in RMAN commands:

BACKUP ARCHIVELOG FROM TIME 'SYSDATE-31' UNTIL TIME 'SYSDATE-14';
RESTORE DATABASE UNTIL TIME "TO_DATE('09/20/06','MM/DD/YY')";

Note: The granularity of time-based recovery is dependent on time stamps in the redo log. For example, suppose that you specify the following command:

RECOVER DATABASE UNTIL TIME '2007-07-26 17:45:00';

If no redo was written with a time stamp of 17:45:00, then recovery proceeds until it finds the next redo time stamp that is higher. For example, the next redo time stamp may be 17:45:04. You can check for the nearest time for a specific SCN by querying the FIRST_TIME and FIRST_CHANGE# columns in V$LOG_HISTORY TABLE.


Examples

Example 4-38 Performing Incomplete Recovery to a Specified SCN

This example, which assumes a mounted database, recovers the database up to (but not including) the specified SCN:

STARTUP FORCE MOUNT
RUN
{
SET UNTIL SCN 1418901;  # set to 1418901 to recover database through SCN 1418900
RESTORE DATABASE;
RECOVER DATABASE;
}
ALTER DATABASE OPEN RESETLOGS;

Example 4-39 Reporting Obsolete Backups

This example enables you to recover to any point within the last week. It considers as obsolete all backups that could be used to recover the database to a point one week ago:

REPORT OBSOLETE UNTIL TIME 'SYSDATE-7';


这篇关于OCP-1Z0-053-V13.02-325题的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/167682

相关文章

Oracle OCP认证值得考吗? 需要门槛吗?

随着数据量的爆炸性增长和企业对数据依赖性的提升,对数据库专业人士的需求也在不断上升。OCP认证,作为Oracle公司提供的权威认证之一,长期以来被视为数据库专业人士技能和知识水平的重要标志。 但随着技术的发展和认证种类的增多,疑问也在不断出现:在当前的市场环境下,OCP认证还值得考吗?考取这一认证又需要满足哪些条件? 今天就来聊聊有关OCP的这些问题,让你不再困惑。   01 还值得考吗?

开闭原则 OCP

开闭原则,当业务逻辑需要改动时,在不修改原来代码的情况下,进行功能扩展

1z0-071 Oracle Database 12c SQL 第10题 alias name别名

Q10. Examine the structure of the MEMBERS table: Name Null? Type -—————– ————— —————————— MEMBER_ID NOT NULL VARCHAR2 (6) FIRST_NAME VARCHAR2 (50) LAST_NAME NOT NULL VARCHAR2 (50) AD

1z0-071 Oracle Database 12c SQL 第8题 正则表达式

Q8. Examine the structure of the MEMBERS table:Name Null? Type-————— —————– —————————MEMBER_ID NOT NULL VARCHAR2 (6)FIRST_NAME VARCHAR2 (50)LAST_NAME NOT NULL VARCHAR2 (50)ADDRESS VARCHAR2 (50)CITY VA

1z0-071 Oracle Database 12c SQL 第4题 DML操作

Q4.Which two statements are true about Data Manipulation Language (DML) statements? A. An INSERT INTO…VALUES.. statement can add multiple rows per execution to a table. B. An UPDATE… SET… statemen

1z0-071 Oracle Database 12c SQL 第19题 exists语句

Q19.Which two statements are true regarding the EXISTS operator used in the correlated subqueries? (Choose two.) A. The outer query stops evaluating the result set of the inner query when the first

1z0-071 Oracle Database 12c SQL 第67题 模糊搜索

Q67. Examine the data in the CUST_NAME column of the CUSTOMERS table.CUST_NAME-——————Renske LadwigJason MallinSamuel McCainAllan MCEwenIrene MikilineniJulia NayerYou need to display customers’ second

1z0-071 Oracle Database 12c SQL 第53题 system privilege

Q53. Which statement correctly grants a system privilege?A. GRANT CREATE VIEWON table1 TO user1;B. GRANT ALTER TABLETO PUBLIC;C. GRANT CREATE TABLETO user1, user2;D. GRANT CREATE SESSION TO ALL; Cor

nyoj 325 【zb的生日】

描述 今天是阴历七月初五,acm队员zb的生日。zb正在和C小加、never在武汉集训。他想给这两位兄弟买点什么庆祝生日,经过调查,zb发现C小加和never都很喜欢吃西瓜,而且一吃就是一堆的那种,zb立刻下定决心买了一堆西瓜。当他准备把西瓜送给C小加和never的时候,遇到了一个难题,never和C小加不在一块住,只能把西瓜分成两堆给他们,为了对每个人都公平,他想让两堆的重量之差最小。每个西瓜的

OCP-042之:Oracle结构体系

1. Oracle结构体系 1.1 概述 1.1.1 版本 版本后缀所代表的含义 i:代表基于Internet架构的数据库,如9i g:代表基于grid(网格)的数据库,如11g grid的目的:降低成本,提高服务质量,简化管理 Storage Grid:ASM(automatic storage management),继承了LVM技术,Oracle的动态存储空间管理技术,通过软件