TWiki > Deployment Web > DeploymentPlanningAndDesign > PerformanceDatasheetsAndSizingGuidelines > DOORSNext730PerformanceEnhancementsReport
Revision 22 - 2026-12-01 - 06:10:15 - HarshivPatel

DOORS Next 7.3.0 Performance Enhancements Report

Authors: SameerkumarKalaria, JayrajsinhGohil, HarshivePatel, PriyankaKarande
Build basis: IBM Engineering Lifecycle Management (ELM) 7.3.0

Introduction

IBM Engineering Requirements Management (RM) DOORS Next (ERM) in ELM 7.3.0 includes a set of performance improvements aimed at customers who operate very large repositories with many streams and baselines. This article presents the performance test results for the following three enhancements:

  1. Archive configuration performance (Tracked Resource Set (TRS) update improvement): Archiving a stream or baseline in a large repository previously took many hours because of the work needed to update the TRS. ELM 7.3.0 reduces that cost and adds an optional property that reduces it much further. For more information, see the documentation on improving TRS performance during configuration archive.
  2. Materialize baselines for faster baseline performance: Large customers can see slow view queries in baseline contexts. ELM 7.3.0 lets administrators materialize selected local baselines so that view queries against them can use the faster access path used for local streams. For more information, see the documentation on materializing and dematerializing baselines.
  3. View performance enhancement: Views in baselines are designed to load faster because ERM now retrieves the data for them more efficiently. This applies to both Oracle and Db2. The enhancement combines three changes: link queries use a Global Temporary Table (GTT), optimizer hints that produced poor execution plans in large configurations were removed, and materialization (item 2). A GTT is a database table that holds temporary data for the current database session only. The data is removed when the session or transaction ends.

Each enhancement is covered in its own section, with its own test methodology and results. Information that applies to all of them (disclaimer, key findings and abbreviations) is collected in the shared sections at the beginning and end of the article. The test environment is described inside each section.

The repositories this article is aimed at have baselines of approximately 1 million to 5 million artifacts. These figures are approximate and are not an official IBM classification.

Standard Disclaimer

The information in this document is distributed AS IS. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customer’s ability to evaluate and integrate them into the customer’s operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will be obtained elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. Any pointers in this publication to external Web sites are provided for convenience only and do not in any manner serve as an endorsement of these Web sites. Any performance data contained in this document was determined in a controlled environment, and therefore, the results that may be obtained in other operating environments may vary significantly. Users of this document should verify the applicable data for their specific environment.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multi-programming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.

This testing was done as a way to compare and characterize the differences in performance between the existing behavior and the new behavior introduced in ELM 7.3.0 for ERM. The results shown here should be evaluated as comparative performance guidance rather than as an absolute benchmark or service level agreement (SLA) for all customer environments.


Key Findings

The performance testing of the ERM enhancements in ELM 7.3.0 produced the following key conclusions.

EnhancementAreaKey finding
Improvements in configuration archiving:Total archive time:In this test, a stream of approximately 1 million artifacts was archived together with its five baselines, six configurations in total. With the advanced property set to false, the total archive time in ELM 7.3.0 dropped from ~12h 08m to ~4h 35m on Oracle (~2.65x faster, ~62% less time) and from ~24h to ~3.7h on Db2 (~6.5x faster, ~85% less time).
Materialize baselines for faster baseline performance:What it does and when it helps:Materialization lets a local baseline be queried like a stream, with simpler filtering on the current versions, and filters out unnecessary versions so the baseline is smaller. For streams with more than 5 million versions in their version history (tested with 10,000 and 50,000 artifacts), the materialized baseline held about 1.4% to 2.9% of the stream's rows. A stream with no added history gets no size reduction.
Materialization:Baseline size is the main factor in how long it takes.
  • Under load (Oracle): The 5M baselines took 2 hr 36 min to 3 hr 50 min, the 1M baselines 30 to 52 minutes, and the 500K baselines 4 to 29 minutes.
  • Without load test: The 1M baseline with no added history took 5 min 7 sec on Oracle and 32 min 20 sec on Db2. For 50,000 artifacts and ~50M state changes, Oracle took 1 hr 12 min 30 sec and Db2 took 48 min 40 sec.
Dematerialization:
  • Under load (Oracle), much slower than materialization: The 5M baselines took 13 hr 53 min to 16 hr 19 min, and the 1M baselines about 4 hours. Plan for this when scheduling it on large repositories.
  • Without load test: The 1M baseline took 4 min 22 sec on Oracle and 4 min 30 sec on Db2.
