R: Autovacuum and frequent pg_bulkload

Поиск
Список
Период
Сортировка
От Job
Тема R: Autovacuum and frequent pg_bulkload
Дата
Msg-id 88EF58F000EC4B4684700C2AA3A73D7A08054EAEBAE2@W2008DC01.ColliniConsulting.lan
обсуждение исходный текст
Ответ на Re: Autovacuum and frequent pg_bulkload  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: R: Autovacuum and frequent pg_bulkload  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi Adrian,
Thank you for your fast reply!

>FYI, Postgres 8.4 is over two years past EOL.
Yes, i am aware; we will migrate next year but for application compatibility reason we have at the moment to the remain
here..


>What are the steps in the load/delete cycle?

We need to load, with pg_bulkload, log datas for reporting.
We load every hours about one million of row and twice a day we generated aggregated report.
Then we delete old rows (we cannot use truncate because we only delere rows older than 24 hours).
I think, but i can be wrong, that pg_bulkload do not reuse free space marked previously by the delete..

Only vacuum full empty free space, but tablea became locked.

Thank you
Francesco

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Autovacuum and frequent pg_bulkload
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: R: Autovacuum and frequent pg_bulkload