Re: Need help to make space on my database

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Cocam' server <cocamserver(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Need help to make space on my database
Date: 2024-04-29 17:34:12
Message-ID: 083dcec070821812a08fec75d0a5c0bfd461ae21.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2024-04-29 at 15:45 +0200, Cocam' server wrote:
> I need help to make space on my database. I have tables that are several GB in size.
> I used to use the VACUUM FULL VERBOSE command; but now, this command is too greedy in
> free space to be used and I'm looking for a way to make free space (given back to the OS)

If you don't have enough disk space for a VACUUM (FULL), your only option is
pg_dump / DROP DATABASE / CREATE DATABASE / restore.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-04-29 19:28:25 Re: Need help to make space on my database
Previous Message Cocam' server 2024-04-29 15:51:36 Re: Need help to make space on my database