Home | Previous Page | Next Page   Tuning Specific Queries and Transactions > Tuning DSS Queries >

Prevent or Encourage Push-Down Hash Joins

For some star and snowflake schemas, you might want to manage push-down hash joins explicitly.

Tip:
To turn off push-down hash joins for a session, execute SET ENVIRONMENT PUSHDOWN OFF. For more information, see the IBM Informix: Extended Parallel Server Administrator's Reference.

Two environment variables allow users to specify when the optimizer can and cannot choose a push-down hash join. For information about push-down hash joins, see Push-Down Hash Join.

You can use either or both of the environment variables. That is, to increase the possibility of push-down hash joins, you might use only the IFMX_OPT_FACT_TABS environment variable. To decrease the possibility of push-down hash joins, you might use only the IFMX_OPT_NON_DIM_TABS environment variable. To fine-tune use of push-down hash joins, you might use both environment variables.

The format for these environment variables is as follows:

VARIABLE [<database_name:][<owner>.]<table_name>, ...

If the database name or owner is not specified, the table can be in any database or belong to any owner.

Important:
IFMX_OPT_FACT_TABS and IFMX_OPT_NON_DIM_TABS are global environment variables. To set or reset these variables, you must restart the database server before changes take effect.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]