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

Announcements
Data Works for AI is here - Join the discussion and enter to win a pair of Qlik kicks: Join the Conversation!
cancel
Showing results for 
Search instead for 
Did you mean: 
iti-attunity-sup
Partner - Creator III
Partner - Creator III

[Qlik Replicate] About performance of "R4I UDTF"

Source : DB2 for i Series

Hello support team.

I'd like to know difference in performance between display_journal and R4I UDTF.
If using R4I UDTF how much will performance improve from using display_journal.

Assume that change data output by 20MB/s.

Best regards.

Labels (2)
1 Solution

Accepted Solutions
DesmondWOO
Support
Support

Hi @iti-attunity-sup ,

For DISPLAY_JOURNAL, it retrieves a broader range of journal entries first, and then filters them using SQL WHERE clauses. In contrast, R4I UDTF performs filtering at the source level before generating the result set. This explains why R4I UDTF delivers much better performance.

However, it is hard to quantify the exact performance improvement because it depends on the distribution of changes. For example, if we only need to retrieve 1 target record out of 1 million total journal changes, R4I UDTF will be significantly faster since it eliminates the massive overhead of checking those 1 million records through SQL clauses.

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

3 Replies
DesmondWOO
Support
Support

Hi @iti-attunity-sup ,

For DISPLAY_JOURNAL, it retrieves a broader range of journal entries first, and then filters them using SQL WHERE clauses. In contrast, R4I UDTF performs filtering at the source level before generating the result set. This explains why R4I UDTF delivers much better performance.

However, it is hard to quantify the exact performance improvement because it depends on the distribution of changes. For example, if we only need to retrieve 1 target record out of 1 million total journal changes, R4I UDTF will be significantly faster since it eliminates the massive overhead of checking those 1 million records through SQL clauses.

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
iti-attunity-sup
Partner - Creator III
Partner - Creator III
Author

Hello Desmond.

Thank you for your reply.

Does "R4I UDTF" use QjoRetrieveJournalEntries API ?

Best regards.

DesmondWOO
Support
Support

Hi @iti-attunity-sup ,

Based on a review of previous support case regarding this architecture, yes, that is correct.

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!