Impact on the system (Oracle, with a 100, 300 or 500 user load test running):The load tests were designed to measure the impact of materialization on normal ERM activity under concurrent user load, not the impact of user load on materialization. Disk was the stressed resource. Materializing the 5M baselines added 4 to 42 percentage points of average disk busy, and CPU stayed low (average 4 to 22%). Average page response time of the background workload rose in eight of nine materialization runs. IBM recommends scheduling materialization outside peak working hours.
Recommended settings for large baselines:Use an insert batch size of 10,000 and a Version table Java thread pool size of 20. The 7.3 defaults (1,000 and 30) are unchanged for general workloads.
View performance enhancement (GTT usage, optimizer hint removal and materialization):What it does and its benefits:Three changes work together to make view queries in baselines faster.
  • GTT usage: Link query execution goes through a GTT, which makes execution plans more stable across configuration sizes.
  • Hint removal: Optimizer hints that produced poor plans in large configurations were removed, so the database engine can choose better plans on its own.
  • Materialization: A view on a materialized baseline applies simple predicates on the current versions, over a smaller set of rows, instead of checking all the baseline's versions and timestamps.
Benefit: In the tests, view queries in a materialized baseline were faster than in the Initial Stream for more than half of the tested view runs on both databases (67.6% on Oracle and 54.8% on Db2).
Results (Initial Stream compared with the materialized baseline):GTT usage and hint removal apply to both the Initial Stream and the materialized baseline in these tests, so the comparison shows what materialization adds on top of them.
  • Oracle: 145 views were each run as 2 users (jazz admin and jazz user), which gives 290 view runs. The materialized baseline (MB) was faster than the Initial Stream (IS) for 67.6% of the view runs, and the Initial Stream was faster for 32.4%.
  • Db2: The same 290 view runs were tested. MB was faster for 54.8% of the view runs and IS was faster for 45.2%. MB also removed all 32 timeout failures that were reproducible on IS, with no new timeouts.
  • Not every view is faster on the materialized baseline: With GTT usage and hint removal in place on both, about 1 in 3 view runs on Oracle, and nearly half on Db2, were still faster on the Initial Stream than on the materialized baseline. The comparison is against the Initial Stream, not against a non-materialized baseline. Whether a view is faster depends on the SQL join order and on the join between the table and the predicates in the view's query. The tests measured how many view runs were faster, not how much slower the others were.


Business Impact

The figures below come from the test results in this article. They were measured in a controlled test environment, so results in other environments may differ.

  • Archiving large configurations takes less time. Archiving a stream of approximately 1 million artifacts together with its five baselines (six configurations in total) took about 4 hr 35 min instead of about 12 hr 8 min on Oracle (about 62% less time), and about 3.7 hours instead of about 24 hours on Db2 (about 85% less time). The archive adds load to the ERM server for a shorter period, but it still takes several hours.
  • Views in a materialized baseline are often faster than in the Initial Stream. With GTT usage and hint removal in place on both, the materialized baseline was faster for 67.6% of the 290 view runs on Oracle and 54.8% on Db2. On Db2 it also removed all 32 timeout failures that were reproducible on the Initial Stream, with no new timeouts. Not every view is faster, so the benefit depends on which views are used.
  • Materialization and dematerialization of large baselines take hours and need planning. Under load on Oracle, materializing the 5M baselines took 2 hr 36 min to 3 hr 50 min, and dematerializing them took 13 hr 53 min to 16 hr 19 min. Materialization slowed normal activity in eight of the nine runs (average response time up by about 1.4 to 2.7 times for the 5M runs). IBM recommends scheduling materialization outside peak working hours.


Archive Configuration Performance (TRS Update Improvement)

Feature Overview

In a large ERM repository, archiving a configuration (a stream or a baseline) can take days, or even weeks, to complete the TRS update. During that time the archive operation places additional load on the ERM server, and users can experience server instability and slower performance until it finishes.

ELM 7.3.0 improves this behavior and introduces a new advanced property:

Advanced Property Default Value
Enable minimal trs delete events for configuration archival false

The behavior of the archive operation for each value of the property is summarized below.

Property = false Property = true
Reference checks: Performed in batches and in parallel. Reference checks: Performed in batches and in parallel.
Referenced versions: Filtered out during the resource selection stage, before processing. Referenced versions: Filtered out during the resource selection stage, before processing.
Unreferenced artifact types processed: All unreferenced artifact types. Unreferenced artifact types processed: Only Link Type, Configuration, and Configuration Selection.
Follow-up action required: None beyond the existing process. Follow-up action required: TRS validation must be run after the archive. Validation identifies all version resources as "extra feed" and generates the deletion events for them.

In short: With the property set to false, the archive does the complete job faster. With the property set to true, the archive operation itself is much faster because the per-resource TRS delete events are not generated during the archive, but that work is deferred to a TRS validation that you must run yourself.

For more information about this feature, see the documentation on improving TRS performance during configuration archive.


Performance Test Results

Summary of Results

These results compare the archive operation before and after the improvement, for both values of the new property. The data used and the way the tests were run are described in Test Methodology after the results, and the servers in Test Environment.

All times are the total time for archiving all 6 configurations (1 stream and 5 baselines). The Oracle and Db2 results are separated by a vertical line.

