AW: Original design approach to Oracle REDO Logs

From: Michael D O'Shea/Woodward Informatics Ltd <woodwardinformatics_at_strychnine.co.uk>
Date: Fri, 18 Jun 2021 15:57:40 +0100
Message-Id: <0868DDB7-E435-47EB-93ED-122F021D1AA5_at_strychnine.co.uk>



To play devils advocate, wouldn’t the dynamic addition of the „set“ columns into the „where“ clause play havoc with the execution plan stability? Think adaptive cursor sharing.

Mike

http://www.strychnine.co.uk

> Am 18/06/2021 um 15:15 schrieb Clay Jackson (Redacted sender "Clay.Jackson" for DMARC) <dmarc-noreply_at_freelists.org>:
>
> MWF wrote:
> “At the query level I wonder if permuting the query when it can be certainly iso-functional as
> update someTable
> set someColumn1 = 1.234
> becomes
> update someTable
> set someColumn1 = 1.234
> where someColumn1 != 1.234”
>
> I almost can’t believe I’m suggesting this; but is there a nugget of an “enhancement” request in there? I could see cases where if the optimizer was going to do an index lookup (i.e. there was a unique index on that column), OR, a full table scan (i.e. NO other path) a query rewrite might give some dramatic results (I think any paths other than “direct index” or full table scan would probably not be deterministic enough to “take a chance”).
>
> Clay Jackson

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 18 2021 - 16:57:40 CEST

Original text of this message