IBM Cognos Business Intelligence V10.1 Handbook Front cover


Add to my manuals
572 Pages

advertisement

IBM Cognos Business Intelligence V10.1 Handbook Front cover | Manualzz

򐂰 The

DQM Enabled

option instructs IBM Cognos Lifecycle Manager to validate or execute all reports and packages in this project using Dynamic Query

Mode.

If you select the Default option, you can specify the query mode on the package

views individually, as shown in Figure 9-8.

Figure 9-8 Specify query mode

In the Options column, the

DQM

in bold means that Dynamic Query Mode engine is enabled on this package. Double-clicking DQM disables the use of the new query mode and the DQM is no longer bold.

Testing note: Attempt testing against Dynamic Query Mode only if all data

sources that are included in the package are supported by this query mode.

Validating and executing packages that contain unsupported data sources will fail.

9.3 Query Service Administration

A vital part of running and maintaining a successful IBM Cognos implementation is administration. By this we mean that knowing exactly what is going on in your system at any time and reacting to those events appropriately is essential for you to get the most out of your IBM Cognos investment.

Chapter 9. Enterprise ready performance and scalability

415

IBM Cognos Administration allows for easy monitoring, configuring, and tuning of services that re available in the IBM Cognos instance. With the addition of

Dynamic Query Mode, exposed as the Query Service in IBM Cognos

Administration, new metrics and tuning options are added, as shown in

Figure 9-9.

Figure 9-9 IBM Cognos Administration

9.3.1 Query Service metrics

You can monitor and configure the Query Service status and its thresholds, a starting point of a new state, in IBM Cognos Administration by opening the

Metrics pane for the respective service. By default, all metrics record performance information, but no thresholds are configured because acceptable threshold values depend on the IBM Cognos operating environment and need to be configured accordingly.

416

IBM Cognos Business Intelligence V10.1 Handbook

You can define the thresholds for the following Query Service metrics:

򐂰

Last response time: The time taken by the last successful or failed request

򐂰 Number of failed requests: The number of service requests where a fault was returned

򐂰

Number of processed requests: The number of processed requests

򐂰 Number of successful requests: The number of service requests where no fault was returned

򐂰

Percentage of failed requests: The percentage of processed requests that failed

򐂰 Percentage of successful requests: The percentage of processed requests that succeeded

򐂰

Response time high watermark: The maximum length of time taken to process a successful or failed request

򐂰 Response time low watermark: The minimum length of time taken to process a successful or failed request

򐂰

Seconds per successful request: The average length of time taken to process a successful request

򐂰 Service time: The time taken to process all requests

򐂰

Service time failed requests: The time taken to process failed requests

򐂰 Service time successful requests: The time taken to process successful requests

򐂰

Successful requests per minute: The average number of successful requests processed in one minute

You can also create an agent that notifies you when thresholds are exceeded.

Sample agents that monitor the audit database for threshold violations and perform common actions when violations are detected are included in the audit samples package.

9.3.2 Manage the cache in IBM Cognos Administration

To increase the performance of recurring reports and to minimize the load on underlying data sources, Dynamic Query Mode includes a self-learning in-memory cache. The query mode can store the data cache in memory as long as needed.

One side effect that stems from caching metadata and data request on an ever-changing data source is the possibility that the data that is contained in the

Chapter 9. Enterprise ready performance and scalability

417

cache has become old and stale. This issue leads to reports that do not display the most recent data.

To help overcome this issue, IBM Cognos Administration includes flexible cache maintenance features.

You can locate the first feature by clicking Configuration

Query Service

Caching as depicted in Figure 9-10.

Figure 9-10 Query Service Caching

This new entry in the IBM Cognos Administration tool allows the administrator to clear the cache and write cache statistics to file on a Server Group basis in a ad-hoc fashion. After this task runs, all report servers in the selected server group that host a Query Service clear the cache or dump the statistics to a file.

