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? |
One answer
Ralph Schoon (63.6k●3●36●46)
| answered Jan 14 '14, 3:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. 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
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.
|
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.