Name
DBMS_REPCAT.PURGE_STATISTICS
Synopsis
If you are collecting conflict resolution statistics, you can purge this information periodically using the PURGE_STATISTICS procedure. This procedure removes records from the DBA_REPRESOLUTION.STATISTICS data dictionary view. Records may be specified by data range.
PROCEDURE DBMS_REPCAT.PURGE_STATISTICS
(sname IN VARCHAR2,
oname IN VARCHAR2,
start_date IN DATE,
end_date IN DATE);To clear all entries in DBA_REPRESOLUTION_STATISTICS, set the start_date and end_date parameters to NULL.
There are no restrictions on calling PURGE_STATISTICS.
Parameters
Parameter Name | Description |
|---|---|
sname | Name of the schema that owns oname. |
oname | Table whose conflict resolution statistics are to be deleted. |
start_date | Beginning of date range for which statistics are to be deleted. If NULL, all entries less than end_date are deleted. |
end_date | End of date range for which statistics are to be deleted. If NULL, all entries greater than end_date are deleted. |
Exceptions
Exception Name | Number | Description |
|---|---|---|
missingobject | –23308 | Object oname does not exist. |
missingschema | –23306 | Schema sname does not exist. |