If you write the cache statistics disk, a new file is created in the ../logs/XQE/ folder on all IBM Cognos servers in that particular server group that host an instance of the Query Service. The file name adheres to the following template:

SALDump_<datasource>_<catalog>_<cube>_<timestamp>.xml

Example 9-1 shows an example of this file.

Example 9-1 Server group cache statistics file

SALDUMP_all_all_all_1283781787890.xml

418

IBM Cognos Business Intelligence V10.1 Handbook

Figure 9-11 shown an example of the content of this file.

Figure 9-11 Cache state

This example illustrates a cache state that contains metrics for a package called

DQM_GODB - DAN

. This package is based of the GODB cube using the

Essbase data source

Essbase_DAN

.

Under the Cache Metrics comment, notice that for this package, 285 query requests were issued with five requests not being fulfilled by the package cache.

Chapter 9. Enterprise ready performance and scalability

419

Other than clearing the cache per Server Group, you can now also create or schedule Query Service Administration tasks. You can locate these tasks by clicking Configuration

Content Administration as shown in Figure 9-12.

Figure 9-12 Query Service Administration task

The cache maintenance tasks that you can create are the same as under the

Query Service Caching section, with the only difference being the granularity.

You can schedule these tasks to clear or to write statistics to file based on data

source, catalog, and cube as shown in Figure 9-13. After this task runs, all report

servers that host a Query Service clear the cache or dump the statistics to file.

Figure 9-13 Query Service Administration task options

420

IBM Cognos Business Intelligence V10.1 Handbook

You can determine the values that you need to enter here by examining

Figure 9-11 on page 419. For example, a task that is clearing the cache will

dump a a file according to the following template as shown in Example 9-2.

SALDump_<datasource>_<catalog>_<cube>_<timestamp>.xml

Example 9-2 Individual cache statistics file

SALDUMP_Essbase_DAN_GODB_GODB_1283781787890.xml

9.3.3 Query Service settings

In addition to the cache maintenance dialog boxes, there is another area in IBM

Cognos Administration that deals with the administration of the Query Service.

This dialog box allows you to modify logging information and connection time-out.

You can locate this dialog box by clicking Configuration

Dispatchers and

Services

Query Service properties as illustrated in Figure 9-14.

Figure 9-14 Query Service properties

Chapter 9. Enterprise ready performance and scalability

421

Figure 9-15 shows the Settings tab within this dialog box.

Figure 9-15 Query Service settings

The Settings tab allows you to modify the following settings:

򐂰

Audit Logging level

Controls the amount of audit information that is recorded for this service. The higher you set the logging level, the more it degrades system performance.

򐂰

Query execution trace

This switch toggles the recording of the run tree or also known as the query execution phase.

򐂰

Query plan trace

This switch toggles the recording of the plan tree or also known as the query planning phase.

422

IBM Cognos Business Intelligence V10.1 Handbook

򐂰 Write model to file

This switch toggles the model information to be written to file for a given package when a report is run against it. The file will be saved in the

../logs/XQE/model/

folder as

<packagename>.txt

and is typically requested

by Customer Support as an aid in troubleshooting. See Example 9-3.

Example 9-3 Model file

GreatOutdoors.txt

򐂰 Disable query plan cache

This switch toggles the caching of the plan tree or also known as the query planning phase.

򐂰 Idle connection timeout

This setting controls how long connections can be idle for before being terminated.

9.3.4 Disabling the Query Service

The Query Service is spawned as a child process of the dispatcher JVM process and, as with other process, it takes up memory and resources. If for some reason you do not use the Query Service, disable this service so that the resources that might be used by the Query Service can be used by other components running on this instance.

To disable the Query Service:

1. Open IBM Cognos Configuration.

2. Click the IBM Cognos services entry under the Environment section.

3. Find the Query Service enabled entry, and set this to False.

4. Save and restart the IBM Cognos Service.

Chapter 9. Enterprise ready performance and scalability

423

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

advertisement

Table of contents