Oracle中sys和system的区别小结
程序员文章站
2024-02-10 14:30:34
1. sys用户具有dba权限,并且拥有sys模式,只能通过sysdba登陆数据库。是oracle数据库中权限最高的帐号 system具有dba权限。但没有sysdba权限...
1.
sys用户具有dba权限,并且拥有sys模式,只能通过sysdba登陆数据库。是oracle数据库中权限最高的帐号
system具有dba权限。但没有sysdba权限。平常一般用该帐号管理数据库就可以了。
2.
(1)sys -- sysdba
system --sysoper
(2)startup/shutdown/dba管理两个都能做
(3)sys拥有数据字典(dictionay),或者说dictionay属于sys schema
(4)sysdba比sysoper多了一个create database的权限
3.
sysdba
perform startup and shutdown operations
alter database: open, mount, back up, or change character set
create database
create spfile
archivelog and recovery
includes the restricted session privilege
effectively, this system privilege allows a user to connect as user sys.
sysoper
perform startup and shutdown operations
create spfile
alter database open/mount/backup
archivelog and recovery
includes the restricted session privilege
this privilege allows a user to perform basic operational tasks, but without the ability to look at user data
sys用户具有dba权限,并且拥有sys模式,只能通过sysdba登陆数据库。是oracle数据库中权限最高的帐号
system具有dba权限。但没有sysdba权限。平常一般用该帐号管理数据库就可以了。
2.
(1)sys -- sysdba
system --sysoper
(2)startup/shutdown/dba管理两个都能做
(3)sys拥有数据字典(dictionay),或者说dictionay属于sys schema
(4)sysdba比sysoper多了一个create database的权限
3.
sysdba
perform startup and shutdown operations
alter database: open, mount, back up, or change character set
create database
create spfile
archivelog and recovery
includes the restricted session privilege
effectively, this system privilege allows a user to connect as user sys.
sysoper
perform startup and shutdown operations
create spfile
alter database open/mount/backup
archivelog and recovery
includes the restricted session privilege
this privilege allows a user to perform basic operational tasks, but without the ability to look at user data
上一篇: SQL cursor用法实例
推荐阅读
-
Oracle中sys和system的区别小结
-
mysql 中InnoDB和MyISAM的区别分析小结
-
php中$_REQUEST、$_POST、$_GET的区别和联系小结_PHP
-
Oracle rman中restore和recover的区别
-
浅析Oracle中char和varchar2的区别
-
php中$_REQUEST、$_POST、$_GET的区别和联系小结_php技巧
-
Oracle 中Return 和exit的区别
-
如何找回Oracle中system,sys用户的密码
-
Oracle 中Return 和exit的区别
-
Oracle 中system sys,sysoper sysdba 的区别 oraclecuugocpCOM