ScenarioOracleDb2
Total Archive TimeImprovement vs. BaselineTotal Archive TimeImprovement vs. Baseline
Baseline (existing behavior)~12h 08m 02s—~23h 56m 18s—
Property = false~4h 34m 40s~2.65x faster (~62% less time)~3h 41m 25s~6.5x faster (~85% less time)
Property = true
(archive only, excludes required TRS validation)
~28s>99.9% less time for the archive step~13s>99.9% less time for the archive step

  • Property = false: The archive was faster on both databases, with no change in which artifact types are processed and no extra step required after the archive.
  • Property = true: This setting can be used when archiving configurations in bulk. The times above are for the archive step only.
    • They do not include the TRS validation that must be run afterward to generate the deletion events for the version resources. The duration of that validation was not measured, so these times are not the end-to-end time to complete the archival.
    • Only three unreferenced artifact types are processed: Link Type, Configuration and Configuration Selection.
  • Even with the improvement, archiving this configuration set with the property set to false still takes several hours on both databases.


Test Methodology

The goal of this test was to measure how much faster the archive operation is with the new implementation, and to compare both values of the new property against the behavior in the previous implementation.

Data Shape

Item Value
Stream size ~1 million artifacts
Baselines of the stream 5
Total configurations archived 6 (1 stream + 5 baselines)

Performance Testing Methodology

  • The archive operation was run on a stream of approximately 1 million artifacts together with its five baselines (six configurations in total), and the total time was recorded.
  • Three scenarios were measured on each database: the existing behavior as the baseline, the new implementation with the property set to false, and the new implementation with the property set to true.
  • Each result was compared against the baseline to calculate the improvement.
  • The same test was performed on both Oracle and Db2 databases.
  • Only the archive operation itself was timed. The follow-up TRS validation that is needed when the property is true was not part of the measured time.


Test Environment

The tests used an ERM application served at rm3/web, running against Oracle and Db2 databases. The servers in the performance test environment are all physical servers. The server role, operating system (RHEL is Red Hat Enterprise Linux), application and capacity of each server are listed below, separately for the Oracle and Db2 test environments.

Oracle Test Environment

Server Role Operating System Application Virtual Cores RAM
Web / Reverse ProxyRHEL Server 7IBM HTTP Server816 GB
Jazz Team Server (JTS) / Global Configuration Management (GCM) ServerRHEL Server 8JTS2432 GB
RM/DOORS Next ServerRHEL Server 7RM/DOORS Next Server2432 GB
Oracle DatabaseRHEL Server 8Oracle 19c Enterprise Edition2464 GB

Db2 Test Environment

Server Role Operating System Application Virtual Cores RAM
Web / Reverse ProxyRHEL 7.9IBM HTTP Server1616 GB
RM/DOORS Next ServerRHEL 7.9RM/DOORS Next Server2464 GB
JTS ServerRHEL 7.9JTS2496 GB
DB2 Database ServerRHEL 7.9DB2 Database2464 GB


Considerations and Limitations

To avoid misreading the numbers above, please keep the following in mind when planning for this feature:

  • Property = true shifts work to TRS validation. The very short archive times are possible because the per-version delete events are not generated during the archive. TRS validation is required afterward to identify the version resources as extra feed and generate the deletion events. The duration of that validation depends on your repository size and was not measured in this test. Plan a validation window accordingly.
  • Property = true processes fewer artifact types. Only unreferenced Link Type, Configuration and Configuration Selection are processed. With false, all unreferenced artifact types are processed.
  • Property = false needs no additional validation step. It improved total archive time by ~2.65x (Oracle) and ~6.5x (Db2) in these tests, but archiving a configuration set of this size still takes several hours.
  • Results depend on data shape. All results come from one stream of approximately 1 million artifacts with five baselines. Streams with different amounts of referenced versus unreferenced content, or different numbers of baselines, may behave differently.

Materialize Baselines for Faster Baseline Performance

Feature Overview

Large customers can experience slow view queries when working in baseline contexts, and the existing database hints do not consistently improve baseline view performance at scale. ELM 7.3.0 adds the ability to materialize selected local baselines so that they can be queried with the same optimized access patterns as local streams.

When a baseline is materialized, pre-computed data structures equivalent to those used for a local stream are created and stored in the database. Later view queries against that baseline can then follow the faster stream access path instead of the standard baseline resolution path.

Dematerialization is the reverse operation. It removes the materialized data for a baseline from the database and returns the baseline to its non-materialized state, so view queries against it use the standard baseline resolution path again.

Materialization provides two optimizations:

  1. The baseline can be treated as a stream. Materialization lets the code handle a baseline in the same way as a stream. A query against a local baseline that has not been materialized must check all the baseline's versions and their timestamps to work out which artifact version is current. A query against a materialized baseline instead applies simple predicates that filter on the current versions, as it does for a stream. This simplifies finding the artifact versions that belong to the baseline and avoids the more complex filtering.
  2. The materialized baseline is smaller. Unnecessary artifact versions are filtered out, so the materialized baseline holds only the versions the baseline needs. For baselines created from large, active streams, this can improve view performance.

Two configuration parameters let administrators control the resource impact of materialization:

