Re: Disable WAL logging to speed up data loading - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Disable WAL logging to speed up data loading
Date
Msg-id 81ec3320-b43f-affd-5681-56be65bcce5f@oss.nttdata.com
Whole thread Raw
In response to RE: Disable WAL logging to speed up data loading  ("osumi.takamichi@fujitsu.com" <osumi.takamichi@fujitsu.com>)
Responses Re: Disable WAL logging to speed up data loading
RE: Disable WAL logging to speed up data loading
List pgsql-hackers

On 2020/09/30 12:10, osumi.takamichi@fujitsu.com wrote:
> Hello, Ashutosh
> 
>> Can they use a database with all unlogged tables?
> Unfortunately, no. They want to switch a cluster condition to "without WAL logging"
> only when they execute night bulk loading for their data warehouse.
> In other words, they would like to keep their other usual operations with WAL.
> In addition, using all tables as unlogged brings about
> the risk to lose data warehouse's data caused by an unexpected server crash or power outage.

But the same issue can happen even in the proposed approach
because Tsunakawa-san explains as follows?

> The server refuses to start (pg_ctl start fails) after an abnormal shutdown due to power outage, pg_ctl's immediate
shutdown,etc, showing a straightforward message like MySQL.
 

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #16419: wrong parsing BC year in to_date() function
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: New statistics for tuning WAL buffer size