Function of Predicate
Describes any index, join, or residual conditions applied for specific AMP steps in a query.
Predicate Table Definition
The following CREATE TABLE request defines the Predicate table:
CREATE TABLE Predicate ( PredicateID INTEGER NOT NULL, StepID INTEGER NOT NULL, PredicateKind CHARACTER(1) NOT NULL, PredicateText VARCHAR(2000) CHARACTER SET UNICODE NOT CASESPECIFIC NOT NULL Overflow CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC Complete CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC) UNIQUE PRIMARY INDEX PK_PredID (PredicateID);
Attribute Definitions for Predicate
The following table defines the Predicate table attributes:
Attribute | Description |
---|---|
PredicateID |
|
StepID | Unique identifier for the AMP step. |
PredicateKind | Describes the predicate condition associated with this step.
|
PredicateText | Full text of the predicate in the EXPLAIN report. |
Overflow | Contains a value of T if the predicate text is greater than 2000 characters. Otherwise, contains a value of F. |
Complete | Contains a value of T if the complete predicate text is saved in the predicate table or qryrelx table. If a LIMIT clause exists and the specified limit size is less than the actual predicate size, then this field contains a value of F. |