Re: vacuum, performance, and MVCC

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: vacuum, performance, and MVCC
Дата
Msg-id 1150997025.745.137.camel@home
обсуждение исходный текст
Ответ на Re: vacuum, performance, and MVCC  (Chris Browne <cbbrowne@acm.org>)
Список pgsql-hackers
> > Here we have for example some tables which are frequently updated but
> > contain >100 million rows. Vacuuming that takes hours. And the dead row
> > candidates are the ones which are updated again and again and looked up
> > frequently...
> 
> This demonstrates that "archival" material and "active" data should be
> kept separately.
> 
> They have different access patterns; kludging them into the same table
> turns out badly.

Rightfully it should be up to the database engine to ensure that both of
these patterns work against the same structure. Splitting up the data
for their access patterns is the job of partitions (hidden from the end
user preferably).

Same table good, same partition and possible same table space is bad.



-- 



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

Предыдущее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: Tom Lane
Дата:
Сообщение: Re: xlog viewer proposal