Configuration ParameterPurposeProperty
Insert batch sizeNumber of rows written to the database per insert operation during materialization.com.ibm.team.repository.service.internal.dataaccess.VersionTable.batchSize
Version table Java thread pool sizeNumber of Java worker threads that run the insert operations in parallel.VERSIONTABLE_THREAD_POOL_COUNT

Materialization is supported for local baselines only. Global Configuration (GC) baselines are not covered in the current implementation.

When it helps: Materialization is most useful for baselines created from large, active streams with a large version history. In the tests, for streams with more than 5 million versions in their version history, the materialized baseline was about 1.4% to 2.9% of the stream's rows (see below), and queries use simpler filtering. A stream with no added history gets no size reduction. The cost is the time to materialize and, later, to dematerialize. The tests below measure that time, the effect on the running system and the effect on view response times (see View Performance Results).

How Materialization Works with the Other View Enhancements

Large customers see slow view queries when working in ERM baseline contexts. Two causes were identified:

  • Existing database hints were not consistently effective at improving baseline view performance at scale.
  • In large configurations, certain optimizer hints produced poor execution plans, making queries slower instead of faster.

ELM 7.3.0 addresses this with three enhancements, for both Oracle and Db2. Each one acts on a different part of the problem:

EnhancementWhat it changesHow it helps view performance
Global Temporary Table (GTT) usageLink query execution now goes through a GTT.Makes execution plans more stable across configuration sizes.
Hint removalOptimizer hints that produced poor plans in large configurations were removed.The database engine can choose better plans on its own.
MaterializationA local baseline is materialized so that it is queried like a stream, and unnecessary versions are filtered out.The query applies simple predicates on the current versions instead of checking all the baseline's versions and timestamps, and it runs against a smaller set of rows.

GTT usage and hint removal improve how the database plans and runs a view query, and they apply to every configuration, streams and baselines alike. Materialization reduces how much work the query has to do on a baseline: simpler filtering over fewer rows. A view on a materialized baseline therefore gets all three: a stable, well-chosen plan (GTT usage and hint removal) running a simpler query over a smaller data set (materialization).

In the view tests, both the Initial Stream and the materialized baseline ran with GTT usage and hint removal. The comparison between them therefore shows what materialization adds on top of the other two enhancements. The tests did not measure GTT usage and hint removal against the behavior before they were introduced. The results are in View Performance Results.

How Much Smaller Is a Materialized Baseline?

The reduction depends on how much version history the stream has. The table compares the number of rows in the version table for the materialized baseline and for the stream it was created from (Oracle 19c).

ArtifactsTotal State ChangesStream RowsMaterialized Baseline RowsBaseline as % of Stream
10,000~2M2,462,683153,6766.2%
10,000~5M5,459,842150,8132.8%
10,000~10M10,460,976151,2041.4%
50,000~25M25,753,214742,7972.9%
50,000~50M50,744,447742,7971.5%
1,000,000None added2,000,1562,000,136100%

The materialized row count follows the artifact count, not the amount of history, so the more history a stream has, the larger the reduction. A stream with no added history (last row) gets no size reduction, so size is not a reason to materialize that baseline.


Performance Test Results

Summary of Results

The results come from three groups of tests with different purposes, baselines and conditions, so they should not be compared with each other:

  • Under load (Oracle only): A normal ERM workload ran while one baseline was materialized or dematerialized. These load tests were designed to evaluate the impact of materialization on normal ERM activity under concurrent user load. They were not designed to measure the impact of user load on the materialization process itself.
  • Without load test (Oracle and Db2): Nothing else ran. These tests measure how long materialization and dematerialization take for baselines with different artifact counts and amounts of state history.
  • View performance (Oracle and Db2): The same views were run on the Initial Stream and on a materialized baseline, both with GTT usage and hint removal in place. The comparison shows what materialization adds on top of those two enhancements.

The method is described in Test Methodology after the results, and the servers in Test Environment. For large baselines, see Recommended Configuration.

  • How long it takes to materialize: Baseline size is the main factor. Under load (Oracle only), 500K-artifact baselines took 4 to 29 minutes, 1M baselines 30 to 52 minutes, and 5M baselines 2 hr 36 min to 3 hr 50 min. Without a load test, baselines of 10,000 to 50,000 artifacts took 3 to 73 minutes, depending on the database and the amount of state history, and the 1M baseline with no added history took 5 min 7 sec on Oracle and 32 min 20 sec on Db2.
  • How long it takes to dematerialize: It takes much longer than materialization for large baselines. Under load, the 5M baselines took 13 hr 53 min to 16 hr 19 min, the 1M baselines about 4 hours, and the 500K baselines 3 to 43 minutes. Plan for this when scheduling dematerialization on large repositories.
  • Impact on the system (Oracle): The load tests ran a normal ERM workload of 100, 300 or 500 users during each operation, to measure the effect of materialization on normal activity. CPU stayed low (average 4 to 22%). Disk was the stressed resource (average 44 to 64%, peaks near 100%). Average page response time rose in eight of nine materialization runs, and dematerialization had a smaller effect.
  • Effect on view performance (GTT usage, hint removal and materialization together): A materialized baseline is smaller than the stream it came from. For streams with more than 5 million versions in their version history (tested with 10,000 and 50,000 artifacts), it held about 1.4% to 2.9% of the stream's rows. Queries against it also use simpler filtering on the current versions instead of checking all baseline versions and timestamps. In the view tests, with GTT usage and hint removal in place on both, the materialized baseline was faster than the Initial Stream for 67.6% of view runs on Oracle and 54.8% on Db2, and it removed all 32 Db2 timeouts. It was not faster for every view. See View Performance Results.


