Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 01 Jun 2010 @ 09:59:23 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Performance of a procedure using Cursor
From:   danlinstedt

Don't use a cursor! Cursors are for transaction by transaction based execution (row by row). You'll need to switch to "block style" processing - that is, processing 100,000 or more rows per "statement" in order to get performance. Even in Oracle, cursors like this will always be slow.

Hope this helps,

Dan Linstedt

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023