Re: effective_io_concurrency

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
Cc: Ron <ronljohnsonjr(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: effective_io_concurrency
Date: 2022-01-19 23:34:21
Message-ID: CAOC+FBWjekHCW-njN2xKHDkfN_SF=RY3ZFWARhbjeqjBuNvZsA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Looks like it's indeed 1 with an empty string in the RDS parameter groups.
Thanks all.

On Wed, Jan 19, 2022 at 3:19 PM Ian Lawrence Barwick <barwick(at)gmail(dot)com>
wrote:

> 2022年1月20日(木) 3:24 Wells Oliver <wells(dot)oliver(at)gmail(dot)com>:
> >
> > Understood: wanted to double check that an outright empty value would be
> understood by the server as 0, or otherwise.
>
> In standard PostgreSQL, if the configuration for an integer parameter
> is empty or an
> empty string, an error will be raised:
>
> postgres=# ALTER SYSTEM SET effective_io_concurrency = '';
> ERROR: invalid value for parameter "effective_io_concurrency": ""
>
> RDS is not standard PostgreSQL though, so something else might be
> going on there.
>
> Does:
>
> SELECT * FROM pg_settings WHERE name = 'effective_io_concurrency'
>
> show anything?
>
>
> Regards
>
> Ian Barwick
>
> > On Wed, Jan 19, 2022 at 9:46 AM Ron <ronljohnsonjr(at)gmail(dot)com> wrote:
> >>
> >> On 1/19/22 11:40 AM, Wells Oliver wrote:
> >>
> >> Hi all-- I notice in the default PG 13 settings for Postgres on RDS,
> effective_io_concurrency is empty, and doing a "show
> effective_io_concurrency" also shows an empty value-- what's the effect of
> this? That PG assumes 0 for the setting?
> >>
> >>
> >> https://www.postgresql.org/docs/13/runtime-config-resource.html
> >>
> >> "The allowed range is 1 to 1000, or zero to disable issuance of
> asynchronous I/O requests. Currently, this setting only affects bitmap heap
> scans."
> >>
> >> --
> >> Wells Oliver
> >> wells(dot)oliver(at)gmail(dot)com
> >>
> >>
> >> --
> >> Angular momentum makes the world go 'round.
> >
> >
> >
> > --
> > Wells Oliver
> > wells(dot)oliver(at)gmail(dot)com
>
>
>
> --
> EnterpriseDB: https://www.enterprisedb.com
>

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2022-01-20 01:27:48 COPY write load on primary impacting replica?
Previous Message Ian Lawrence Barwick 2022-01-19 23:19:39 Re: effective_io_concurrency