The CLEANUP utility physically erases logically deleted records from all or some areas in a database segment.
The CLEANUP utility works only with non-SQL-defined databases.
Authorization
|
To |
You need this privilege |
On |
|---|---|---|
|
Clean up an area |
DBAWRITE |
The area |
|
Clean up a segment |
DBAWRITE |
All areas within the segment |
►►─── CLEANUP SEGMENT segment-name ───────────────────────────────────────────► ►─── USING subschema-name ───────────────────────────────────────────────────► ►─┬─────────────────────────┬────────────────────────────────────────────────►◄ │ ┌──────,──────┐ │ └─ AREA ──▼─ area-name ─┴─┘
Specifies the segment containing the areas to be processed.
The name of the segment.
Specifies a subschema that describes all the sets, records, and areas that are related to the logically deleted records being processed.
The name of the subschema.
Specifies one or more areas within the segment to process.
By default, if you do not specify any areas, all areas in the specified segment are processed.
The name of an area within the specified segment.
|
Copyright © 2014 CA.
All rights reserved.
|
|