It's all about the answers!

Ask a question

Performance of ClearCase Version Importer

Daniel Chirillo (1801723) | asked May 31 '14, 12:44 p.m.
I'm working with a customer who is using the RTC 4.0.6 ClearCase version importer to export 9 GB of data from a (base) ClearCase ( VOB. He's been watching the log file and it's seeming to take about 1 minute per element.  Does anyone know if this metric is within the 'expected/normal' range?  Here's what he sees at the command line (after about 5 hours):

C:\Program Files (x86)\IBM\ClearCaseSynchronizer\ccctools\eclipse>ccc export ccase -i M:\E0089660_view3\EPS -d C:\000\eps_vob_export

2014-05-30 08:38:33,812  INFO Starting to export data from Rational ClearCase view "E0089660_view3". The details are logged in "C:\000\eps_vob_export\logs\exportCCase.2014-05-30T08.38.21.log".
2014-05-30 09:33:46,939  INFO Exported 1000 versions.
2014-05-30 12:18:58,968  INFO Exported 2000 versions.
2014-05-30 14:43:05,462  INFO Exported 3000 versions.

3 answers

permanent link
Masabumi koinuma (46115) | answered May 31 '14, 2:59 p.m.
The reference performance measurement is available at this page:
The export command runs from 0.3 ~ 3.6 seconds per version ( not per element ).
Note that the performance of the export command depends on how *warm* the cleartext cache is.

Also, it may be good idea to try RTC 5.0 RC1 spin as well because the importer's performance has been improved in 5.0 M3 :

permanent link
Jason Quinn (11) | answered Jun 03 '14, 2:16 p.m.


The export completed with errors about cyclic dependencies in ClearCase.  Since it's 9GB of data, I would like to get an idea of what is going to happen before we launch the import.  Will these elements be skipped? 

Thank you.

Masabumi koinuma commented Jun 03 '14, 10:55 p.m. | edited Jun 03 '14, 10:57 p.m.

Hi Jason,

There's two options for you - one is just run the import command and you still see versions of the file imported, but some of the merge hyperlinks are not imported to the RTC ( because RTC SCM does not allow cyclic dependency).

Another option is a bit complicated but something like this:
- open the log file that points out the cause of cyclic dependency. Go to clearcase vtree and remove the hyperlink that causes cyclic dependency
- make a backup copy of exported data
- run skipElement command to remove the element from the exported data, which reports the cyclic dependency
- run exactly the same export command again with the same data directory, which resumes the export operation, and fill up the element in the exported data. Make sure the version count in the statistics at the end is not zero.
- run the import command.

permanent link
Jason Quinn (11) | answered Jun 04 '14, 6:42 p.m.

We are looking at the user mapping and there's a reference here that says that we can change the user mapping after import but the "For more information" link seems to indicate that the mapping is only done at import.

Can you please confirm that post-import mapping is possible and provide the steps to do it?

Masabumi koinuma commented Jun 05 '14, 1:46 a.m.

Sigh, the document page has to be fixed. You have to edit the mapping file before you run the import command.

Masabumi koinuma commented Jun 05 '14, 2:55 p.m.

Your answer

Register or 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.