首页 >  资讯 >  详情

restricted view_restricted

2023-04-25 15:00:05来源:互联网


(资料图片)

1、数据库受限模式,在这个模式下只有RESTRICTED SESSION 权限的人才可以登陆,一般用与数据库维护的时候使用。

2、RESTRICTED SESSION ClauseThe RESTRICTED SESSION clause lets you restrict logon to Oracle.You can use this clause regardless of whether your instance has the databasedismounted or mounted, open or closed.Restricting Session Logons: Example You may want to restrict logons if you areperforming application maintenance and you want only application developerswith RESTRICTED SESSION system privilege to log on. To restrict logons, issue thefollowing statement:ALTER SYSTEMENABLE RESTRICTED SESSION;You can then terminate any existing sessions using the KILL SESSION clause of theALTER SYSTEM statement.After performing maintenance on your application, issue the following statement toallow any user with CREATE SESSION system privilege to log on:ALTER SYSTEMDISABLE RESTRICTED SESSION;转载,仅供参考。

本文为大家分享到这里,希望小伙伴们有帮助。

关键词:

[ 相关文章 ]

[ 相关新闻 ]