Truncates older versions of primary database articles in the system data repository in the RASD.
ra_truncatearticles locator
The log locator value (LTM Locator) that identifies the cutoff point for truncating older versions of articles from the system data repository.
When ra_truncatearticles is invoked, it truncates all non-current versions of all primary database articles in the system data repository older than the version identified by the locator value.
If the current (most recent) version of an article is older than the version identified by the locator value, it is not truncated.
Most common data definition language (DDL) commands and stored procedures executed in the primary database (such as alter table) are recorded in the transaction log, and replicated to the standby database. When it processes those DDL transactions for replication, Mirror Replication Agent updates its RASD automatically, creating a new version of the affected primary database article(s).
Use ra_truncatearticles as part of a periodic maintenance procedure to prevent the RASD from growing indefinitely. See “Maintaining the Replication Agent System Database” for more information.
You should back up the RASD using rasd_backup before you truncate it. See “Backing up the RASD” for more information.
The ra_truncatearticles command is valid when the Mirror Replication Agent instance is in either Admin or Replicating state.