Re: xmin and very high number of concurrent transactions

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Vijaykumar Jain <vjain(at)opentable(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: xmin and very high number of concurrent transactions
Date: 2019-03-12 19:40:33
Message-ID: 2f281edd-5a4e-c429-8e73-67b4a811baa7@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/12/19 12:19 PM, Vijaykumar Jain wrote:
> I was asked this question in one of my demos, and it was interesting one.
>
> we update xmin for new inserts with the current txid.

Why?

> now in a very high concurrent scenario where there are more than 2000
> concurrent users trying to insert new data,
> will updating xmin value be a bottleneck?
>
> i know we should use pooling solutions to reduce concurrent
> connections but given we have enough resources to take care of
> spawning a new process for a new connection,
>
> Regards,
> Vijay
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vijaykumar Jain 2019-03-12 20:02:23 Re: [External] Re: xmin and very high number of concurrent transactions
Previous Message Vijaykumar Jain 2019-03-12 19:19:29 xmin and very high number of concurrent transactions