Results Under Load (Oracle only)

Purpose of these tests: The load tests were intended to evaluate the impact of materialization and dematerialization on normal ERM activities under concurrent user load. They were not intended to measure the impact of user load on the materialization process itself. The users, batch size and thread count changed together from run to run, so the durations below show the effect of baseline size and are not a measure of how load affects materialization.

In these runs, a load test with the number of simulated users shown in the tables (run with Rational Performance Tester (RPT)) ran in the background while one local baseline was materialized or dematerialized.

Oracle: Materialization Results

RunBaseline SizeUsers in RPT Load TestDuration
M015M1003 hr 50 min
M025M3002 hr 46 min 08 sec
M035M5002 hr 36 min 09 sec
M041M10052 min 22 sec
M051M30042 min 00 sec
M061M50030 min 01 sec
M07500K1004 min 29 sec
M08500K3009 min 31 sec
M09500K50029 min 10 sec

Observations:

  • Baseline size was the main factor. The 5M baselines took 2 hr 36 min to 3 hr 50 min, the 1M baselines 30 to 52 minutes, and the 500K baselines 4 to 29 minutes.
  • Durations also varied within a baseline size, for example 4 min 29 sec to 29 min 10 sec for 500K. Those runs differed in several settings at once (see Test Methodology), so the variation is not attributed to any single one of them.

Oracle: Materialization CPU and Disk Utilization

Oracle database server CPU usage (%) and disk busy (%) while materializing each baseline size with 100, 300 and 500 users in the RPT load test.

CPU_Materialization.png

DiskBusy_Materialization.png

Observations:

  • Oracle database server CPU usage rose with the number of users in the RPT load test for all three baseline sizes, from about 4 to 7% at 100 users to about 18 to 22% at 500 users.
  • Disk busy stayed high throughout, at about 44 to 64%, for all baseline sizes and user counts.
  • The charts show the combined effect of materialization and the background load test. The next section compares them with the same workload run without materialization.

Oracle: Impact of Materialization on the Running Workload

Average disk busy (%) on the Oracle database server, compared with the same workload run without materialization. pp = percentage points. No isolated measurement was captured for the 1M baseline.

Baseline SizeUsers in RPT Load TestDisk Busy Without MaterializationDisk Busy During MaterializationChange
5M10037.3%62.7%+25.4 pp
5M30021.4%63.5%+42.1 pp
5M50052.8%57.0%+4.2 pp
500K10041.0%51.8%+10.8 pp
500K30031.7%20.2%-11.5 pp
500K50053.7%57.9%+4.2 pp

Average page response time of the background workload, in milliseconds. The "without" figures come from a separate run on a different day, and the 1M and 500K rows share the same "without" run for each user count. Averages cover the whole test window, not only the operation itself.

Baseline SizeUsersWithout Materialization (ms)During Materialization (ms)During Dematerialization (ms)
5M1009342,5071,389
5M3001,0712,5161,563
5M5001,7762,5501,557
1M1001,0986,242928
1M3001,0479,7331,446
1M5002,1549,4541,707
500K1001,0988,7971,025
500K3001,0474,8012,242
500K5002,1542,1292,238

Observations:

  • Disk was the stressed resource. Materialization of the 5M baselines added 4 to 42 percentage points of average disk busy on top of the workload. The effect was smaller or mixed for the 500K baselines, where materialization is short.
  • Materialization slowed normal activity in eight of the nine runs. Average response time rose by about 1.4 to 2.7 times for the 5M runs and by about 4 to 9 times for five of the six 1M and 500K runs. The 500K run with 500 users was unchanged.
  • Dematerialization had a smaller effect. Response times were close to the level without materialization in most runs.
  • IBM recommends scheduling materialization outside peak working hours, especially for large baselines, which run for hours.

Oracle: Dematerialization Results

Full removal of the materialized data was confirmed in every run.

Run Baseline Size Users in RPT Load Test Duration
D015M10013 hr 53 min 45 sec
D025M30014 hr 43 min 25 sec
D035M50016 hr 19 min 11 sec
D041M1004 hr 2 min 15 sec
D051M3004 hr 21 min 49 sec
D061M5004 hr 16 min 6 sec
D07500K10043 min 24 sec
D08500K3003 min 34 sec
D09500K5003 min 15 sec

