Re: pgstattuple, vacuum and free_space

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: pgstattuple, vacuum and free_space
Дата
Msg-id 9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.com
обсуждение исходный текст
Ответ на pgstattuple, vacuum and free_space  (Colton Smith <smith@skio.peachnet.edu>)
Ответы Re: pgstattuple, vacuum and free_space
Список pgsql-admin
On 11/24/05, Colton Smith <smith@skio.peachnet.edu> wrote:
My question: when you vacuum a table and generate 'free_space', who is
allowed to consume this 'free_space'? Is it released to the OS for
general use? Or is it reserved just for the database? If the latter, is
it reserved just for 'wind' (in this case)?


as far as i know this space is mapped as free witinh data-files of table "wind".
thus effectivelyu - your OS doesnt get more free space, nor is (generally speaking) the database.
benefit of this "free space" is that next inserts to wind table will fit inside of this free space - thus stopping bloat of datafiles of this table.

if you would like to reclaim the disk-space, you should consider using vacuum full.

depesz

В списке pgsql-admin по дате отправления:

Предыдущее
От: Colton Smith
Дата:
Сообщение: query planning and partitioned tables
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Problems when initdb on WinXP with SP2.