Oracle 视图 ALL_LIBRARIES 官方解释,作用,如何使用详细说明
  iDU31ygkXmx7 2023年11月21日 21 0

本站中文解释

ALL_LIBARIES视图主要显示拥有用户使用特权的库和库之间的关系,包括库的名称,所属用户,库是否可读/可写,库所属的正式组等。ALL_LIBRARIES视图是为了查看当前用户可用的库,也可以理解成用来存储调用存储库的父库的库的一个表。

使用ALL_LIBRARIES视图,可以从Data Dictionary查找库的字典描述及其对象的信息,允许管理者审查、分析和改善数据字典中现有库的状态。

例如,可以使用下面的查询查询当前用户可被查看的所有库:

SELECT library_name FROM all_libraries;

官方英文解释

ALL_LIBRARIES describes the libraries accessible to the current user.

Related Views

  • DBA_LIBRARIES describes all libraries in the database.

  • USER_LIBRARIES describes the libraries owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

NOT NULL

Owner of the library

LIBRARY_NAME

VARCHAR2(128)

NOT NULL

Library name

FILE_SPEC

VARCHAR2(2000)

Operating system file specification associated with the library

DYNAMIC

VARCHAR2(1)

Indicates whether the library is dynamically loadable (Y) or not (N)

STATUS

VARCHAR2(7)

Status of the library:

  • N/A

  • VALID

  • INVALID

AGENT

VARCHAR2(128)

Agent of the library

LEAF_FILENAME

VARCHAR2(2000)

Leaf filename of the library

ORIGIN_CON_ID

VARCHAR2(256)

The ID of the container where the data originates. Possible values include:

  • 0: This value is used for rows in non-CDBs. This value is not used for CDBs.

  • n: This value is used for rows containing data that originate in the container with container ID n (n = 1 if the row originates in root)

See Also:

  • “DBA_LIBRARIES”

  • “USER_LIBRARIES”

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月21日 0

暂无评论

iDU31ygkXmx7