I have a Postgresql DB with a total size of 1.7TB. Out of which 1.6TB is occupied by one table. The total disk space was 1.7TB so I am now out of Disk space.
I cannot run Vacuum on it, I tried truncating few tables and then used the available space to run Vacuum o the other tables and was able to get some space. But the problem is that I cannot run a Vacuum on the table which is occupying 99% of the space.
So I tried to take the backup so that I can truncate this table. The backup is running and the size of the backup has grown past 3TB and still growing.
I am new to PostgreSQL and have no idea how to handle this situation.
I have a temporary 4TB space that I am using to take the backup but I am afraid this backup is going to grow more than the available space.
Any help/guidance will be highly appreciated.