Page contents
- Introduction
- Key Findings
- Business Impact
- Archive Configuration Performance (TRS Update Improvement)
- Materialize Baselines for Faster Baseline Performance
- Abbreviations
DOORS Next 7.3.0 Performance Enhancements Report
Authors: SameerkumarKalaria, JayrajsinhGohil, HarshivePatel, PriyankaKarandeBuild 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:- 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.
- 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.
- 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.
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.| Enhancement | Area | Key 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.
|
|
| Dematerialization: |
|
|
| 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.
|
| 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.
|
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 |
| 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. |
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.| Scenario | Oracle | Db2 | ||
|---|---|---|---|---|
| Total Archive Time | Improvement vs. Baseline | Total Archive Time | Improvement 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
falsestill 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
truewas not part of the measured time.
Test Environment
The tests used an ERM application served atrm3/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 Proxy | RHEL Server 7 | IBM HTTP Server | 8 | 16 GB |
| Jazz Team Server (JTS) / Global Configuration Management (GCM) Server | RHEL Server 8 | JTS | 24 | 32 GB |
| RM/DOORS Next Server | RHEL Server 7 | RM/DOORS Next Server | 24 | 32 GB |
| Oracle Database | RHEL Server 8 | Oracle 19c Enterprise Edition | 24 | 64 GB |
Db2 Test Environment
| Server Role | Operating System | Application | Virtual Cores | RAM |
|---|---|---|---|---|
| Web / Reverse Proxy | RHEL 7.9 | IBM HTTP Server | 16 | 16 GB |
| RM/DOORS Next Server | RHEL 7.9 | RM/DOORS Next Server | 24 | 64 GB |
| JTS Server | RHEL 7.9 | JTS | 24 | 96 GB |
| DB2 Database Server | RHEL 7.9 | DB2 Database | 24 | 64 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:- 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.
- 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.
| Configuration Parameter | Purpose | Property |
|---|---|---|
| Insert batch size | Number 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 size | Number of Java worker threads that run the insert operations in parallel. | VERSIONTABLE_THREAD_POOL_COUNT |
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.
| Enhancement | What it changes | How it helps view performance |
|---|---|---|
| Global Temporary Table (GTT) usage | Link query execution now goes through a GTT. | Makes execution plans more stable across configuration sizes. |
| Hint removal | Optimizer hints that produced poor plans in large configurations were removed. | The database engine can choose better plans on its own. |
| Materialization | A 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. |
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).| Artifacts | Total State Changes | Stream Rows | Materialized Baseline Rows | Baseline as % of Stream |
|---|---|---|---|---|
| 10,000 | ~2M | 2,462,683 | 153,676 | 6.2% |
| 10,000 | ~5M | 5,459,842 | 150,813 | 2.8% |
| 10,000 | ~10M | 10,460,976 | 151,204 | 1.4% |
| 50,000 | ~25M | 25,753,214 | 742,797 | 2.9% |
| 50,000 | ~50M | 50,744,447 | 742,797 | 1.5% |
| 1,000,000 | None added | 2,000,156 | 2,000,136 | 100% |
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.
- 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| Run | Baseline Size | Users in RPT Load Test | Duration |
|---|---|---|---|
| M01 | 5M | 100 | 3 hr 50 min |
| M02 | 5M | 300 | 2 hr 46 min 08 sec |
| M03 | 5M | 500 | 2 hr 36 min 09 sec |
| M04 | 1M | 100 | 52 min 22 sec |
| M05 | 1M | 300 | 42 min 00 sec |
| M06 | 1M | 500 | 30 min 01 sec |
| M07 | 500K | 100 | 4 min 29 sec |
| M08 | 500K | 300 | 9 min 31 sec |
| M09 | 500K | 500 | 29 min 10 sec |
- 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.
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.
| Baseline Size | Users in RPT Load Test | Disk Busy Without Materialization | Disk Busy During Materialization | Change |
|---|---|---|---|---|
| 5M | 100 | 37.3% | 62.7% | +25.4 pp |
| 5M | 300 | 21.4% | 63.5% | +42.1 pp |
| 5M | 500 | 52.8% | 57.0% | +4.2 pp |
| 500K | 100 | 41.0% | 51.8% | +10.8 pp |
| 500K | 300 | 31.7% | 20.2% | -11.5 pp |
| 500K | 500 | 53.7% | 57.9% | +4.2 pp |
| Baseline Size | Users | Without Materialization (ms) | During Materialization (ms) | During Dematerialization (ms) |
|---|---|---|---|---|
| 5M | 100 | 934 | 2,507 | 1,389 |
| 5M | 300 | 1,071 | 2,516 | 1,563 |
| 5M | 500 | 1,776 | 2,550 | 1,557 |
| 1M | 100 | 1,098 | 6,242 | 928 |
| 1M | 300 | 1,047 | 9,733 | 1,446 |
| 1M | 500 | 2,154 | 9,454 | 1,707 |
| 500K | 100 | 1,098 | 8,797 | 1,025 |
| 500K | 300 | 1,047 | 4,801 | 2,242 |
| 500K | 500 | 2,154 | 2,129 | 2,238 |
- 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.
| Run | Baseline Size | Users in RPT Load Test | Duration |
|---|---|---|---|
| D01 | 5M | 100 | 13 hr 53 min 45 sec |
| D02 | 5M | 300 | 14 hr 43 min 25 sec |
| D03 | 5M | 500 | 16 hr 19 min 11 sec |
| D04 | 1M | 100 | 4 hr 2 min 15 sec |
| D05 | 1M | 300 | 4 hr 21 min 49 sec |
| D06 | 1M | 500 | 4 hr 16 min 6 sec |
| D07 | 500K | 100 | 43 min 24 sec |
| D08 | 500K | 300 | 3 min 34 sec |
| D09 | 500K | 500 | 3 min 15 sec |
- 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.
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)| Artifacts | Total State Changes | Oracle | Db2 |
|---|---|---|---|
| 10,000 | ~2M | 7 min 53 sec | 3 min 33 sec |
| 10,000 | ~5M | 7 min 7 sec | 6 min 36 sec |
| 10,000 | ~10M | 6 min 22 sec | 14 min 46 sec |
| 50,000 | ~25M | 40 min 57 sec | 23 min 37 sec |
| 50,000 | ~50M | 1 hr 12 min 30 sec | 48 min 40 sec |
| 1,000,000 | None added | 5 min 7 sec | 32 min 20 sec |
- 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.
| Artifacts | Total State Changes | Oracle | Db2 |
|---|---|---|---|
| 10,000 | ~2M | ~14 sec | 1 min 6 sec |
| 10,000 | ~5M | 16 sec | 14 sec |
| 10,000 | ~10M | 20 sec | 1 min 3 sec |
| 50,000 | ~25M | 48 sec | 2 min 6 sec |
| 50,000 | ~50M | 50 sec | 2 min 20 sec |
| 1,000,000 | None added | 4 min 22 sec | 4 min 30 sec |
- 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.
| Metric | Result |
|---|---|
| View runs where the materialized baseline (MB) was faster | 67.6% of the 290 view runs (145 views x 2 users) |
| View runs where the Initial Stream (IS) was faster | 32.4% of the 290 view runs (145 views x 2 users) |
| Metric | Result |
|---|---|
| View runs where the materialized baseline (MB) was faster | 54.8% of the 290 view runs (145 views x 2 users) |
| View runs where the Initial Stream (IS) was faster | 45.2% of the 290 view runs (145 views x 2 users) |
| Initial Stream timeout cases resolved by MB | 32 (no new MB timeouts 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 count | VERSIONTABLE_THREAD_POOL_COUNT | 30 | 20 |
| Await termination timeout | VERSIONTABLE_EXECUTORSERVICE_AWAIT_TERMINATION_TIMEOUT_IN_MINUTES | 240 minutes | 240 minutes |
| Insert batch size | com.ibm.team.repository.service.internal.dataaccess.VersionTable.batchSize | 1,000 | 10,000 |
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.
- 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.
- 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.
| Item | Value |
|---|---|
| Views tested | 145 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). |
| Databases | Oracle 19c and Db2 11.5 |
| Scope | Local 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).
Complex view: This view has several filter groups, each with multiple filters. Some filters match a long list of values.
Nested-group view: This view has filter groups placed inside other groups, several levels deep, combined with a linked-artifact filter.
Test Environment
The materialization tests were run on the two environments below, using the ERM application served atrm/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 Proxy | RHEL 8.x | IBM HTTP Server | 16 | 32 GB |
| Jazz Team Server (JTS) / Global Configuration Management (GCM) Server | RHEL 8.x | JTS | 24 | 32 GB |
| RM/DOORS Next Server | RHEL 8.x | RM/DOORS Next Server | 24 | 64 GB |
| Oracle Database Server | RHEL 7.9 | Oracle 19c | 40 | 192 GB |
Materialize Baselines Db2 Test Environment
| Server Role | Operating System | Application | Virtual Cores | RAM |
|---|---|---|---|---|
| Web / Reverse Proxy | RHEL 7.9 | IBM HTTP Server | 8 | 16 GB |
| JTS Server | RHEL 8.x | JTS | 24 | 32 GB |
| RM/DOORS Next Server | RHEL 7.9 | RM/DOORS Next Server | 24 | 32 GB |
| Db2 Database Server | RHEL 7.9 | Db2 11.5 | 24 | 192 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
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| |
CPU_Dematerialization.png | manage | 114.9 K | 2026-10-30 - 17:32 | SameerkumarKalaria | CPU_Dematerialization |
| |
CPU_Materialization.png | manage | 113.3 K | 2026-10-30 - 17:31 | SameerkumarKalaria | CPU_Materialization |
| |
ComplexView.png | manage | 712.8 K | 2026-10-28 - 04:20 | SameerkumarKalaria | ComplexView |
| |
DiskBusy_Dematerialization.png | manage | 110.5 K | 2026-10-30 - 17:32 | SameerkumarKalaria | DiskBusy_Dematerialization |
| |
DiskBusy_Materialization.png | manage | 115.4 K | 2026-10-30 - 17:31 | SameerkumarKalaria | DiskBusy_Materialization |
| |
GroupFilterView.png | manage | 169.2 K | 2026-10-28 - 04:20 | SameerkumarKalaria | GroupFilterView |
| |
Medium_Filter_view.png | manage | 62.8 K | 2026-11-20 - 10:02 | HarshivPatel | Medium_Filter_view |
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.

