Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi @JorgeManrique ,
When 35 million changes are generated, the Qilk Replicate process must first wait for the commit before it can begin applying data. Once the data is received, Qilk Replicate needs to break it down to fit the target table structure. Because such a large transaction arrives all at once, Qlik Replicate will offload changes to disk, which inevitably impacts performance.
In addition, update and delete operations require the target database to locate the relevant records before applying changes, which adds further overhead. This is why applying all the data takes considerable time.
Overall, the latency is likely to be concentrated on the target side. To confirm, you can enable TRACE logging on the PERFORMANCE logger and verify where the delays occur.
Regards,
Desmond
Hi @JorgeManrique ,
I’m not entirely sure what you mean by “compress this data at the source to try to make replication faster.” If your target is a cloud database endpoint such as Snowflake, Qlik Replicate does compress the CSV files before uploading them to the target. For other endpoints like relational databases, Qlik Replicate will implement DML statements directly, without compression.
Qlik Replicate applies changes to the target using DML statements. For example, if a maintenance job performs a very large UPDATE, performance will be impacted because the database must locate and update each record. In terms of replication capacity, I recommend discussing with your DBA to review transaction design and database tuning. You can also enable verbose logging on TARGET_APPLY to see in detail how Qlik Replicate is applying changes to the target.
Regards,
Desmond
Hello @JorgeManrique ,
Qlik Replicate utilizes the IBM DB2 ODBC Driver to transfer data between DB2 Server and DB2 Client, in this case Replicate is the DB2 client. If the ODBC Driver provides the compression functionality then Replicate can gain the advantage from it. Unfortunately it seems the IBM DB2 ODBC Driver does not provide such a capability yet.
thanks,
John.