Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Scrubbing the data warehouse (DCC) database

Is there a way to delete data warehouse entries in the DCC database older than a defined age, maybe older than two years?

We have the data warehouse in place since seven years or so anrd it is still growing, holding sprint metrics from 2014 no one cares about.
Or is there any enhancement request regarding this topic?

I've read the workaround of killing the tables and to force a re-index, as this will analyze only the data of the last two years, but based on the amount of data it is no option for us.

greetings georg.

0 votes



One answer

Permanent link
When Insight was supported, it came with a data warehouse pruning tool that did exactly what you're looking for. I'm not sure how this is released now that Insight is no longer available though.


-bash-4.1$ cd /opt/IBM/RRDI/setup/tool/dw_pruning/
-bash-4.1$ ./pruneDataMart.sh
./pruneDataMart.sh <dbserver> <dbport> <dbname> <dbtype> <dbuser> <dbpassword> <pruneBeforeDate>
./pruneDataMart.sh <dbserver> <dbport> <dbname> <dbtype> <dbuser> <dbpassword> <pruneBeforeDate> <generate report>

DB2 LUW e.g ./pruneDataMart.sh localhost 50000 RIDW DB2 db2admin mypassword "2008-12-31"
DB2 LUW e.g ./pruneDataMart.sh localhost 50000 RIDW DB2 db2admin mypassword "2008-12-31" report

Oracle e.g ./pruneDataMart.sh localhost 1521 RIDW Oracle ora_dba mypassword "2008-12-31"
Oracle e.g ./pruneDataMart.sh localhost 1521 RIDW Oracle ora_dba mypassword "2008-12-31" report

DB2AS400 e.g ./pruneDataMart.sh localhost 446 RIDW DB2AS400 db2admin mypassword "2008-12-31"
DB2AS400 e.g ./pruneDataMart.sh localhost 446 RIDW DB2AS400 db2admin mypassword "2008-12-31" report

DB2Z e.g ./pruneDataMart.sh localhost 3500 RIDW DB2Z db2admin mypassword "2008-12-31"
DB2Z e.g ./pruneDataMart.sh localhost 3500 RIDW DB2Z db2admin mypassword "2008-12-31" report

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,608

Question asked: Feb 03 '20, 5:24 a.m.

Question was seen: 2,116 times

Last updated: Feb 17 '20, 10:34 a.m.

Confirmation Cancel Confirm