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

How to empty space from the DB2 integrated RTC by deleting stream.

While deleting stream from the RTC what has been observed is that the DB2 space occupied by the stream in DB2 remains the same.Going through tech-note i found by deleting the stream we just delete the reference ,actual content still remains in the DB2.

Is there any way to clean up the database when we delete the stream?


0 votes



One answer

Permanent link
The stream itself only contains the configuration of which change sets are selected in the stream. If you delete a stream, only this information is deleted. all the information about the change sets will remain in the database and you could easily recreate the stream e.g. from a snapshot.

Even if the amount of data was bigger, I doubt the DB size would really get smaller. I would assume the size would remain because the DB has this size already allocated, but it would now have the space free for other data.

0 votes

Comments

You can delete individual file versions e.g. big binaries: https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/t_scm_eclipse_delete_file.html

But I am not aware of any means to delete all data (change sets/file versions) in a stream at once.

Thanks Ralph, but this will delete only single version,where as my requirement is to delete the migrated stream and its whole content so as to maintain the sanity of database.

I don't think there is anything that is supposed to do that built in. An SCM system is usually designed to not loose data, because that is bad.

Please be aware, that change sets are shared between streams and workspaces. If you have the same components in one stream and delete all the contained change sets, there is a good chance that you are also deleting all or most of the data of the other stream(s) and render you whole work obsolete.

You can probably look at the SCM commandline or into the API for potential automation if you think you know the consequences, but I would suggest to not try this.

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

Question asked: Jan 14 '14, 3:35 a.m.

Question was seen: 3,505 times

Last updated: Jan 14 '14, 5:01 a.m.

Confirmation Cancel Confirm