Re: Database block lifecycle

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database block lifecycle
Date: 2014-08-12 22:39:35
Message-ID: 53EA97A7.8090902@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/12/2014 3:29 PM, pinker wrote:
> yes, I know the count is quite high. It is the max value we've
> estimated, but probably on average day it will be 100-200, and yes we
> use pgpool.

if you're using a pooler, then why would you be using 200 concurrent
connections, unless you have a 50 or 100 CPU cores/threads ?

if you have 1000 transactions to execute on a 32 core server, and you
try and do 200 at once, it will take longer than if you do 64 at a time
and let the rest queue up.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pinker 2014-08-12 22:52:05 Re: Database block lifecycle
Previous Message pinker 2014-08-12 22:29:36 Re: Database block lifecycle