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

Is the popular opinion that DELETE ALL doesnt use the Transient Journal true? - response (6) by dnoeth

$
0
0

Hi Nishant,
it's a FastPath Delete when there's no Trigger/Foreign Key/Join Index and it's known to the optimizer that it will be commited. i.e. the explain must show the END TRANSACTION step.
For ANSI sessions using a multistatement request:

DELETE FROM tab
;COMMIT;

For explicit transaction in Teradata sessions using a multistatement request:

BT;
...
DELETE FROM tab
;ET; --multistatement request

without BT it's a simple

DELETE FROM tab;

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>