Re: COPY FREEZE and PD_ALL_VISIBLE

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COPY FREEZE and PD_ALL_VISIBLE
Date: 2015-10-23 00:59:25
Message-ID: CANP8+j+Ewz8JWjV9AyuLZZ2+zqeEp+7nw4nrS5HbTya1VBf4YQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 18 October 2015 at 17:23, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:

> I'm planning on adding a todo item to have COPY FREEZE set
> PD_ALL_VISIBLE. Or is there some reason this can't be done?
>
> Since the whole point of COPY FREEZE is to avoid needing to rewrite the
> entire table, it seems rather perverse that the first time the table is
> vacuumed, it needs to rewrite the entire table.
>

That's pretty darn weird. I remember measuring the benefit during testing.
I remember Jeff D was talking about removing that flag at that time, so
perhaps that's it.

Either way, my bug, my bad, thanks for the report.

--
Simon Riggs http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2015-10-23 00:59:29 Re: COPY FREEZE and PD_ALL_VISIBLE
Previous Message Noah Misch 2015-10-23 00:51:47 Re: Re: [BUGS] BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::')