truncating or full vacuuming

From: Viktor Bojović <viktor(dot)bojovic(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: truncating or full vacuuming
Date: 2010-10-20 14:27:15
Message-ID: AANLkTinj7UQa1_BSLCa7N8iWbQL9=0uz42SsZofTCUHb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

while creating an index on billion records table i have canceled creation
because index took me ~70GB of space.
When I looked into disk space i saw that space is still occupied , and the
index doesn't exist.
I have started full vacuuming but it still runs after three days, so i
wanted to ask if there is some other way to free that space.
Would it be better if i truncate table and insert all records again (costs
~1.5 day) or is there some other solution?

Thanx in advance
--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-10-20 14:50:28 Re: truncating or full vacuuming
Previous Message Merlin Moncure 2010-10-20 14:11:22 Re: drop view with out cascading the dependents