public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: 이현진 <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: SQL Server's WITH (NOLOCK) equivalent in PostgreSQL?
Date: Sun, 30 Mar 2025 22:10:54 -0700
Message-ID: <CAKFQuwYCj-gXZuyrwpP-jycbgH2_HmEsNWvJNDqr0WT2fEp8_A@mail.gmail.com> (raw)
In-Reply-To: <CAH0WOV4JhR3OgjNg69h-ZY9o1ooWq=32aa4GrSL5a3y41nApHQ@mail.gmail.com>
References: <CAH0WOV4JhR3OgjNg69h-ZY9o1ooWq=32aa4GrSL5a3y41nApHQ@mail.gmail.com>
On Sunday, March 30, 2025, 이현진 <[email protected]> wrote:
>
> Since PostgreSQL uses MVCC, I'm wondering what the best practice is for
> non-blocking reads,
> and whether there's an equivalent to dirty reads or READ UNCOMMITTED.
>
https://www.postgresql.org/docs/current/transaction-iso.html
We are unable to implement read uncommitted because of our choice to
implement MVCC. There is no equivalent because the fundamental operating
decisions doesn’t allow for one.
If you don’t pre-suppose the solution of dirty reads and instead supply a
use case and desired constraints maybe an alternative approach for that use
case could be suggested.
David J.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: SQL Server's WITH (NOLOCK) equivalent in PostgreSQL?
In-Reply-To: <CAKFQuwYCj-gXZuyrwpP-jycbgH2_HmEsNWvJNDqr0WT2fEp8_A@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox