Oracle 视图 V$DELETED_OBJECT 官方解释,作用,如何使用详细说明
本站中文解释
V$DELETED_OBJECT视图可以查看在当前实例中被删除,但尚未完成清除的对象信息,表示它们仍在datafile中存在着。
V$DELETED_OBJECT的可查看的信息有:
OBJ# : 删除的对象的编号;
TYPE : 删除的对象的类型;
NAME:删除的对象的名称;
OWNER: 删除的对象的拥有者;
ASHINGTON: 删除的对象的以8位的数字形式表示的时间戳下的表格状态;
CREATED: 创建的对象的状态;
DROPPED: 删除的对象的状态;
SPACE: 删除的对象在数据文件中占用的空间;
TS#: 删除的对象所属的文件号;
RLM: 删除的对象的Free-list上的范围;
EXTENTS: 删除的对象向后扩展出多少段;
SEG#: 删除的对象在datafile中直接分配给它的物理地址。
如何使用:
我们可以使用SQL查询语句来访问V$DELETED_OBJECT这个视图。例如,以下语句可用于查看当前实例中被删除的所有表:
SELECT * FROM V$DELETED_OBJECT WHERE OBJECT_TYPE = ‘TABLE’;
官方英文解释
V$DELETED_OBJECT
displays information about deleted archived logs, data file copies and backup pieces from the control file.
The only purpose of this view is to optimize the recovery catalog resync operation. When an archived log, data file copy, or backup piece is deleted, the corresponding record is marked deleted.
Column | Datatype | Description |
---|---|---|
|
|
Deleted object record ID |
|
|
Deleted object record stamp |
|
|
Identifies the type of deleted object:
|
|
|
Record ID of the deleted object |
|
|
Record timestamp of the deleted object |
|
|
Displays additional internal information related to this deleted object. For internal Oracle use only. |
|
|
Set stamp of the deleted object |
|
|
Set count of the deleted object |
|
|
The ID of the container to which the data pertains. Possible values include:
|