Governors and data modules

Users who are familiar with IBM® Cognos® Framework Manager might be interested how governors are used with data modules, since data modules don’t have the user interface to define or change governors.

The following sections describe the contexts in which governors are used with data modules, and the governor values that can be assumed by queries in those contexts.

What governors do queries use while using a data module?

You can use a package directly from a dashboard. Such queries use the governors defined in the package.

Queries that use data modules use the default governor settings assumed by the dynamic query mode.

For more information, see Dynamic query mode governors.

Note: The compatible query mode (CQM) governors are ignored by the dynamic query so these types of governors are not applicable to data modules. For more information, see Governors.

What governors do queries use when a data module references Framework Manager packages?

A data module can reference one or more packages. Objects that are referenced from packages are resolved by using queries that use the governors from their package. Objects that are defined in the data module use the governors of the data module, thus the default governor values for the dynamic query mode.

For example, VIEW_ONE can include references to package A, and VIEW_TWO - references to package B. These views might be related, and referenced by another view, VIEW_THREE. In this example, the governors are applied in the following way:
  • The query formed for VIEW_ONE uses the governors from package A.
  • The query formed for VIEW_TWO uses the governors from package B.
  • The query formed for VIEW_THREE uses the governors that were assumed by the data module when the data returned by VIEW_ONE and VIEW_TWO was joined.

For information about joining objects from different packages in a data module, see Creating custom tables.