Observations:

  • Dematerialization was substantially slower than materialization for the same baseline size. The 5M baseline took 13 to 16 hours and the 1M baseline about 4 hours.
  • The 500K runs varied widely. D07 (100 users in the RPT load test) took 43 minutes, while D08 and D09 (300 and 500 users) took under 4 minutes. The cause of this variation has not been determined.

Oracle: Dematerialization CPU and Disk Utilization

Oracle database server CPU usage (%) and disk busy (%) while dematerializing each baseline size with 100, 300 and 500 users in the RPT load test.

CPU_Dematerialization.png

DiskBusy_Dematerialization.png

Observations:

  • For the 1M and 5M baselines, Oracle database server CPU usage rose with the number of users in the RPT load test, to about 28% (1M) and 26% (5M) at 500 users. For the 500K baseline it stayed low, between about 5% and 9%.
  • For the 1M and 5M baselines, disk busy stayed high at about 60 to 75% at every user count. For the 500K baseline it fell from about 65% at 100 users to about 29% at 300 and 500 users. Those two 500K runs were much shorter (under 4 minutes, see D08 and D09 above).
  • The charts show the combined effect of dematerialization and the background load test. Their separate contributions were not measured.

Results without Load Test (Oracle and Db2)

These runs used baselines of 10,000, 50,000 and 1M artifacts, some with added artifact state changes and binding state changes. Each configuration was materialized on a baseline with no previously computed state data. No load test ran during these runs. The same configurations were run on Oracle and Db2, and the Oracle and Db2 results are separated by a vertical line in each table.

The Total State Changes column is calculated as (artifact state changes + binding state changes) × number of artifacts. For example, 100 artifact state changes and 100 binding state changes on 10,000 artifacts give (100 + 100) × 10,000 = about 2M total state changes. The 1M artifact baseline had no added state changes.

Materialization Results (Oracle and Db2)

ArtifactsTotal State ChangesOracleDb2
10,000~2M7 min 53 sec3 min 33 sec
10,000~5M7 min 7 sec6 min 36 sec
10,000~10M6 min 22 sec14 min 46 sec
50,000~25M40 min 57 sec23 min 37 sec
50,000~50M1 hr 12 min 30 sec48 min 40 sec
1,000,000None added5 min 7 sec32 min 20 sec

Observations:

  • Oracle: State changes matter more at higher artifact counts. For 50,000 artifacts, the run with ~50M state changes (1 hr 12 min) took about 1.8× as long as the run with ~25M (41 min). For 10,000 artifacts, times were similar (about 6 to 8 minutes) regardless of the number of state changes.
  • Db2: Going from 10,000 to 50,000 artifacts (5×) made materialization about 3 to 5 times longer for the same state configuration, so the increase is less than proportional.
  • Oracle and Db2 did not scale the same way, so a duration measured on one database should not be applied to the other.
  • The Oracle 1M baseline with no added state changes took 5 min 7 sec in this test, which had no load test. The Oracle 1M baselines in the load-test runs above (M04 to M06, with 100, 300 and 500 users in the RPT load test) took 30 to 52 minutes. Both materialized about 2 million rows (2,000,136). The two groups of tests used different baselines and different conditions, so they are not directly comparable, and the cause of the difference has not been determined. Read the load-test times as the range seen under that workload.

Dematerialization Results (Oracle and Db2)

ArtifactsTotal State ChangesOracleDb2
10,000~2M~14 sec1 min 6 sec
10,000~5M16 sec14 sec
10,000~10M20 sec1 min 3 sec
50,000~25M48 sec2 min 6 sec
50,000~50M50 sec2 min 20 sec
1,000,000None added4 min 22 sec4 min 30 sec

Observations:

  • Oracle: Dematerialization time followed the artifact count rather than the number of state changes. For 10,000 artifacts it took 14 to 20 seconds, for 50,000 artifacts 48 to 50 seconds, and for the 1M baseline 4 min 22 sec.
  • Db2: Dematerialization was generally faster than materialization.
  • Db2: The number of baseline states went from 0 before materialization, to the expected count after materialization, and back to 0 after dematerialization, in every test. Both operations behaved correctly and were fully reversible.

View Performance Results (Oracle and Db2)

These results compare view query times on the Initial Stream with the same views on a materialized baseline. Both ran with GTT usage and hint removal in place, so the comparison shows what materialization adds on top of them. The views, users and way the tests were run are described in Test Methodology (Part 3), and the servers in Test Environment.

  • Oracle: The materialized baseline was faster than the Initial Stream for 67.6% of the 290 view runs (145 views x 2 users). The Initial Stream was faster for the other 32.4%.
  • Db2: The materialized baseline was faster for 54.8% of the 290 view runs. The Initial Stream was faster for the other 45.2%.
  • Db2 timeouts: The materialized baseline removed all 32 timeout failures that were reproducible on the Initial Stream, and introduced no new timeouts.
  • How the enhancements contribute. GTT usage (more stable plans) and hint removal (better plans chosen by the database engine) apply to the Initial Stream and the materialized baseline alike. What the materialized baseline adds is a simpler query over fewer rows. A query on a materialized baseline filters on the current versions, as it does on a stream. It does not need the complex filtering that a non-materialized local baseline requires, which checks all the baseline's versions and timestamps. The materialized baseline is also smaller (see How Much Smaller Is a Materialized Baseline?).
  • Not every view is faster on the materialized baseline. With GTT usage and hint removal in place on both, the Initial Stream was still faster for about one third of the view runs on Oracle and for nearly half on Db2. Whether a view is faster depends on the SQL join order and on the join between the table and the predicates in the view's query. The tests measured how many view runs were faster, not how much slower the others were, so they do not show whether any combination of enhancements was substantially slower on particular configurations.

