`
edwards0307
  • 浏览: 27384 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

RESUMABLE SESSION

 
阅读更多

RESUMABLE SESSION

Let you enable and disable resumable space allocation. This feature allows an operation to be suspended in the event of an out-of-space error condition and to resume automatically from the point of interruption when the error condition is fixed.Using RESUMABLE Session to Avoid Transaction Abort Due to Space Errors

Note:

Resumable space allocation is fully supported for operations on locally managed tablespaces. Some restrictions apply if you are using dictionary-managed tablespaces.
 
一.one session
1. grant resumable to user
2. alter session enable resumable timeout  1200
3.SQL> create table t_resume tablespace myts as select * from all_objects; ------halt and there is no error appear.
       ORA-01652: unable to extend temp segment by 8 in tablespace MYTS
二 another session;
1.SQL> alter database datafile '/u01/oradata/lsh/myts01.dbf' resize 50m;
三 one session
 SQL> create table t_resume tablespace myts as select * from all_objects;
表已创建。
ENABLE RESUMABLE:

This clause enables resumable space allocation for the session.

TIMEOUT TIMEOUT: lets you specify (in seconds) the time during which an operation can remain suspended while waiting for the error condition to be fixed. If the error condition is not fixed within the TIMEOUT period, then Oracle Database aborts the suspended operation.

NAME: NAME lets you specify a user-defined text string to help users identify the statements issued during the session while the session is in resumable mode. Oracle Database inserts the text string into the USER_RESUMABLE and DBA_RESUMABLE data dictionary views. If you do not specify NAME, then Oracle Database inserts the default string 'User username(userid), Session sessionid, Instance instanceid'.

分享到:
评论

相关推荐

    最新OCP认证题库043

    Resumable Session 的行为和影响 - **题目背景**:考察在启用了可恢复会话后,当执行语句时遇到存储空间分配失败错误时的行为。 - **选项分析**: - **A. The statements remain suspended for at least 60 ...

    resumable-eval:评估您可以暂停和继续

    例如: var resumable = require('resumable-eval')var session;(function() { var x = 1 session = eval(resumable) // Save the function scope})()// Interact with the saved scopesession .eval('...

    session-resume:注释要保留在离开当前页面的导航中的字段

    input id =" new-comment " class =" js-session-resumable "/> </ form > JS import { persistResumableFields , restoreResumableFields , setForm } from '@github/session-resume' function ...

    oracle系统自带角色说明

    此角色包含了备份数据库所需的大部分权限,如`EXECUTE_CATALOG_ROLE`、`SELECT_CATALOG_ROLE`、`BACKUP ANY TABLE`以及`RESUMABLE`等系统权限。这些权限使得拥有该角色的用户可以完全备份数据库,并且能够在备份过程...

    oracle资料

    - **格式**:FLASHBACK_SCN=SCN_used_to_set_session_snapshot_back_to ##### FLASHBACK_TIME - **描述**:根据指定的时间获取最近的 SCN。 - **格式**:FLASHBACK_TIME=time_used_to_get_the_SCN_closest_to_the_...

    深入理解https

    - **Is Resumable**:标识此会话是否可用于初始化新的连接。 - **连接状态**:包括服务器和客户端随机数、MAC密钥、加密密钥、初始化向量等。 - **Server and Client Random**:客户端和服务器为每个连接选择的...

    oracle ocp043 word 版

    2. 使用ALTER SESSION ENABLE RESUMABLE TIMEOUT 60命令设置会话在可恢复模式下运行,设置了超时时间为60秒。如果发生错误导致语句被挂起,选项C描述了正确的行为:这些被挂起的语句会在60秒内如果没有解决问题则会...

    ocp043题库

    - **SQL 命令**: `ALTER SESSION ENABLE RESUMABLE TIMEOUT 60;` - **效果**: 启用会话的可恢复模式,并设置超时时间为 60 秒。 - **A. 语句至少暂停 60 秒**: 这是正确解释。当语句因为资源不足而被挂起时,它将...

    oracle views 10g

    3. **V$RESUMABLE**: 显示可恢复操作的信息。 4. **V$RULE**: 显示规则信息。 5. **V$RULE_SET**: 显示规则集的信息。 这些视图为Oracle 10g的管理员提供了深入的洞察力,帮助他们有效地管理和维护数据库。通过定期...

    Geoserver用户手册

    1 Introduction 3 1.1 Overview . . . . . . . . ....1.2 History ....1.3 Getting involved ....1.4 License ....2.1 Windows installer ....2.2 Windows binary ....2.3 Mac OS X installer ....2.4 Mac OS X binary ....

Global site tag (gtag.js) - Google Analytics