Conversation

I trust the author, so this probably isn't an April 1 post. But the claim is with Oracle: 1) trx1 writes a row, calls commit 2) trx2 reads that row, sees trx1 3) primary crashes & recovers, trx1 undone 4) trx2 re-reads that row, doesn't see trx1
Quote Tweet
A new blog post: Dirty Reads in @OracleDatabase (is Oracle ACID across failure?) dev.to/yugabyte/dirty
2
30
The reason is that the commit is made visible before it is made durable in redo. Am I missing something? Otherwise, this isn't a feature and it is funny that mighty Oracle would do this. You can configure MySQL to not force redo/WAL for InnoDB/MyRocks on commit to boost ...
2
8
I would be surprised if PG had this "feature". The real feature that PG has is the option to set synchronous_commit=off, in which case you are explicitly allowing for commits to disappear assuming a unexpected server restart.
2
Show replies