Option
|
JoinAlgorithmVariable
|
DAM_CONN_OPTION_INDEX_OPTIMIZATION
Use this option to disable the default optimization that the OpenAccess SDK SQL engine provides to identify a search column. This option should not be changed unless your IP uses one of the other methods for getting the condition from the query. Valid values are:
• DAM_INDEX_IGNORE_NONE (default), perform default optimization.
• DAM_INDEX_IGNORE_ALL, disable default optimization.
|
SkipPickingSearchCondition:
• FALSE (default), option value is DAM_INDEX_IGNORE_NONE.
• TRUE, option value is DAM_INDEX_IGNORE_ALL.
|
DAM_CONN_OPTION_JOINORDER_USING_FKEY
Use this option to disable the use of OA_FKEYS information when determining the join order. Valid values are:
• DAM_PROCESSING_ON (default), make use of foreign keys in determining the join order as detailed in the Join Processing section.
• DAM_PROCESSING_OFF, ignore foreign keys in determining the join order.
|
SkipFkeyOrdering:
• FALSE (default), option value is DAM_PROCESSING_ON.
• TRUE, option value is DAM_PROCESSING_OFF.
|
DAM_CONN_OPTION_JOINORDER_USING_ SEARCHCONDITION
Use this option to disable the use of search conditions when determining the join order. Valid values are:
• DAM_PROCESSING_ON (default), make use of search conditions in determining the join order as detailed in the Join Processing section.
• DAM_PROCESSING_OFF, ignore search conditions in determining the join order.
|
SkipSearchConditionOrdering:
• FALSE (default), option value is DAM_PROCESSING_ON.
• TRUE, option value is DAM_PROCESSING_OFF.
|
DAM_CONN_OPTION_JOINORDER_USING_ STARJOIN
Use this option to explicitly enable star join detection and optimization. Valid values are:
• DAM_PROCESSING_ON –enable star join detection and optimization.
• DAM_PROCESSING_OFF (default) – disable star join detection and optimization.
|
• FALSE (default), option value is DAM_PROCESSING_OFF.
• TRUE, option value is DAM_PROCESSING_ON.
|
DAM_CONN_OPTION_JOINORDER_USING_STATISTICS
Determines whether the OpenAccess SDK SQL engine considers the cost-based join order algorithm when determining the order to join tables when executing a query.
Valid values are:
• DAM_PROCESSING_OFF (default) – do not use the cost-based join order algorithm to determine the table join order.
• DAM_PROCESSING_ON – use the cost-based join order algorithm to determine the table join order. Whether the cost-based join order algorithm is actually used depends on whether conditions are met in the priority hierarchy for join algorithms. See Join algorithm for more information.
|
• FALSE (default), option value is DAM_PROCESSING_OFF.
• TRUE, option value is DAM_PROCESSING_ON.
|
DAM_CONN_OPTION_JOINORDER_VERIFY_INDEX_ ON_JOIN_ CONDITION
Use this option to force the OpenAccess SDK SQL engine to check whether inner tables have an index on the join conditions, when deciding the join ordering based on search condition or foreign keys. If inner tables do not have index on join conditions, the join ordering should not be used. Valid values are:
• DAM_PROCESSING_OFF (default), do not check indexes on join conditions.
• DAM_PROCESSING_ON, check indexes on join conditions.
Example:
If the IP does not have an index on Foreign Keys, setting this option ensures that foreign key tables are not processed as inner tables.
|
CheckIndexOnJoinCond:
• FALSE (default), option value is DAM_PROCESSING_OFF.
• TRUE, option value is DAM_PROCESSING_ON.
|