startup force 用在数据库出现问题时,不能正常关闭时。
相当于 shutdown abort + startup
startup restrict是在数据库处于shutdown状态下打开数据库时的一种做法。
当数据库以restrict方式打开时,只有具有 RESTRICTED SESSION权限的用户才能登陆。
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup restricted;
SP2-0714: 无效的 STARTUP 选项组合
SQL> startup restrict;
ORACLE 例程已经启动。
Total System Global Area 135339844 bytes
Fixed Size 454468 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
数据库装载完毕。
数据库已经打开。
SQL> exit
E:\oracle\ora92\bin>sqlplus "aaa/bbb"
SQL*Plus: Release 9.2.0.4.0 - Production on 星期一 8月 28 16:03:22 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7220098/viewspace-157769/
,如需转载,请注明出处,否则将追究法律责任。