updating a table with the same value

  • From: ahmed.fikri@xxxxxxxxxxx
  • To: list oracle <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 8 Dec 2022 16:28:16 +0100 (CET)


Hello, everyone,

Could someone please tell if following queries produce the same amount of 
REDO/UNDO?

1) update table foo set status = 0;
2) update table foo set status = 1;

In both cases the status for all records is 0.

Are all blocks rewritten in both cases?

I’m using Oracle 19.3

Thanks
Ahmed



Gesendet mit der Telekom Mail App
<http://www.t-online.de/service/redir/emailmobilapp_ios_smartphone_footerlink.htm>

Other related posts: