Re: vacuum, performance, and MVCC

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: vacuum, performance, and MVCC
Date: 2006-06-22 17:23:45
Message-ID: 1150997025.745.137.camel@home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

--

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-06-22 17:29:35 Re: xlog viewer proposal
Previous Message D'Arcy J.M. Cain 2006-06-22 17:08:05 Re: vacuum, performance, and MVCC