Re: PG optimization question

Поиск
Список
Период
Сортировка
От Ludwik Dylag
Тема Re: PG optimization question
Дата
Msg-id 2fe468a21001091058q75074529p7674611926b9daa5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG optimization question  (Nickolay <nitro@zhukcity.ru>)
Список pgsql-performance
2010/1/9 Nickolay <nitro@zhukcity.ru>
Okay, I see your point with staging table. That's a good idea!
The only problem I see here is the transfer-to-archive-table process. As you've correctly noticed, the system is kind of a real-time and there can be dozens of processes writing to the staging table, i cannot see how to make the transfer/flush process right and clear...

The simplest way to do this is to create view and add/remove first/last day by recreating the view on daily interval.

--
Ludwik Dyląg

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

Предыдущее
От: Nickolay
Дата:
Сообщение: Re: PG optimization question
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: PG optimization question