oracle启动限制模式
来源:互联网 发布:凯聪智云软件pc版 编辑:程序博客网 时间:2024/05/13 17:26
- 在执行如下任务时,可以把数据库启动到限制模式
- 数据导入导出(import、export)
- 数据的装载(SQL*Loader)
- 阻止某些用户访问数据
- 执行升级和迁移操作
在限制模式下,只有create session和restricted session权限用户能访问数据库
数据库关闭条件下
[oracle@prod1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 22 18:50:04 2015Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to an idle instance.idle> startup restrict;
数据库已启动条件下
idle> alter system enable restricted session;
关闭限制模式
idle> alter system disable restricted session;
测试
[oracle@prod1 ~]$ sqlplus scott/tiger SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 22 18:53:42 2015Copyright (c) 1982, 2009, Oracle. All rights reserved.ERROR:ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege#赋予scott用户restricted session权限idle> grant restricted session to scott;Grant succeeded.#登录成功[oracle@prod1 ~]$ sqlplus scott/tiger SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 22 18:55:15 2015Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsscott@PROD>
0 0
- oracle启动限制模式
- ORACLE启动模式及关闭
- Oracle限制
- Oracle 启动归档模式和非归档模式
- oracle避免限制索引
- oracle 限制访问IP
- oracle 限制IP登陆
- oracle数据类型大小限制
- oracle限制IP访问
- oracle Sequence 的限制
- oracle数据文件大小限制
- ORACLE限制IP连接
- oracle限制IP訪問
- oracle 一些约束限制
- 限制索引 Oracle
- oracle IP地址限制
- ORACLE限制连接IP
- ORACLE数据文件大小限制
- iOS多线程的初步研究(五)-- 如何让NSURLConnection在子线程中运行
- Fragment 获取Activity 值或者方法
- 剑-二叉树后序遍历列表
- Unity4.6.9 Bug导致在Android 6.0设备上黑屏,更新Unity4.7解决问题
- java对redis的基本操作<转>
- oracle启动限制模式
- 安卓中关于软键盘的一些 研究和经验
- 設置当前腳本超時時間
- iOS多线程的初步研究(六)-- NSOperation
- C#获取C++中修改过的float数组(指针),dll
- iOS block的使用
- NC维护云平台技术分享之 NC维护云管家通信框架
- poi导出excel
- Clean架构