pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: satish v <vuyyuru.satish59@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Handling Huge wal files
Date: Mon, 19 Jul 2021 12:53:57 +0200
Message-ID: <fbb96780da626ce97d9a44b9015f517af162f1ab.camel@cybertec.at> (raw)
In-Reply-To: <CAPG-CvX_a-c9ix7SdzExKV6_rpkFV8c-yr-k5mE47UWHu+9wyQ@mail.gmail.com>
References: <CAPG-CvX_a-c9ix7SdzExKV6_rpkFV8c-yr-k5mE47UWHu+9wyQ@mail.gmail.com>

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






view thread (2+ messages)

Message-ID: <fbb96780da626ce97d9a44b9015f517af162f1ab.camel@cybertec.at>
Permalink:  ../fbb96780da626ce97d9a44b9015f517af162f1ab.camel@cybertec.at/
Also on:    postgresql.org/message-id/fbb96780da626ce97d9a44b9015f517af162f1ab.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, vuyyuru.satish59@gmail.com
  Subject: Re: Handling Huge wal files
  In-Reply-To: <fbb96780da626ce97d9a44b9015f517af162f1ab.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox