VACUUM technical question

From: Ilia Kantor <algolist(at)manual(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: VACUUM technical question
Date: 2004-06-26 21:38:33
Message-ID: 1306808351.20040627013833@manual.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have a technical question about VACUUM

I assume all table data is kept in a single file
and each index has its single file also.

Also I assume that VACUUM cleans the file of 'dead pages' that consist
of dead rows only.

How does it manage to reduce file size without any locks ?
Or which locks are applied ?

--
Best regards,
Ilia mailto:algolist(at)manual(dot)ru

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aaron Burghardt 2004-06-26 21:39:24 Re: enable thready safety on Mac OS X 10.3.4
Previous Message Stephan Szabo 2004-06-26 20:31:50 Re: Trigger isn't fired