1z0-062 题库解析6
You want execution of large database operations to suspend, and then resume, in the event of space allocation failures.
You set the value of the initialization parameter RESUMABLE_TIMEOUT to 3600.
Which two statements are true?
A.Before a statement executes in resumable mode, the ALTER SESSION ENABLE RESUMABLE statement must be issued in its session
B.Data Manipulation Language (DML) operations are resumable, provided that they are not embedded in a PL/SQL block.
C.A resumable statement can be suspended and resumed only once during execution.
D.A suspended statement will report an error if no corrective action has taken place during a timeout period.
E. Suspending a statement automatically results in suspending a transaction and releasing all the resources held by the transaction.
Answer: AD
【解析】
可恢复空间分配的工作方式为:
仅当通过以下操作之一为语句的会话启用了可恢复空间分配时,该语句才以可恢复模式执行:
该ALTER SESSION ENABLE RESUMABLE声明是在语句执行前的会议时发出的RESUMABLE_TIMEOUT初始化参数设置为非零值。
该ALTER SESSION ENABLE RESUMABLE TIMEOUT timeout_value语句在执行之前在会话中发出,并且timeout_value是非零值。
当出现以下情况之一时,可恢复语句被挂起(这些条件导致非可恢复语句被发出相应的错误信号):
空间不足
达到最大范围的条件
超出空间配额条件。
当中止可恢复语句的执行时,有一些机制可以执行用户提供的操作,记录错误以及查询语句执行的状态。暂停可恢复语句后,将执行以下操作:
该错误在警报日志中报告。
系统发出“可恢复的会话已挂起”警报。
如果用户在AFTER SUSPEND系统事件上注册了触发器,则将执行用户触发器。用户提供的PL / SQL过程可以使用DBMS_RESUMABLE包和DBA_或USER_RESUMABLE视图访问错误消息数据。
挂起语句会自动导致挂起事务。因此,所有事务资源都通过语句中止和恢复来保留。
解决错误情况后(例如,由于用户干预或其他查询释放的排序空间),被挂起的语句将自动恢复执行,并清除“可恢复的会话被挂起”警报。
可以使用该DBMS_RESUMABLE.ABORT()过程强制执行已暂停的语句引发异常。DBA或发出该语句的用户可以调用此过程。
由RESUMABLE_TIMEOUT初始化参数或ALTER SESSION ENABLE RESUMABLE TIMEOUT语句中的超时值指定的暂停超时间隔与可恢复语句相关联。如果在超时间隔内未解决错误条件,则会暂停在超时间隔内暂停的可恢复语句,并将异常返回给用户。
可恢复语句可以在执行期间被挂起和恢复多次。
【官方手册】
https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-space-for-schema-objects.html#GUID-46AE3FD8-95D4-4CFA-9F3C-B80C5AFDE75B
1z0-062 题库解析6的更多相关文章
- 【OCP|052】OCP最新题库解析(052)--小麦苗解答版
[OCP|052]OCP最新题库解析(052)--小麦苗解答版 OCP最新题库解析历史连接(052):http://mp.weixin.qq.com/s/bUgn4-uciSndji_pUbLZfA ...
- OCP考试062题库出现大量新题-19
choose three Which three statements are true about Oracle Data Pump? A) Oracle Data Pump export and ...
- OCP 12c考试题,062题库出现大量新题-第20道
choose three Your database is configured for ARCHIVELOG mode, and a daily full database backup is ta ...
- OCP考试062题库出现大量新题-18
choose two Examine this command executed on a client that is remote from the database server. SQL> ...
- 【2019】OCP 12c 062题库更新大量新题-7
7.daily_ords_lst is created in locally managed tablespace ORDERS_TBS which uses automatic segment sp ...
- 【新题】OCP 062题库出现很多新题-6
6.Which four statements are true about database instance behavior? A) Redo log files can be renamed ...
- OCP 12c 062题库大更新,出现大量新题-5
5.One of your databases supports an OLTP workload. The default undo tablespace is fixed size with: 1 ...
- 1z0-062 题库解析5
题目: Which three statements are true about Flashback Database? A. Flashback logs are written sequenti ...
- 1z0-062 题库解析4
题目: Examine this parameter: NAME TYPE VALUE ------------------------ -- ...
- 1z0-062 题库解析3
The hr user executes the following query on the employees table but does not issue commit, rollback, ...
随机推荐
- LA 5031 Graph and Queries —— Treap名次树
离线做法,逆序执行操作,那么原本的删除边的操作变为加入边的操作,用名次树维护每一个连通分量的名次,加边操作即是连通分量合并操作,每次将结点数小的子树向结点数大的子树合并,那么单次合并复杂度O(n1lo ...
- C# 自动翻页 PPT 测试脚本
本文告诉大家一个可以使用的 C# 脚本,可以用来自动打开 PPT 文件,然后不断执行翻页.每次翻页都截图.翻页之后自动关闭 PPT 再次打开 最近发现给 Office 做的插件,会在一定翻页次数的时候 ...
- 2019-8-31-git-上传当前分支
title author date CreateTime categories git 上传当前分支 lindexi 2019-08-31 16:55:59 +0800 2018-05-08 09:2 ...
- UVA live 6667 三维严格LIS
UVA live 6667 三维严格LIS 传送门:https://vjudge.net/problem/UVALive-6667 题意: 每个球都有三个属性值x,y,z,要求最长的严格lis的长度和 ...
- Team Foundation Server 2015使用教程【1】:团队项目创建
- python 练习题3
# 计算阶乘def factorial(n): if n>2: return n*factorial(n-1) else: return nprint(factorial(2))print(fa ...
- 前端——css属性方法
目录 标签快捷写法 宽和高 字体 1.文字字体 2.字体大小 3.字体粗细 4.字体颜色 5.字体对齐 6.文字下划线控制 7.文字首行缩进 8.字体英文换大写 背景属性 1.背景颜色 2.背景图片 ...
- Java 从入门到进阶之路(十九)
在之前的文章我们介绍了一下 Java 中的Object,本章我们来看一下 Java 中的包装类. 在 Java 中有八个基本类型:byte,short,int,long,float,double,ch ...
- 力扣90——子集 II
原题 给定一个可能包含重复元素的整数数组 nums,返回该数组所有可能的子集(幂集). 说明:解集不能包含重复的子集. 示例: 输入: [1,2,2] 输出: [ [2], [1], [1,2,2], ...
- Appium+Pytest实现app并发测试
前言 这个功能已经写完很长时间了,一直没有发出来,今天先把代码发出来吧,有一些代码是参考网上写的,具体的代码说明今天暂时先不发了,代码解释的太详细还得我花点时间^_^, 毕竟想让每个人都能看明白也不容 ...