Re: Handling Huge wal files

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: satish v <vuyyuru(dot)satish59(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Handling Huge wal files
Date: 2021-07-19 10:53:57
Message-ID: fbb96780da626ce97d9a44b9015f517af162f1ab.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 2021-07-19 at 16:01 +0530, satish v wrote:
> we are using the postgresql, we have to table avg 1500 records which stores the documents.
> when i am deleting the records of 4 days there are huge number of huge files are generated
> and getting the error like 'requested wal files are already removed'.
> max_wal_size is 32GB.
> How to handle these scenarios.

Use a replication slot.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Yambu 2021-07-19 12:39:08 Log zipping
Previous Message Laurenz Albe 2021-07-19 10:53:13 Re: pg_dump and locks