Académique Documents
Professionnel Documents
Culture Documents
1
Note: The two features are independent. Baselines are
available on Versioning-enabled projects, as well as on 2
Note: The “Enable versioning” action by itself has no effect
Versioning-disabled projects. on storage consumption. The data is duplicated only when an entity
is changed.
• The requirements, tests, HP QuickTest Professional • Live data percent = Baselined content: This is the
resources, and HP Business Process Testing percentage of entities actually accessed in the
components of HP Quality Center entities benefit last year. It serves as a good estimate for what
from the Versioning and Baseline features; other percentage of entities would be included in libraries
HP Quality Center entities do not support these since they normally consist of only live, recently
features by design. This means that only the storage accessed data. This data will be included in
space used by the entities mentioned above is Baselines later if baselining is also used. Therefore,
expected to grow. The majority of storage space it is also the main parameter affecting Baseline
used by an HP Quality Center project is used by storage growth.
other entities (defects, test runs, and the like), and it • Baseline creation frequency policy: This is the
is not expected to change. organization’s policy regarding how often the
• Only a relatively small percentage of entities are HP Quality Center administrator should create
duplicated, even for the versioned and baselined a Baseline of the libraries in the HP Quality
entities like tests, and the amount of duplication Center project.
corresponds to usage patterns.
The next section elaborates on all of the parameters Calculation examples4
that should be taken into account when estimating Version control
the data growth. • An HP Quality Center project uses 20 GB of storage
size (database and file repository)
Parameters affecting data growth • 30,000 tests, with an average storage size of
• Current storage size used by versioned entities: This 20 KB per test in the HP Quality Center database
is the percentage of the database and file repository and file repository. The current storage size used by
used by versioned entities. The test entity is the most test entities is 30,000*20 KB = 0.6 GB
substantial consumer of storage of all the versioned • Each year, 5,000 additional new tests are created—
entities. The percentage of storage that test entities this is the project’s normal growth rate, which
use out of the total project size determines the amounts to 5,000*20 KB = 0.1 GB
impact of Versioning and Baseline growth on
• Now, the HP Quality Center administrator enables
storage requirements.3
Version Control for the project. (As noted, this action
• Normal growth rate: HP Quality Center projects by itself has no impact on storage consumption)
tend to grow over time, as new entities are constantly
• The average change rate is 2—each test is changed
being added. When measuring the impact of
two times per year on average.
Versioning and Baselines, it is important to consider
this parameter. (Note that if the current practice of • Each year, the HP Quality Center project will grow
keeping the entity’s history is based on copying and an additional 30,000*20 KB*2~= 1.2 GB = 6% of
pasting it once for each generation, and HP Quality 20 GB, on top of its normal growth of 0.1 GB
Center 10.00 Versioning is employed, this “normal” = 0.5% of 20 GB
growth is expected to diminish.)
Baselines
• Average change rate = Additional growth rate in • The live data percent for the same HP Quality Center
a versioned project: This is the average number of project is 50%
times per year an entity is modified by users. This
• The HP Quality Center administrator creates a single
is the main parameter affecting Versioning storage
library that contains all the live data = 50% of the
growth, because with versioned projects the user
tests. The storage used by tests in the library is 50%
must check out the entity in order to edit it. When
of 30,000*20 KB = 0.3 GB
editing is complete, the changes are committed to
the database by checking the entity in, thus creating • The Baseline creation frequency policy is creating a
a new version. Baseline for each library, once a month
• Each year, the HP Quality Center project will grow
an additional 12*0.3 GB = 3.6 GB = 18% of
3
Note: Automation tests such as HP QuickTest Professional Tests and 20 GB, on top of its normal growth of 0.1 GB =
WinRunner Tests use a most of the file repository for storing their
results. Baselines and Versioning do not copy those test results, and only
0.5% of 20 GB
the test scripts are duplicated. Sites with custom test types can also
configure Baselines and Versioning not to copy their results files. See the
HP Quality Center Custom Test Type Guide for further details.
4
See Appendix A for the methods used in obtaining the statistics
2
Current Storage Size Used By Versioned Entities Normal Growth Rate Versioning Growth Baselines Growth
Normal
file- Additional Additional
system file-system file-system
repository Average repository repository
absolute change rate absolute absolute
Current growth of Test entities growth growth
project’s Percent of Normal per year = Additional per year per year
total file- file-system Percent growth attributed growth per attribute Factor of attributed
Current system repository of DB size rate of Test to Test year when to Test growth Live data to Test
project’s total repository used by used by Test entities per entities Versioning is Versioning (Versioning/ percent of Baselines
DB size (GB) size (GB) Test entities entities year (GB) enabled (GB) Noram) Test entities (GB)
Project 1 0.1904883 0.3 46% 14.55% 46.03% 0.1 127.37% 0.2 2.8 47.42% 0.77
Project 2 0.8155823 0.5 52% 3.07% 33.30% 0.1 40.97% 0.1 1.2 25.57% 0.86
Project 3 1.0279312 0.8 51% 2.45% 66.60% 0.3 141.04% 0.6 2.1 52.45% 2.54
Project 4 0.0353012 0.8 47% 18.28% 99.80% 0.4 168.12% 0.6 1.7 50.40% 2.28
Project 5 0.9112473 1.5 91% 5.02% 149.95% 2.0 226.71% 3.0 1.5 100.00% 16.04
Project 6 0.5046387 2.1 88% 27.96% 20.00% 0.4 81.08% 1.5 4.1 34.43% 7.63
Project 7 1.0169043 3.2 5% 4.35% 99.98% 0.2 346.30% 0.6 3.5 51.41% 1.04
Project 8 0.1241504 3.8 26% 4.38% 69.75% 0.7 457.77% 4.5 6.6 63.76% 7.53
Project 9 0.7722473 5.2 2% 15.94% 70.58% 0.1 250.19% 0.3 3.5 65.50% 1.00
Project 10 9.8007736 5.6 80% 0.56% 92.23% 4.1 188.19% 8.4 2.0 53.53% 28.74
Project 11 1.7274805 7.0 2% 21.13% 92.28% 0.2 176.17% 0.3 1.9 73.33% 1.50
Project 12 12.467471 9.9 61% 1.80% 28.59% 1.7 194.04% 11.9 6.8 51.53% 37.77
Project 13 2.1373926 10.1 32% 2.00% 34.31% 1.1 278.56% 9.1 8.1 50.79% 19.83
Project 14 1.8886719 15.7 47% 11.80% 60.00% 4.5 300.21% 22.4 5.0 62.65% 56.06
Project 15 10.046758 17.5 40% 6.56% 36.36% 2.5 153.26% 10.7 4.2 33.42% 28.11
Project 16 3.9500781 18.3 1% 17.12% 21.21% 0.0 55.72% 0.1 2.6 20.91% 0.30
Project 17 5.4873047 24.5 20% 12.77% 23.58% 1.1 81.31% 3.9 3.4 29.16% 16.94
Project 18 1.3234277 27.5 5% 10.46% 57.14% 0.7 169.76% 2.2 3.0 57.16% 8.99
Average 3.0126583 8.5761296 39% 10.01% 61.21% 1.1 190.93% 4.5 3.6 51.30% 13.22
3
Appendix A: Obtaining research Configuring a Separate File System
By default, the file repository used by Versioning
statistics and Baselines is located in two subdirectories of the
The following methods were used to obtain the HP Quality Center project directory:
research statistics:
• baseline: A subdirectory for storing attachments and
• Current project database size: Database specific automated test scripts stored in Baselines
queries on the data dictionary • hist: A subdirectory for storing prior versions
• Current project file repository size: Simple Operating of attachments and automated test scripts in a
System commands Versioning—enabled project
• Percent of file repository used by test entities: HP Quality Center enables the site administrator to
A script was used to traverse the “tests” and “attach” configure the paths to these two subdirectories using
repository folders, aggregate test scripts and the project’s DATACONST table. The configuration is
attachment sizes, and to separate these from performed by defining an alternate path in the DC_
test results VALUE column for the DC_CONST_NAME parameters
• Normal growth rate: A database query on the “hist_directory” and “baselines_directory” (or “unix_
TS_CREATION_DATE column hist_directory” and “unix_baselines_directory” for a
UNIX based file system)5. Note that the paths can be
• Average change rate: A database query on the
specified either relative to the project’s repository path
AUDIT_LOG table
or by specifying an absolute path.
• Live data percent: A database query on the
VER_STAMP column For example, for the “baselines_directory” parameter,
the administrator can specify “E:\mnt01\baseline_
Appendix B: Configuring a separate storage” path. This will result in attachments and test
scripts being stored in E:\mnt01\baseline_storage
file system for versioning and instead of in the default C:\Program Files\HP\Quality
Baseline data Center\repository\qc\ REVISIONS_10\REV3\
As shown above, Versioning and Baselines both baseline location.
impact the file repository storage consumption, by
creating copies of attachments and automated test Appendix C: Purging baseline data
scripts. HP Quality Center allows the administrator HP Quality Center provides limited purging abilities.
to store this data in a file system specifically used for If the HP Quality Center administrator decides that
Versioning and Baselines, separate from the one used data in a certain baseline is obsolete and no longer
for the project repository. This can provide a solution needed, the baseline can be deleted. Deleting the
for the following cases: baseline releases all the storage space it is using,
both in the database and in the file repository. Note
• The file system used for the project file repository
that this action is irreversible, and should be used
is close to its limits (maximum number of files,
with caution.
storage capacity).
• The project file repository uses a high performance
file system, which is costly. The HP Quality 5
Note: The baseline folder cannot be updated after any Baseline has
Center administrator can choose to use a low been created. The hist folder cannot be updated after versioning has been
budget secondary file system since performance enabled for the project.
requirements for Versioning and Baselines data
are lower.
Get connected
www.hp.com/go/getconnected
Get the insider view on tech trends, alerts and
HP solutions for better business outcomes
© Copyright 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to
change without notice. The only warranties for HP products and services are set forth in the express warranty
statements accompanying such products and services. Nothing herein should be construed as constituting an
additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
4AA1-5906ENW, January 2010