How can you calculate the size of a StarTeam project after a VSS wrap and native conversion has been carried out?

0 Likes

Problem:

How can you calculate the size of a StarTeam project after a VSS wrap and native conversion has been carried out?

Resolution:


  • Product Name: StarTeam
  • Product Version: 2005 R2
  • Product Component: VSS to StarTeam Migration
  • Platform/OS Version: Windows

Firstly when a VSS wrap to StarTeam occurs it will not use a generic compression rate.

When you wrap a VSS database to StarTeam, all files of a certain size will be compressed and stored as a .gz file in the StarTeam Archive. The compression rate is not always the same and differs according to file type and file size. Some files will be compressed by 10 times the size of the physical file whilst others the compression rate may be 3-5 times the file size.

For example:

To find out how big a 1 GB VSS database will be shrunk to, please check out the following:

  1. Assume you are sending the VSS data to the default Archive of the StarTeam project. This will reside at C:\Program Files\Borland\StarTeam Server 2005 R2\Samples\StarDraw Repository\StarDraw\Archives
  2. Before you perform the wrap go to C:\Program Files\Borland\StarTeam Server 2005 R2\Samples\StarDraw Repository\StarDraw and right-click the Archives folder and select properties. Note the size of the folder
  3. Do the VSS wrap to StarTeam. This will synchronize all the files and compress to disk in the Archives folder.
  4. Go back to the Archives folder and check the size of the folder. Now subtract the original size of the folder from the new size and the remaining figure will be the size the VSS data compressed to the StarTeam repository.

Note: Ensure that no other StarTeam users are committing files to disk as this will skew the figure.


Old KB# 27618
Comment List
Related
Recommended