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. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access