Re: Documenting serializable vs snapshot isolation levels

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Documenting serializable vs snapshot isolation levels
Дата
Msg-id 495DE0AB.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: Documenting serializable vs snapshot isolation levels  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Documenting serializable vs snapshot isolation levels  ("Robert Haas" <robertmhaas@gmail.com>)
Список pgsql-hackers
>>> Simon Riggs <simon@2ndQuadrant.com> wrote: 
> On Mon, 2008-12-29 at 18:13 -0600, Kevin Grittner wrote:
> 
>> I hope someone can show me something good I've missed so far.
> 
> You're viewing this in problem-exposed language, unintentionally I'm
> sure.
Hmmm....  My meaning was, "I hope someone can point me to a good paper
summarizing the nature and scope of possible anomalies, to save me
time casting about or thinking it through."  If that came of as
"there's nothing good about the current approach," I apologize.  That
was certainly not what I meant to convey.
> My viewpoint on this is that database concurrency is a big issue,
> but that the way we do things round here is a major leap forward on
the
> way things happened previously (and still do in older-style DBMS).
I absolutely agree.
> Our approach to serializable queries is an optimistic one in two
ways:
> It covers most cases, but not all theoretical cases.
Not sure about "most".  Referential integrity is a pretty common use
case, and it is not covered without explicit locking.  Many other
common use cases are not, either.  I agree many are, and that the rest
can be worked around easily enough that I wouldn't want to see
blocking introduced to the degree that non-MVCC databases use for
serializable access.
Thanks for pointing out a bad choice of words; no need for this to
become muddled over simple misunderstandings.
-Kevin


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: posix_fadvise v22
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Significantly larger toast tables on 8.4?