
Chapter 11. Environmental settings that affect SQL performance 389
this problem, programming interfaces were enhanced to give application developers greater
control of the cursor sensitivity setting.
The default setting of ASENSITIVE is the best performing option because it allows the query
optimizer to use its complete set of algorithms when deciding on the best method for
implementing a query. Utilization of an algorithm that makes a copy of the data (e.g., hashing)
can drastically improve performance and other queries where performance is better when
copies of the data are avoided. The ASENSITIVE setting gives the query optimizer the
freedom ...