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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
SUJITH123
Contributor II
Contributor II

Data Purging with Qlik compose or Qlik Replica

Hi How can we do Data Purging with Qlik Replicate or Qlik compose, we only required data for the last 3 year , rest of the data needs to get deleted, Can we automate the process specified to some date value

Labels (1)
1 Solution

Accepted Solutions
shashi_holla
Support
Support

@SUJITH123 

We can create Post Loading ETL scripts in Compose DataMart and provide the delete statements to delete records which are older than 1095 days.

Thank you,

View solution in original post

5 Replies
john_wang
Support
Support

Hello @SUJITH123 ,

Thanks for you opening the article.

Not very sure in which stage you want to apply the filter, you may define the filter on table level or global level (acts for all tables) during the data replication , in both Full Load stage and/or CDC stage.

However if the data loaded into target database already and you just want to do housekeeping jobs then you need not Replicate as it's a pure DBA or SQL operations.

Hope this helps.

Regards,

John.

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

Thank you John !

we were trying to  purge data from the Data Mart level, as you mentioned ,not sure if  it is possible with Qlik compose .our Target is loaded with data and we want it to be like ,the data for the last 3 year and rest needs to get delete. 

For this scenario is it like pure DBA or SQL operations ? or do we have any other options in the Qlik compose level

SUJITH123
Contributor II
Contributor II
Author

Like After every day the data get refreshed automatically and only maintain the last 3 year data

shashi_holla
Support
Support

@SUJITH123 

We can create Post Loading ETL scripts in Compose DataMart and provide the delete statements to delete records which are older than 1095 days.

Thank you,

SUJITH123
Contributor II
Contributor II
Author

Thank you John!!