Re: Pet Peeves?

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Chris Mayfield <cmayfiel(at)cs(dot)purdue(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pet Peeves?
Date: 2009-02-03 22:06:21
Message-ID: 1233698781.4500.204.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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.

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Browne 2009-02-03 22:36:02 Re: Pet Peeves?
Previous Message Daniel Verite 2009-02-03 21:50:14 Re: LIKE with pattern containing backslash