Re: Doubt in mvcc - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Doubt in mvcc
Date
Msg-id 3a94bd23-871c-571b-7f2c-adf9ee405f56@aklaver.com
Whole thread Raw
In response to Doubt in mvcc  (Rama Krishnan <raghuldrag@gmail.com>)
List 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.klaver@aklaver.com



pgsql-general by date:

Previous
From: Srinivasa T N
Date:
Subject: Re: PostgresQL 12 - could not connect to server: FATAL: the database system is in recovery mode
Next
From: Stephen Frost
Date:
Subject: Re: Safe switchover