Oracle: View Performance Results

Metric Result
View runs where the materialized baseline (MB) was faster67.6% of the 290 view runs (145 views x 2 users)
View runs where the Initial Stream (IS) was faster32.4% of the 290 view runs (145 views x 2 users)

The materialized baseline path was faster than the Initial Stream in more than two thirds of the 290 view runs on Oracle 19c.

Db2: View Performance Results

Metric Result
View runs where the materialized baseline (MB) was faster54.8% of the 290 view runs (145 views x 2 users)
View runs where the Initial Stream (IS) was faster45.2% of the 290 view runs (145 views x 2 users)
Initial Stream timeout cases resolved by MB32 (no new MB timeouts introduced)

On Db2 11.5, the materialized baseline path was faster in more than half of the 290 view runs and removed all 32 timeout failures that were reproducible on the Initial Stream. No new timeouts were introduced.


Recommended Configuration

Additional testing looked specifically at materializing large baselines (around 5 million artifacts or more). For large baselines, we recommend the settings in the table below.

Setting Property 7.3 Default Recommended for Large Baselines
Thread countVERSIONTABLE_THREAD_POOL_COUNT3020
Await termination timeoutVERSIONTABLE_EXECUTORSERVICE_AWAIT_TERMINATION_TIMEOUT_IN_MINUTES240 minutes240 minutes
Insert batch sizecom.ibm.team.repository.service.internal.dataaccess.VersionTable.batchSize1,00010,000

Baseline size had a much larger effect on materialization time than the batch size and thread count combinations tested. The effect of each setting alone was not isolated.

In ELM 7.3.0, the default value of the await termination timeout is 240 minutes, and this is also the value to use for large baselines. The defaults for thread count and insert batch size have not changed. If you are not materializing large baselines, keep the default values.

The test results in this article come from a controlled test environment, and the results in your environment may be different. Before you use the recommended settings in production, try them in a test environment with your own data and workload.


Test Methodology

We measured how long it takes to materialize and dematerialize a local baseline, and how views perform on a materialized baseline. The baselines were created from an Initial Stream that holds all artifacts, and only local baselines were tested (GC baselines were not included). Testing was done in three parts.

Part 1: under load (Oracle only)

  • RPT simulated 100, 300 or 500 users running a mixed set of ERM operations in the background while a baseline was materialized, and then dematerialized. These simulated users are the background load. Each materialization or dematerialization was a single administrative operation, not something done by that many users. The purpose was to measure the effect of materialization and dematerialization on normal ERM activity, not the effect of the load on materialization. The results report the time taken, the Oracle database server utilization, and the average page response time of the background workload, compared with the same workload run without materialization.
  • Baselines of 500K, 1M and 5M artifacts were used. Nine materialization runs (M01 to M09) and nine dematerialization runs (D01 to D09) were done. From one run to the next, the baseline size, the number of users, the insert batch size (1,000, 5,000 or 10,000) and the thread pool size (10, 20 or 30) were changed together, so the effect of any one setting alone cannot be isolated.
  • CPU usage (%) and disk busy (%) of the Oracle database server were also recorded during these runs and are shown as one average value per run.

Part 2: without load test (Oracle and Db2)

  • Baselines of 10,000, 50,000 and 1M artifacts were used, some with added artifact state changes and binding state changes. The exact configurations are listed with the results above.
  • Each configuration was materialized on a baseline with no previously computed state data.
  • No load test ran during these runs. The tests used Oracle 19c and Db2 11.5, with the same configurations on both.

Part 3: view performance (Oracle and Db2)

  • The goal was to find out how often view queries run faster on a materialized baseline than on the Initial Stream, on both Oracle and Db2. Both ran with GTT usage and hint removal in place, so the difference comes from materialization.
  • A view run means one view executed by one user. 145 views were each run by 2 users (jazz admin and jazz user), which gives 145 x 2 = 290 view runs in total. Percentages in the view results are percentages of those 290 view runs.
  • For each view run, view query execution time was measured on the Initial Stream (IS) and on the materialized baseline (MB), which is the one produced by the Materialize Baselines feature.
  • Executions 2 and 3 were averaged for each view run. The first execution was not used.
  • Each view run was then classified by whether MB or IS was faster. The same 290 view runs were tested on the Oracle and the Db2 environments.

Note: The comparison reported here is between the Initial Stream and the materialized baseline. A comparison against the non-materialized baseline path is not included.

