From: luis.roberto@siscobra.com.br
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Effective IO Concurrency
Date: Mon, 14 Sep 2020 13:25:45 -0300 (BRT)
Message-ID: <330249832.8108571.1600100745617.JavaMail.zimbra@siscobra.com.br> (raw)
In-Reply-To: <4637f0e5-d3fa-2ff3-64e8-3835ec67e67c@gmail.com>
References: <347986270.6604014.1600090766280.JavaMail.zimbra@siscobra.com.br>
<f0f848f7e740481799440fe1453985edfd78fd32.camel@cybertec.at>
<4637f0e5-d3fa-2ff3-64e8-3835ec67e67c@gmail.com>
De: "Ron" <ronljohnsonjr@gmail.com>
Para: "pgsql-general" <pgsql-general@lists.postgresql.org>
Enviadas: Segunda-feira, 14 de setembro de 2020 13:10:23
Assunto: Re: Effective IO Concurrency
On 9/14/20 11:03 AM, Laurenz Albe wrote:
> On Mon, 2020-09-14 at 10:39 -0300, luis.roberto@siscobra.com.br wrote:
>> In PostgreSQL 13, the way of using effective_io_concurrency has changed. Until v12,
>> I used 200 for this value (using SSD drives). Using the new formula described in
>> https://www.postgresql.org/docs/13/release-13.html gives me 1176.
>> However, in the documentation https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-EFFECTIVE-IO-CONCURRENCY
>> it says that the maximum value allowed is 1000.
> Then use the value 1000...
I think he means that the formula should take that into account.
--
Angular momentum makes the world go 'round.
Exactly....
For future reference, and maybe a updated documentation:
SELECT least(round(sum(OLD / n::float)),1000) FROM generate_series(1, OLD) s(n)
I don't know how to write patches, so maybe someone can do that.
Thanks.
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: luis.roberto@siscobra.com.br, ronljohnsonjr@gmail.com
Subject: Re: Effective IO Concurrency
In-Reply-To: <330249832.8108571.1600100745617.JavaMail.zimbra@siscobra.com.br>
References: <347986270.6604014.1600090766280.JavaMail.zimbra@siscobra.com.br> <f0f848f7e740481799440fe1453985edfd78fd32.camel@cybertec.at> <4637f0e5-d3fa-2ff3-64e8-3835ec67e67c@gmail.com> <330249832.8108571.1600100745617.JavaMail.zimbra@siscobra.com.br>
* 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