Support Article
Optimser hint is not used in RDB-List
SA-19815
Summary
An optimizer hint was specified in the Browse SQL for a Connect SQL rule. However, this hint is not present in the SQL sent to the database.
Error Messages
Not Applicable
Steps to Reproduce
Specify an optimizer hint in the SQL for a Connect SQL rule.
Root Cause
Pega filters out data that is considered to be comments in the custom SQL contained in RDB-List rules. Oracle hints resemble comments and are filtered.
Resolution
Specify the hints using Asls keyword.
Refer to SA-10763 support article on the PDN. Its link is given below.
https://pdn.pega.com/support-articles/slow-performance-query-ignoring-prpc-hint
The Help file page for Connect SQL form - Data mapping contains more information on the AsIs keyword and its use. Search for AsIs in Help.
Published February 18, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.