Re: Pet Peeves?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Pet Peeves?
Дата
Msg-id 1233735644.4500.224.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: Pet Peeves?  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-general
On Wed, 2009-02-04 at 02:39 +0000, Greg Stark wrote:
> On Tue, Feb 3, 2009 at 10:06 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> >
> > On Tue, 2009-02-03 at 15:03 -0500, Chris Mayfield wrote:
> >
> >> 1. Having to rewrite entire tables out to disk the first time I scan
> >> them, for example:
> >>
> >> CREATE TABLE t1 AS ...; -- writes 100 GB to disk
> >> CREATE INDEX i1 ON t1 ...; -- rewrites 100 GB to disk
> >>
> >> The main issue is setting the hint bits for each tuple, which IMO should
> >> initially be set for "CREATE TABLE AS" statements.  To work around this
> >> for now, I modified heap_insert (in heapam.c) to mark tuples as
> >> committed when inserting them into newly added pages without WAL:
> >
> > I'll take this for 8.5.
>
> This was proposed once already and some difficulties were identified.
> Do you remember what they were?

Time, mainly. Technical issues were not insurmountable, just more subtle
than I had originally thought.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Pet Peeves?
Следующее
От: "Karsten Hilbert"
Дата:
Сообщение: Re: Pet Peeves?