How Resumable Space
来源:互联网 发布:上海网络文化节 编辑:程序博客网 时间:2024/06/06 08:24
文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14231/schema.htm#i1006595
How Resumable Space Allocation Works
The following is an overview of how resumable space allocationworks. Details are contained in later sections.
A statement executes in a resumable mode only if its session hasbeen enabled for resumable space allocation by one of the followingactions:
The
RESUMABLE_TIMEOUT
initialization parameteris set to a nonzero value.The
ALTER SESSION ENABLE RESUMABLE
statement isissued.
A resumable statement is suspended when one of thefollowing conditions occur (these conditions result incorresponding errors being signalled for non-resumablestatements):
Out of space condition
Maximum extents reachedcondition(包括一个段的最大区间数达到的时候,会触发resumable,在视图Dba_Segments中可以查看到字段max_extents,即该列为段的最大区间数。)
Space quota exceeded condition.
---这是触发的条件:以上三个(总之,遇上空间问题,如果配置了 resumable的,那么会话会被挂起一定的时间。)
When the execution of a resumable statement is suspended, thereare mechanisms to perform user supplied operations, log errors, andto query the status of the statement execution. When a resumablestatement is suspended the following actions are taken:
The error is reported in the alert log.
The system issues the Resumable Session Suspended alert.
If the user registered a trigger on the
AFTERSUSPEND
system event, the user trigger is executed. A usersupplied PL/SQL procedure can access the error message data usingtheDBMS_RESUMABLE
package and theDBA_
orUSER_RESUMABLE
view.
Suspending a statement automatically results in suspending thetransaction. Thus all transactional resources are held through astatement suspend and resume.
When the error condition is resolved (for example, as a resultof user intervention or perhaps sort space released by otherqueries), the suspended statement automatically resumes executionand the Resumable Session Suspended alert is cleared.
A suspended statement can be forced to throw the exception usingthe
DBMS_RESUMABLE.ABORT()
procedure. This procedurecan be called by a DBA, or by the user who issued thestatement.A suspension time out interval is associated with resumablestatements. A resumable statement that is suspended for the timeoutinterval (the default is two hours) wakes up and returns theexception to the user.
A resumable statement can be suspended and resumed multipletimes during execution.
- How Resumable Space
- Oracle Resumable Space Allocation
- resumable space allocation
- 设置Resumable Space Allocation
- Oracle Resumable Space Allocation
- Oracle Resumable Space Allocation 特性 说明
- Statement-Level Rollback Resumable Space Allocation【每日一译】--2012-11-05
- 54 You have enabled resumable space allocation in your database by setting the RESUMABLE_TIMEOUT par
- 45 You want to disable resumable space allocation for all sessions. Which value should be assigned t
- 44 You want to enable resumable space allocation at the instance level. Which two actions would enab
- How to add swap space in Linux
- how to access file in kernel space
- Oracle的Resumable特性
- oracle 空间RESUMABLE
- How to access PCI configure space on OpenSolaris
- How does XML handle white-space in my documents?
- how to disable alignment trap from user space in linux
- How to search the available space in SQL server.
- oracle ASSM和MSSM
- 关于RESTORE CONTROLFILE命令使用限制
- ORACLE 的SCN相关概念(讲义总结)---待验证
- Oracle的SCN相关问题 ---载自别人的博客(待验证)
- 关于Block Recover--讹误块介质恢复
- How Resumable Space
- 压缩段---shrink segment
- DBAII--管理资源(转载)
- 关于CREATE_PLAN_DIRECTIVE Procedure与资源计划的平行度
- Recovery of Read-Only or Slow Media with a Backup Control File
- 关于关联子查询--correlated subquery
- 转置多表INSERT语句
- oracle 下WITH CHECK OPTION用法
- oracle中rollup和cube的用法