r13 - 2015-05-27 - 17:00:48 - Main.sbagotYou are here: TWiki >  Deployment Web > DeploymentTroubleshooting > UpgradeTroubleshooting > CLMUpgradeTroubleshooting > UpgradeDwSchema

Upgrading the data warehouse

Authors: UpgradeTroubleshootingTeam
Build basis: CLM 3.x and later

This page discusses the Datawarehouse upgrade process which is part of the Jazz Team Server upgrade script.

Current data warehouse configuration

The data warehouse schema was a feature initially added to CLM 3.0.1 and is used for reporting. If you were running any Jazz based products prior to 3.0.1, and upgraded to 3.0.1, you may be running the data mart if you did not migrate to the data warehouse. If this is the case, you can skip this step.

To validate if you are running the data mart or data warehouse, log-in to the Server Administration page and click Reports. Under the Configuration section click Data Warehouse Connection and check the Data Warehouse Provider attribute. If it is set to Remote, you are likely have a Data Warehouse schema setup. If it is set to Local, you are still using data mart or you did not configure a data warehouse (this configuration is only available in applications at version 3.0.1.x and higher).

If you are running the data mart, you can skip this step of the upgrade.
If you are running the data warehouse, you can continue this step of the upgrade.

Data mart vs data warehouse

A data mart is a storage facility for read-only, historical and aggregated data. Through the use of an industry standard "star schema", rather than a more normalized table structure, the data mart is optimized for efficient queries and quick response times. Reports access the data that is stored in this data mart. Data mart is not a separated database from the JTS repository database, but a snapshot only. Prior to CLM 3.0.1, the Jazz Team Server provides a data mart, as well as an extensible mechanism for gathering information to store in the data mart at periodic times. Out of the box, data collection jobs are provided that aggregate and store various data about work items, source control, and builds.

A data warehouse is a relational database that is designed for query and analysis rather than for transaction processing. It contains historical data derived from transaction data, but it can include data from other sources. It separates analysis workload from transaction workload and enables an organization to consolidate data from several sources. Starting from CLM 3.0.1, users can take advantage of data warehouse schema feature to separate report data from the JTS repository database. This feature provide users more control on managing the process of gathering report data and delivering to business users.

Data Warehouse upgrade process

During the step in the upgrade, the data warehouse database will undergo the following changes:
  • Upgrade the Core Schema
  • Grant Core Schema Read Access
  • Populate Date Dimension
  • Upgrade Calm Schema
  • Grant Calm Schema Read Access

Troubleshooting the Data Warehouse upgrade process

For information on Troubleshooting the Data Warehouse Upgrade Process, navigate to Troubleshooting the data warehouse.

Known Issues

For information on known issues to occur during the data warehouse upgrade process, navigate to Known Issues.

Can I choose not to upgrade my data warehouse?

Yes, but before DW upgrade is completed, all the reports are likely to fail or display stale data due to failing ETL jobs, meaning, no new data is gathered for reporting.

Upgrading the data warehouse manually

If you choose not to upgrade the Data Warehouse when you upgrade the JTS, it can be upgraded later. Run the following JTS repotools upgradeWarehouse command:


cd JazzInstallDir\server
repotools-jts.bat -upgradeWarehouse teamserver.properties=conf\jts\teamserver.properties 


cd JazzInstallDir/server
./repotools-jts.js -upgradeWarehouse teamserver.properties=conf/jts/teamserver.properties 

Note: Jazz Team Server must be upgraded successfully before you can proceed with the data warehouse upgrade.

Obtaining DDL scripts for the DW upgrade

Some deployments require the DDL scripts which are run during the upgrade process so that the data warehouse can be upgraded manually. This feature will be made available from CLM 4.0.3. Check here for detailed instructions in CLM version 4.0.3

Related topics:

External links:

  • None

Additional contributors: SusanWu

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r13 < r12 < r11 < r10 < r9 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © by the 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.