Re: PostgreSQL reclaiming table space

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL reclaiming table space
Дата
Msg-id 8149.1338224472@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL reclaiming table space  (Anthony Bull <antsbull@gmail.com>)
Список pgsql-general
Anthony Bull <antsbull@gmail.com> writes:
> About 3 hours after the Vacuum full completed, the disk space got returned
> to the OS - now Windows is reporting it has all that disk back.  Must have
> been waiting for something?  Anyway, great news!

Probably means that some session was holding on to an open-file pointer
to the old copy of the table.  It's difficult to ensure that such
pointers are released quickly without causing performance degradation
for normal cases.  (But having said that, I think we've fixed some bugs
in which pointers were held open unnecessarily.  You didn't say exactly
how old a PG version you were using ...)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [GENERAL] Forcefully adding a CHECK constrained
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Deleting, indexes and transactions