Oracle 视图 V$ACCESS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$ACCESS是一种动态运行时表,主要报告一些具有访问权限的模式对象。
一般情况下,V$ACCESS视图用于报告连接到数据库实例的某个会话是否具有对用户模式下某个对象的访问权限。V$ACCESS视图提供7列信息,分别是OBJ_OWNER,OBJ_NAME,GRANTEE,GRANTEETYPE,PRIVILEGE,GRANTABLE和AUTHENTICATOR。
如何使用:
要查询V$ACCESS视图,首先要连接到数据库实例,然后运行如下命令:
SELECT OWNER, OBJECT_NAME, PRIVILEGES, GRANTABLE FROM V$ACCESS;
该命令会返回一个表,报告连接到数据库实例的会话具有哪些可访问的模式对象,包括模式权限,是否可授予他人等信息。
官方英文解释
V$ACCESS
displays information about locks that are currently imposed on library cache objects.
The locks are imposed to ensure that they are not aged out of the library cache while they are required for SQL execution.
Column | Datatype | Description |
---|---|---|
|
|
Session number that is accessing an object |
|
|
Owner of the object |
|
|
Name of the object |
|
|
Type identifier for the object |
|
|
The ID of the container to which the data pertains. Possible values include:
|