OracleSYS用户无法设置session级别的readonly

官方文档参考:
SYSDBA is used internally in the Oracle database and has specialized functions. Its behavior is not the same as for generalized users. For example, the SYS user cannot do a transaction level consistent read (read-only transaction). Queries by SYS will return changes made during the transaction even if SYS has set the transaction to be READ ONLY.  Therefore export parameters like CONSISTENT, OBJECT_CONSISTENT, FLASHBACK_SCN, and FLASHBACK_TIME cannot be used.

进行Oracle事务相关的实验时,要尽量使用普通用户,因为很多事务级别的设置,对于sqlplus / as sysdba连入方式无法获得正确的结果。
如果想给用户获取数据字典以方便实验的目的可给用户赋予如下权限:
GRANT CONNECT,RESOURCE,SELECT ANY DICTIONARY,SELECT ANY TABLE TO TUSER;



参考:How To Connect As SYSDBA When Using Export Or Import (文档 ID 277237.1)

当前名称:OracleSYS用户无法设置session级别的readonly
本文来源:https://www.cdcxhl.com/article24/iihije.html

成都网站建设公司_创新互联,为您提供网站营销品牌网站设计电子商务网站导航网页设计公司微信公众号

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都seo排名网站优化