Re: Orphan files filling root partition after crash - Mailing list pgsql-general

From Dimitrios Apostolou
Subject Re: Orphan files filling root partition after crash
Date
Msg-id 07f2e362-24a2-f382-decb-c90025ce2d87@gmx.net
Whole thread Raw
In response to Re: Orphan files filling root partition after crash  (Sergey Fukanchik <fukanchik@gmail.com>)
List pgsql-general
Hi Sergey,

On Wed, 28 Feb 2024, Sergey Fukanchik wrote:

> Hi Dimitrios,
> Do you have wal archiving enabled?
> $PGDATA/pg_wal/ is a bit different from tablespaces (including
> "default" one). It stores transaction journal.

I don't think I have WAL archiving enabled. Here are the relevant WAL
options in my config:

wal_compression = zstd
max_wal_size = 8GB
min_wal_size = 1GB
track_wal_io_timing = on
wal_writer_flush_after = 8MB

The issue happens because the WAL directory is by default in the same
filesystem with the default tablespace (root partition for Ubuntu). So
when the default tablespace filled up because of my ALTER TABLE operation,
there was no space for WAL either.


Thanks,
Dimitris




pgsql-general by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Sv: PostgreSQL Read-only mode usage
Next
From: Francisco Olarte
Date:
Subject: Re: PostgreSQL Read-only mode usage