Questions about storing binaries in SCM and as attachments in RTC
We use RTC 5.0.2 with Oracle as the back end DB
We want to do continuous build and store the compiled binaries / libraries as part of streams Are there any disadvantages of storing compiled binaries are part of streams ? Oracle sure can hold bigger data size but I would like to know if there are any disadvantages of storing them in streams. Some time back I read that it is not recommend to store large file sizes as attachments. Both attachments and scm are part of DB so I am curious to know about this Thank you! |
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Jun 03 '15, 4:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should be very, very careful what you store in an SCM system.
Binaries and object files and the like can be stored in Streams. For example the JKE Banking example stores the ECJ compiler in one component. Some customers also want to store other development tools and libraries there. This is acceptable if it changes infrequently. My 2 cent on your case: If you store each build with all binaries in RTC, you will only make the hardware supplier of your hard drives happy. You will fill your database with a lot of data that should not be in there and you will overload your system and make it slow. I would suggest other solutions solutions like an network storage to store the binaries for each build. See: Build Artifacts Publishing Using HTTP Servers in Rational Team Concert and for some ideas. Karthik Krishnan selected this answer as the correct answer
Comments 1
As per the description above, I would not store the binaries in the build results either, but rather refer to them as demonstrated.
Karthik Krishnan
commented Jun 03 '15, 5:23 a.m.
Thanks Ralph.
1
Ralph Schoon
commented Jun 03 '15, 5:49 a.m.
| edited Jun 03 '15, 5:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I understand the reasoning an I wish there was a better answer I could give. I would not try to put them into SCM. I would look into Binary Repository Managers such as Artifactory and Nexus to support the build process.
1
Note, external libraries and the like, where you don't have the source code, would likely be put into SCM, but they change very infrequently. I just don't believe that RTC SCM would handle the load of binaries checked in each time. For source, it can find the delta and store that compressed. There is no way to do that for binaries.
Karthik Krishnan
commented Jun 03 '15, 6:24 a.m.
Thank you Ralph.
1
Binaries can not be merged and behave different in storage. See https://jazz.net/forum/questions/73442/rtc-compression-for-binary-files-vs-clearcase
1
sam detweiler
commented Jun 03 '15, 7:54 a.m.
scm is a lousy place for binaries as noted.
2
sam detweiler
commented Jun 03 '15, 7:57 a.m.
showing 5 of 8
show 3 more comments
|
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.