From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Rama Krishnan <raghuldrag(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Doubt in mvcc |
Date: | 2020-07-13 14:10:23 |
Message-ID: | 3a94bd23-871c-571b-7f2c-adf9ee405f56@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2020-07-13 15:47:22 | Re: Safe switchover |
Previous Message | Srinivasa T N | 2020-07-13 14:07:58 | Re: PostgresQL 12 - could not connect to server: FATAL: the database system is in recovery mode |