Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 15 Sep 2006 @ 17:53:18 GMT


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


Subj:   Re: DIrty Reads and Multiload locks
 
From:   John Graas

  When you create/replace your "dirty read views" make sure that you include 'LOCKING TABLE databasename.tablename FOR ACCESS' in the DDL statement. This should allow you to access the underlying tables while the data is being loaded and prevent any lock contentions.  


Easier now is to add the clause "LOCKING ROW FOR ACCESS"

This will cover all tables in the Select SQL. Teradata will upgrade ACCESS locks to the TABLE level when required, but will only use row locks (single AMP) when it can.


jdg

www.jgraas.com



     
  <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