Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_SPACE_ADMIN, 4 of 13
This procedure drops a segment currently marked corrupt (without reclaiming space). For this to work, the segment should have been marked temporary. To mark a corrupt segment as temporary, issue a DROP
command on the segment.
The space for the segment is not released, and it must be fixed by using the TABLESPACE_FIX_BITMAPS
or TABLESPACE_REBUILD_BITMAPS
procedure. These are described later in this chapter.
DBMS_SPACE_ADMIN.SEGMENT_DROP_CORRUPT ( tablespace_name IN VARCHAR2, header_relative_file IN POSITIVE, header_block IN POSITIVE);
Parameter | Description |
---|---|
tablespace_name |
Name of tablespace in which segment resides. |
header_relative_file |
Relative file number of segment header. |
header_block |
Block number of segment header. |
EXECUTE DBMS_SPACE_ADMIN.SEGMENT_DROP_CORRUPT('USERS', 4, 33);
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|