Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_REPAIR, 5 of 8
This procedure fixes the corrupt blocks in specified objects based on information in the repair table that was previously generated by the check_object
procedure.
Prior to effecting any change to a block, the block is checked to ensure the block is still corrupt. Corrupt blocks are repaired by marking the block software corrupt. When a repair is effected, the associated row in the repair table is updated with a fix timestamp.
DBMS_REPAIR.FIX_CORRUPT_BLOCKS ( schema_name IN VARCHAR2, object_name IN VARCHAR2, partition_name IN VARCHAR2 DEFAULT NULL, object_type IN BINARY_INTEGER DEFAULT TABLE_OBJECT, repair_table_name IN VARCHAR2 DEFAULT 'REPAIR_TABLE', flags IN BINARY_INTEGER DEFAULT NULL, fix_count OUT BINARY_INTEGER);
Parameter | Description |
---|---|
schema_name |
Schema name. |
object_name |
Name of the object with corrupt blocks to be fixed. |
partition_name |
Partition or subpartition name to be processed.
If this is a partitioned object, and if |
object_type |
Type of the object to be processed. This must be either See "Enumeration Types". |
repair_table_name |
Name of the repair table with the repair directives.
Must exist in the |
flags |
Reserved for future use. |
fix_count |
Number of blocks fixed. |
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|