Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Replicate: Optimized one-by-one mode after a Redshift SQL apply timeout

Jose_Pena
Employee
Employee

Replicate: Optimized one-by-one mode after a Redshift SQL apply timeout

During periods of high load Redshift may queue workload from users and these users will wait until workload manager allows execution of the query. Also, during periods of high load, CPU may be contended, causing Qlik Replicate tasks to slow down.

Timeout in Qlik Replicate is configured for X seconds (it can be up to 2 hours, depending on the scenario) to avoid timeout. Increasing the timeout will likely not improve the situation. 

When one-by-one mode is applied, the latency on the apply increases. On each occasion when one-by-one is observed, there is a manual intervention to stop the task and then restart it.  Batch mode restarts and the latency is recovered very quickly.

The enhancement is to handle differently TIMEMOUT or BAD CONNECTION in the Qlik Replicate Redshift endpoint, including an internal parameter available for the endpoint called something like “timeout batch retry count:5” and “timeout batch retry interval:300”:

  • When these internal parameters are set in the endpoint for Redshift, the default behavior when a non-data related error such as TIMEOUT or BAD CONNECTION in Redshift is raised that rather than going into one-by-one mode a number of retries are attempted in batch mode.
  • With “timeout batch retry count:5” five attempts would be executed on the batch
  • With “timeout batch retry interval:300” each attempt would wait 300 seconds (5 minutes) before retrying.

This removes manual intervention and provides a more hands-off approach to Replicate in BAU operations mode.  The TIMEOUT and BAD CONNECTION are likely regular occurrences in Redshift and the less hands on for manual work the better as this error will manifest in BAU.

4 Comments
Shelley_Brennan
Former Employee
Former Employee
 
Status changed to: Open - Collecting Feedback
Shelley_Brennan
Former Employee
Former Employee

@Jose_Pena - was Support able to adequately resolve this issue?  Or is this ideation post still relevant?  Thanks!

Jose_Pena
Employee
Employee

Hi @Shelley_Brennan 

I think this ideation post can be closed. An enhancement was implemented in Replicate 7 SP09 to enhance the way Replicate handles connection errors to Redshift.

Thanks!

 

    Jose.

Shelley_Brennan
Former Employee
Former Employee

Archived as support was able to provide a fix that negates the need for this enhancement.

Status changed to: Closed - Archived