zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

Oracle 视图 V$PWFILE_USERS 官方解释,作用,如何使用详细说明

Oracle官方 使用 如何 详细 作用 说明 解释
2023-06-13 09:11:19 时间
本站中文解释

Oracle视图V$PWFILE_USERS用于查询pwfile中的用户记录。它用于显示 Oracle 数据库中所有有外部密码文件认证的用户。该视图可以为管理员提供有关用户认证的关键信息,例如密码文件中存在哪些用户,以及每个用户是否正处于OPEN状态。

在使用Oracle视图V$PWFILE_USERS之前,首先需要启用外部身份验证。 使用ALTER SYSTEMSET 配置参数REMOTE_LOGIN_passwordfile = EXCLUSIVE :

SQL ALTER SYSTEM SET REMOTE_LOGIN_passwordfile = EXCLUSIVE

接着,可以使用以下SQL语句查询V$PWFILE_USERS视图:

SQL SELECT * FROM V$PWFILE_USERS;

此查询语句将产生以下结果:

USERNAME STATUS

User1 OPEN
User2 OPEN
User3 OPEN

官方英文解释

V$PWFILE_USERS lists all users in the password file, and indicates whether the user has been granted the SYSDBA, SYSOPER, SYSASM, SYSBACKUP, SYSDG, and SYSKM privileges.


Indicates whether the user can connect with SYSDBA privileges (TRUE) or not (FALSE)


Indicates whether the user can connect with SYSOPER privileges (TRUE) or not (FALSE)


Indicates whether the user can connect with SYSASM privileges (TRUE) or not (FALSE)


Indicates whether the user can connect with SYSBACKUP privileges (TRUE) or not (FALSE)


Indicates whether the user can connect with SYSDG privileges (TRUE) or not (FALSE)


Indicates whether the user can connect with SYSKM privileges (TRUE) or not (FALSE)


This column has a value of YES if an administrative privilege (for example, SYSDBA) was granted with CONTAINER=ALL. Otherwise, the column has a value of NO.


Shows the list of versions of the password hashes (also known as verifiers ) existing for the account.

The values for this column can include:


Note that any combination of these verifiers can exist for any given account.


0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 V$PWFILE_USERS 官方解释,作用,如何使用详细说明