Re: Is there a way to SubPartition?

Поиск
Список
Период
Сортировка
Искать
От
Matthew Wakeling
Тема
Re: Is there a way to SubPartition?
Дата
Msg-id
alpine.DEB.1.10.0808271506500.4454@aragorn.flymine.org
Ответ на
Список
Дерево обсуждения
Is there a way to SubPartition? Jerry Champlin <jchamplin@absolute-performance.com>
Re: Is there a way to SubPartition? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is there a way to SubPartition? "Jerry Champlin" <jchamplin@absolute-performance.com>
Re: Is there a way to SubPartition? Alvaro Herrera <alvherre@commandprompt.com>
Re: Is there a way to SubPartition? Tom Lane <tgl@sss.pgh.pa.us>
Re: Is there a way to SubPartition? Matthew Wakeling <matthew@flymine.org>
On Wed, 27 Aug 2008, Jerry Champlin wrote:
> After it's a day old, there are no longer any updates or inserts and we 
> can vacuum it at that point.

A pattern that has worked very well for other people is to have two 
separate tables (or partitions). One contains today's data, and the other 
contains historic data that is no longer updated. Once a day, transfer the 
data between the partitions, and the historic data partition will not need 
vacuuming.

Some changes to your code will be needed however.

Matthew

-- 
Vacuums are nothings. We only mention them to let them know we know
they're there.
В списке pgsql-performance по дате отправления
От: Tom Lane
Дата:
От: Shane Ambler
Дата:
FAQ