Configuring Report Builder to use the relational database connection with existing data warehouse
Configure Report Builder to use the relational database connection for the following topologies.
Before you begin
If no data source exists, Report Builder automatically creates one. When you click Connect to data sources on the Administrator page,Report Builder discovers the following three data sources for each Lifecycle Query Engine registered with Jazz Team Server (JTS):
- Lifecycle Query Engine (/sparql)
- Lifecycle Query Engine scoped by a configuration (/sparql-variable-config)
- Data Warehouse
Topology 1: Two separate Lifecycle Query Engine instances, one for Jena and one for relational store (rs)
About this task
In this topology, an additional Lifecycle Query Engine rs instance has been added. Create additional data sources in Report Builder and configure them to point to the data warehouse database set up for the Lifecycle Query Engine rs instance. This helps ensure that the data warehouse and data warehouse (indexed by: Lifecycle Query Engine) options are available for the existing Lifecycle Query Engine and LQE scoped by configuration data sources. After configuration, archive the newly created data sources and update the existing data sources to point to the data warehouse database for the Lifecycle Query Engine rs instance.
This setup allows users to switch between SPARQL and SQL for existing reports and compare the results to ensure the results are as expected. Reusing the existing data sources is necessary because all existing SPARQL reports are linked to the data source by its ID. Therefore, to enable all existing SPARQL reports to use Lifecycle Query Engine rs (SQL), the data source that is used by these reports must be configured to connect to data warehouse setup for the Lifecycle Query Engine rs instance.

Procedure
Configure two LQE instances, one points to LQE Jena triple store and one points to LQE relational store (rs), as shown in the preceding architecture diagram.
Topology 2: Single Lifecycle Query Engine instance that points to Jena and relational stores
Reconfigure the existing Lifecycle Query Engine and Lifecycle Query Engine
scoped by configuration data sources to use the relational store. This configuration enables
existing SPARQL-based reports to run SQL queries against the Lifecycle Query Engine
relational store, allowing for consistent reporting and improved performance. This configuration
also provides reports the option to run against Jena triple store with SPARQL query. You can hide
the SPARQL options from Report Builder by selecting the SPARQL is disabled
checkbox in the data sources. If the TRS processing in Lifecycle Query Engine Triple Store
(TDB) is disabled, then the SPARQL is disabled
checkbox is automatically
selected.