The FREETEMPORARY procedure is used to release temporary BLOB or CLOB objects in the default temporary tablespace.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_LOB.FREETEMPORARY (
lob_loc IN OUT NOCOPY BLOB);
DBMS_LOB.FREETEMPORARY (
lob_loc IN OUT NOCOPY CLOB CHARACTER SET ANY_CS);
Parameters
| Parameter | Description |
|---|---|
| lob_loc | The locator of the LOB object. For more information, see Use DBMS_LOB. |
Considerations
A new temporary
LOBsegment is created when a new temporaryLOBobject is created and there are no temporaryLOBobjects with the same duration (session or call) currently existing. After the temporaryLOBis released, the space it consumed is released to the temporary segment. If there are no other temporaryLOBobjects with the same duration, the temporary segment is also released.After you call
FREETEMPORARY, the releasedLOBlocator is marked as invalid.
