IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Installation Guides > Installation Guide > Performance tuning > Optimizing queries

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Processing queries

The query assigned to a chart or table view requests data from a particular attribute group. It executes when you open or refresh the workspace. Queries make up the processing load for on-demand data collection.

You can reduce the frequency and amount of data sampling by:

Do not confuse custom queries with view filters from the Filters tab of the Query Properties editor. View filters fine-tune the data after it has been retrieved by the query and do not reduce network traffic, data collection processing, or memory demands.

The following general recommendations and observations might be considered as well:


Post-filters versus pre-filters

Performance is improved for each view if you pre-filter the required view information and send to the portal client only what is needed in that view. This reduces the amount of data sent through the network and you do not have to post-process it either. However, there is one exception to the rule.

Think of a workspace that contains many views. Each of those views has a query associated with it, which is issued when the workspace is accessed. This might result in many queries that must be processed in parallel.

A better way of doing this might be to create one query that returns all data that is required in the workspace. In this case, the query will only be issued once and the data can then be post-filtered for each view to only display information as it applies to each view.

One important consideration however is that queries are saved globally and are not user ID dependent. This means that only administrators will be able to modify queries in most installations. For the end user to be able to modify filters, the preferred method might therefore be the filters applied in the view properties Filters tab.


Parent topic:

Optimizing queries

+

Search Tips   |   Advanced Search