Re: Archiving solutions - Mailing list pgsql-admin

From Rajesh Kumar
Subject Re: Archiving solutions
Date
Msg-id CAJk5AtaP5vk+5R9SmQ_H+-V9jct09vJxjpN+9Jt1u9zF==3CBQ@mail.gmail.com
Whole thread Raw
In response to Re: Archiving solutions  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: Archiving solutions
List pgsql-admin

What are regular housekeeping activities @Imran?

On Mon, 13 Jan 2025, 07:27 Ron Johnson, <ronljohnsonjr@gmail.com> wrote:
COPY exists, and is very fast.

In my experience, DELETE is quite fast when you:
1. have a supporting index, and 
2. don't try to delete too much in one statement.

Those are the only PG comments that I needed to archive a 6TB DB down to 2TB.

On Sun, Jan 12, 2025 at 3:42 PM kasem adel <kasemadel8@gmail.com> wrote:
Dears ,

Appreciate your support I have 2.4 TB database and I need to implement archiving solutions to prevent data growthing. 

Thanks 


--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Archiving solutions
Next
From: Imran Khan
Date:
Subject: Re: Archiving solutions