Data shape

Item Value
Views tested145 views x 2 users = 290 view runs, the same on Oracle and Db2. The views are a mix of medium, complex and nested-group views (see Types of Views Tested).
DatabasesOracle 19c and Db2 11.5
ScopeLocal baseline contexts only; Global Configuration (GC) baselines are not included

Types of Views Tested

The 145 views are a mix of medium views, complex views with many filters, and views with filter groups nested inside other groups. The views use different kinds of filters, such as attribute values, text, dates, artifact types and linked artifacts. The three examples below show the range.

Medium_Filter_view: This view has three filter groups combined with All match (AND). Each group has three filters on the State attribute and on enumeration attributes, using "is any of" and "is not any of" conditions. The middle group uses Some match (OR), and one of its filters excludes a list of ten values (190 to 199).

Medium_Filter_view.png

Complex view: This view has several filter groups, each with multiple filters. Some filters match a long list of values.

ComplexView.png

Nested-group view: This view has filter groups placed inside other groups, several levels deep, combined with a linked-artifact filter.

GroupFilterView.png


Test Environment

The materialization tests were run on the two environments below, using the ERM application served at rm/web. The servers are all physical servers. In the tables, RHEL is Red Hat Enterprise Linux. The Oracle 19c environment was used for all Oracle tests. The Db2 11.5 environment was used for the Db2 materialization tests (without load test) and for the Db2 view performance tests.

Materialize Baselines Oracle Test Environment

Server Role Operating System Application Virtual Cores RAM
Web / Reverse ProxyRHEL 8.xIBM HTTP Server1632 GB
Jazz Team Server (JTS) / Global Configuration Management (GCM) ServerRHEL 8.xJTS2432 GB
RM/DOORS Next ServerRHEL 8.xRM/DOORS Next Server2464 GB
Oracle Database ServerRHEL 7.9Oracle 19c40192 GB

Materialize Baselines Db2 Test Environment

Server Role Operating System Application Virtual Cores RAM
Web / Reverse ProxyRHEL 7.9IBM HTTP Server816 GB
JTS ServerRHEL 8.xJTS2432 GB
RM/DOORS Next ServerRHEL 7.9RM/DOORS Next Server2432 GB
Db2 Database ServerRHEL 7.9Db2 11.524192 GB


Considerations and Limitations

  • Not every view is faster on the materialized baseline. With GTT usage and hint removal in place on both, the Initial Stream was faster for 32.4% of the Oracle view runs and 45.2% of the Db2 view runs. Whether a view is faster depends on the SQL join order and on the join between the table and the predicates in the view's query.
  • GTT usage and hint removal were not measured separately. Both the Initial Stream and the materialized baseline had them, so the view results show what materialization adds. They do not show how much GTT usage or hint removal contributed on their own.
  • Compared with the Initial Stream. The view tests compare a materialized baseline with the Initial Stream, not with a non-materialized baseline.
  • Local baselines only. Materialization and the view tests covered local baselines. GC baseline contexts were not tested, so no performance data is available for them.
  • Counts, not response-time gains. The view results report how many of the 290 view runs were faster, not by how much. A view run that is faster by a small margin counts the same as one that is much faster.
  • Reliability on Db2. Removing the 32 timeout cases is a reliability improvement on its own, separate from the comparison of response times.


Abbreviations

  • ERM: IBM Engineering Requirements Management (RM) DOORS Next
  • TRS: Tracked Resource Set
  • ELM: Engineering Lifecycle Management
  • GC: Global Configuration
  • GCM: Global Configuration Management
  • GTT: Global Temporary Table
  • IS: Initial Stream
  • MB: Materialized Baseline
  • RPT: Rational Performance Tester
  • JTS: Jazz Team Server
  • RHEL: Red Hat Enterprise Linux
  • SLA: Service Level Agreement
  • I/O: Input/Output
Topic attachments
I Attachment Action Size Date Who Comment
Pngpng CPU_Dematerialization.png manage 114.9 K 2026-10-30 - 17:32 SameerkumarKalaria CPU_Dematerialization
Pngpng CPU_Materialization.png manage 113.3 K 2026-10-30 - 17:31 SameerkumarKalaria CPU_Materialization
Pngpng ComplexView.png manage 712.8 K 2026-10-28 - 04:20 SameerkumarKalaria ComplexView
Pngpng DiskBusy_Dematerialization.png manage 110.5 K 2026-10-30 - 17:32 SameerkumarKalaria DiskBusy_Dematerialization
Pngpng DiskBusy_Materialization.png manage 115.4 K 2026-10-30 - 17:31 SameerkumarKalaria DiskBusy_Materialization
Pngpng GroupFilterView.png manage 169.2 K 2026-10-28 - 04:20 SameerkumarKalaria GroupFilterView
Pngpng Medium_Filter_view.png manage 62.8 K 2026-11-20 - 10:02 HarshivPatel Medium_Filter_view
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r22 < r21 < r20 < r19 < r18 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.
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.