Sybase Replication Agent provides features for both automatic and manual log truncation.
Replication Agent provides two options for automatic transaction log truncation:
Periodic truncation, based on a time interval you specify
Automatic truncation whenever Replication Agent receives a new LTM Locator value from the primary Replication Server
You also have the option to switch off automatic log truncation. By default, automatic log truncation is switched off.
You can specify the automatic truncation option you want (including none) by using the ra_config command to set the value of the truncation_type configuration parameter.
If you want to truncate the transaction log automatically based on a time interval, use the ra_config command to set the value of the truncation_interval configuration parameter.
You can truncate the Replication Agent transaction log manually, at any time, by invoking the pdb_truncate_xlog command at the Replication Agent administration port.
If you want to truncate the transaction log at a specific time, you can use a scheduler utility to execute the pdb_truncate_xlog command automatically.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |