RE: Disable WAL logging to speed up data loading

From: "tsunakawa(dot)takay(at)fujitsu(dot)com" <tsunakawa(dot)takay(at)fujitsu(dot)com>
To: 'Kyotaro Horiguchi' <horikyota(dot)ntt(at)gmail(dot)com>, "sfrost(at)snowman(dot)net" <sfrost(at)snowman(dot)net>
Cc: "laurenz(dot)albe(at)cybertec(dot)at" <laurenz(dot)albe(at)cybertec(dot)at>, "osumi(dot)takamichi(at)fujitsu(dot)com" <osumi(dot)takamichi(at)fujitsu(dot)com>, "magnus(at)hagander(dot)net" <magnus(at)hagander(dot)net>, "robertmhaas(at)gmail(dot)com" <robertmhaas(at)gmail(dot)com>, "masao(dot)fujii(at)oss(dot)nttdata(dot)com" <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, "ashutosh(dot)bapat(dot)oss(at)gmail(dot)com" <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: Disable WAL logging to speed up data loading
Date: 2020-11-20 00:32:38
Message-ID: TYAPR01MB29901FC7D78D5228C681EAC5FEFF0@TYAPR01MB2990.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
> At Thu, 19 Nov 2020 11:04:17 -0500, Stephen Frost <sfrost(at)snowman(dot)net>
> > * Laurenz Albe (laurenz(dot)albe(at)cybertec(dot)at) wrote:
> > > I missed that this is only a warning when I looked at it before.
> > > Yes, it should be a fatal error.
> >
> > Yeah, the more that I think about it, the more that I tend to agree with
> > this. Does anyone want to argue against changing this into a FATAL..?
>
> I don't come up with a use case where someone needs to set
> wal_level=minimal for archive recovery. So +1 to change it to FATAL.

Thank you all. I'd like to give Osumi-san an opportunity to write a patch and showing the evidence of successful test if you don't mind. He is very young and newbie to Postgres, so even a small contribution would encourage him to make further contributions.

Regards
Takayuki Tsunakawa

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message James Hilliard 2020-11-20 00:33:14 [PATCH 1/1] Fix compilation on mac with Xcode >= 11.4.
Previous Message Kyotaro Horiguchi 2020-11-20 00:22:05 Re: Disable WAL logging to speed up data loading