BUG #16311: Zero sized WAL archive logs on DAS - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16311: Zero sized WAL archive logs on DAS
Date
Msg-id 16311-896f011126d13c12@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16311
Logged by:          vamsi krishna
Email address:      ss.vamsikrishna@gmail.com
PostgreSQL version: 12.1
Operating system:   Centos 7.6
Description:

Hi PG support,
I am having this issue with PostgreSQL 12.1, on Centos 7.6. When I lose
server suddenly, I see a lot of empty zero-sized WAL files in the archive
logs. I have enabled the archive logs on the .conf. This archive log is
present on a DAS LVM disk on the server. Why are there so many empty
zero-sized WAL files in the archive logs, why it did not sync? Is this a
known issue with PostgreSQL, I have seen the same behavior with PostgreSQL
9.6 as well. I have been deleting these zero-sized WAL files or populating
it to 16MB for recovery. What does usually DBA do to tackle these zero-sized
WAL files?
Thanks and best regards
Krishna


pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: Negative cost is seen for plan node
Next
From: Andres Freund
Date:
Subject: Re: BUG #16293: postgres segfaults and returns SQLSTATE 08006