From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rama Krishnan <raghuldrag@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Doubt in mvcc
Date: Mon, 13 Jul 2020 07:10:23 -0700
Message-ID: <3a94bd23-871c-571b-7f2c-adf9ee405f56@aklaver.com> (raw)
In-Reply-To: <CAJWX+EP+gabLLBDExnXhi=JNre=xPRo5REAku7FXR6VZFKBBKg@mail.gmail.com>
References: <CAJWX+EMdFRBP3995Swt6FWgUvO7mvhAwa+2nBXsTmaWeNaB=jQ@mail.gmail.com>
<CAJWX+EP+gabLLBDExnXhi=JNre=xPRo5REAku7FXR6VZFKBBKg@mail.gmail.com>
On 7/13/20 12:31 AM, Rama Krishnan wrote:
>
>
> Hi sir,
>
> I m preparing for interview one of the recruiter asked me mvcc drawbacks
> as i told due to mvcc it use more space and need to perform maintenance
> activity.
>
> Another one is the same data causes an update conflict because two
> different transactions can update the same version of the row.
> he told its wrong, kindly tell me will you please tell me its correct
> or wrong?
It depends on what you are calling a conflict and what isolation level
you are in. Take a look at this section of the docs:
https://www.postgresql.org/docs/12/transaction-iso.html>
>
> Thanks
> RK
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, raghuldrag@gmail.com
Subject: Re: Doubt in mvcc
In-Reply-To: <3a94bd23-871c-571b-7f2c-adf9ee405f56@aklaver.com>
References: <CAJWX+EMdFRBP3995Swt6FWgUvO7mvhAwa+2nBXsTmaWeNaB=jQ@mail.gmail.com> <CAJWX+EP+gabLLBDExnXhi=JNre=xPRo5REAku7FXR6VZFKBBKg@mail.gmail.com> <3a94bd23-871c-571b-7f2c-adf9ee405f56@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox