Dynamic Cursor Pre-Open

 <  Day Day Up  >  

Dynamic Cursor Pre- Open

In certain situations, DB2 automatically adds an OPEN cursor request to the PREPARE statement. By anticipating that a cursor is to be opened and doing so, DB2 optimizes performance by avoiding VTAM overhead.

To take advantage of dynamic cursor pre-open, the statement being prepared must be a SELECT statement, no parameter markers can be used, and the connection must be a DRDA connection.

 <  Day Day Up  >  


DB2 Developers Guide
DB2 Developers Guide (5th Edition)
ISBN: 0672326132
EAN: 2147483647
Year: 2004
Pages: 388

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net