Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Teradata Lock in Insert Statement - response (1) by dnoeth

$
0
0
There are two lock levels in Teradata: table: sessions block each other hash: sessions can do transactions simultaniously unless they try to access the same RowHash (e.g. use the same PI values) or need a table level lock. INSERT VALUES locks on a RowHash level. An Insert/Select will be blocked, a Delete/Update specifying the PI will succed. When you don't see a locking step in Explain it's a hash lock. Dieter

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>