Re: vacuum full is not reclaiming the space and showing non-removable rows
В списке pgsql-admin по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: vacuum full is not reclaiming the space and showing non-removable rows |
| Дата | |
| Msg-id | 19337.1479484872@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | vacuum full is not reclaiming the space and showing non-removable rows (rajan <vgmonnet@gmail.com>) |
| Ответы |
Re: vacuum full is not reclaiming the space and showing
non-removable rows
|
| Список | pgsql-admin |
rajan <vgmonnet@gmail.com> writes:
> We deleted(using a delete query) a lot of rows from the above table and did
> a vacuum full. But we are not able to reclaim the space(occupied by this
> table) and the result is showing that there are nonremovable rows.
There's an old open transaction somewhere that's possibly still able to
see those rows. Look for idle sessions in pg_stat_activity.
I don't remember at the moment whether prepared-but-uncommitted
transactions can hold back reclaiming dead data, but look into
pg_prepared_xacts as well.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера