MaxNumInListRewrite - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-15
dita:mapPath
boh1556732696163.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

Specifies the maximum number of IN-lists in a single query that can use IN-list rewrite query processing.

Field Group

Performance

Valid Range

0 through 100

Default

2

Changes Take Effect

After the DBS Control Record has been written.

Usage Notes

Increasing the number of per-query IN-lists in rewrite processing requires more search space for join planning. Large values for MaxNumInListRewrite can lead to an increase in query parsing time. Teradata recommends that you keep this value under 10.

Setting this field to 0 effectively disables IN-list rewrite processing.

Related Topics

  • For more information on large IN-list processing, see Teradata Vantage™ - SQL Request and Transaction Processing, B035-1142.
  • For information on other DBS Control fields related to IN-list processing, see InListRewriteOption and InListRewriteThreshold.