VACUUM technical question - Mailing list pgsql-general

From Ilia Kantor
Subject VACUUM technical question
Date
Msg-id 1306808351.20040627013833@manual.ru
Whole thread Raw
Responses Re: VACUUM technical question  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@manual.ru


pgsql-general by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Problems restarting after database crashed (signal
Next
From:
Date:
Subject: max_fsm_pages