Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates

Qlik Replicate using MSSQL source holding up the T-log being purged

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
lyka
Support
Support

Qlik Replicate using MSSQL source holding up the T-log being purged

Last Update:

Jun 3, 2022 9:59:18 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 1, 2022 3:14:32 PM

When using MS SQL Server as a source and the endpoint is configured to use "Start transactions in the database" on the Advanced settings > Prevent truncation of unread changes from TLOG, this requires the Log Reader Agent to be running to enable truncation of the Microsoft SQL Server active transaction log.

Note that if the Log Reader Agent is not running, the active log may become full, causing the source database to be essentially "read-only" until the issue is resolved. 

If the log reader job is having issues and the log needs to be cleared up, the following manual 'emergency' procedure can be used so that Replicate will not miss any changes:

  1. Stop the Log Reader SQL server agent job.
  2. Run sp_repldone to mark everything as replicated: exec sp_repldone @xactid = NULL, @xact_seqno = NULL, @numtrans = 0, @time = 0, @reset = 1;
  3. Execute a transaction log backup.

If the log reader job is running without error and the oldest transaction is moving forward then the log should be getting truncated when the backup runs. 

 

Related Content: 

Troubleshoot a Full Transaction Log (SQL Server Error 9002)

Labels (1)
Version history
Last update:
‎2022-06-03 09:59 AM
Updated by: