Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

Interval Match taking up too much memory

Hi all,

I used Henric's Interval match method without joins, but my event table has 1 million rows and my date table has 400,000 rows. As a result, during load 70 million intervals were generated. After the load is done, the application hangs (not enough memory). This is my data model below:

IntervalMatch.PNG

Is there a way round this? I don't actually need the intervals to stay in the load. My event table has a numeric CUSTNO, and I need to map the NAME linked to that CUSTNO. However, a single CUSTNO is linked to different NAMEs at different periods.

My dates table:

 

CUSTNONAMEFROM_DATETO_DATE
15431Bank A2015014499999999
87438Bank B2014010120150104

My fact table (and the NAME values that I need mapped):

   

CUSTNOEVENTMSG_DATE_NUMNAME VALUE THAT I NEED
15431AAAA20140801Bank C
15431BBBB20150201Bank A

Is there a way to get rid of the whole intervals and just get the NAME values I need? Otherwise, my QlikView is hanging. Thanks.

1 Solution

Accepted Solutions
danieloberbilli
Specialist II
Specialist II

Have a look at this document IntervalMatch and Slowly Changing Dimensions : https://community.qlik.com/docs/DOC-4310

There are concepts of how to get rid of the bridgetable and how to join to the fact table

View solution in original post

2 Replies
danieloberbilli
Specialist II
Specialist II

Have a look at this document IntervalMatch and Slowly Changing Dimensions : https://community.qlik.com/docs/DOC-4310

There are concepts of how to get rid of the bridgetable and how to join to the fact table

sifatnabil
Specialist
Specialist
Author

Thanks for the resources. The issue was on my end where I had far too many open intervals that were completely unnecessary.