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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to Implement SCD Type 2 WIthout using Lookup with Target

Hi All,

I want to implement SCD Type 2. Simply i can do with Lookup on Target table. But My Target Table is having huge records. So i think if i will perform lookup on this again performance will become very bad. Because target table is having billions of records.

Is there any way to implement SCD Type 2 without using lookup.

 

Regards,

Vishal Vats

+91-9650236023

Labels (2)
2 Replies
akumar2301
Specialist II
Specialist II

 

My suggestion 

 

1) create a temporary table/file with all active Keys and do lookup on this ( instead of full table) in ( tMap use "store on disk")

2) At output side of tMap , create separate flow for insert and update . use Blukcomponent instead of tDBoutput.

3) check if your table is partitioned ( I assume yes as it has billions of record). if yes work on partition by partition.