To keep the RASD from growing indefinitely, you can periodically truncate older versions of its primary database object metadata.
Back up the RASD using rasd_backup before you
truncate it. For more information, see “Backing up the RASD”.
The RASD stores definitions for two types of database objects:
Articles – tables and stored procedures that are marked for replication
Users – database users who apply transactions in the primary database
Use the ra_truncatearticles and ra_truncateusers commands to manage the size of the RASD.
You can truncate the RASD at any time, when the Mirror Replication Agent instance
is in any state.
To truncate older versions of articles in the
RASD
Log in to the Mirror Replication Agent instance with the administrator login.
Use the following command to truncate articles in the RASD:
ra_truncatearticles NNN
where NNN is an LTM Locator value that identifies the oldest non-current version of any article to be kept.
All non-current versions of all articles that are less than the LTM Locator value you specify are truncated from the RASD. If the current (most recent) version of an article is older than the version identified by the LTM Locator value, it is not truncated.
To truncate older versions of users in the RASD
Log in to the Mirror Replication Agent instance with the administrator login.
Use the following command to truncate users in the RASD:
ra_truncateusers NNN
where NNN is an LTM Locator value that identifies the oldest non-current version of any user to be kept.
All non-current versions of all users that are less than the LTM Locator value you specify are truncated from the RASD. If the current (most recent) version of a user is older than the version identified by the LTM Locator value, it is not truncated.