Automatic Cleanup of the Transaction Stores
As the size of the transaction store increases, you should consider creating a flow service that periodically purges the store of transactions that are no longer needed.
![*](chapterTOC_bullet.png)
To clean up a local Transaction Store, configure the flow service on each adapter.
![*](chapterTOC_bullet.png)
To clean up a Centralized Transaction Store or a Shared Transaction Store, configure the flow service on only one of the adapters for SAP in the adapter group. For best performance this should be
Adapter for SAP that is the CTS server.
![*](icon_task_xpe.png)
To purge certain transactions from the transaction store periodically
1. In Digital Event Services, create a flow service that invokes the pub.sap.transaction:sweep service.
2. Pass the following parameters to the sweep service using the Set Value modifier in the pipeline.
For this parameter… | Specify… |
state | The transaction state. |
elapsedTime | The number of minutes that the transaction has been in status state. |
maxTrxCount | The maximum number of transactions to delete each time that pub.sap.transaction:sweep runs. |
For information about the
sweep service, see
pub.sap.transaction:sweep.
3. In the IS Administrator UI go to Server > Scheduler and schedule this flow service to run periodically.