From: Bruce Momjian <bruce@momjian.us>
To: Naveen Sankineni <nsankineni@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Commit Delay
Date: Thu, 30 Apr 2020 19:33:54 -0400
Message-ID: <20200430233354.GB31272@momjian.us> (raw)
In-Reply-To: <CAOOQyJKp-zPNCPLvYoL+GES22iRv8uXLK3Jh7FsvoH2MDK9rBQ@mail.gmail.com>
References: <CAOOQyJKp-zPNCPLvYoL+GES22iRv8uXLK3Jh7FsvoH2MDK9rBQ@mail.gmail.com>
On Thu, Apr 30, 2020 at 07:31:01PM -0400, Naveen Sankineni wrote:
> Hello ,
>
> I would need your advice on which parameter is least impacted in terms of Data
> Loss if we wanted to set .
> One of our Database is waiting on I/O when there is a batch operation that runs
> to Insert/Delete table data is impacting the small updates that runs on a
> continuous basis where it shows that wait is on walwritelock.
>
> commit_delay
> synchronous_commit
The full list is here:
https://www.postgresql.org/docs/12/non-durability.html
I would say synchronous_commit.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
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-admin@postgresql.org
Cc: bruce@momjian.us, nsankineni@gmail.com
Subject: Re: Commit Delay
In-Reply-To: <20200430233354.GB31272@momjian.us>
References: <CAOOQyJKp-zPNCPLvYoL+GES22iRv8uXLK3Jh7FsvoH2MDK9rBQ@mail.gmail.com> <20200430233354.GB31272@momjian.us>
* 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