Re: CLUSTER FREEZE

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: CLUSTER FREEZE
Дата
Msg-id 5269B892.5060607@agliodbs.com
обсуждение исходный текст
Ответ на CLUSTER FREEZE  (Thomas Munro <munro@ip9.org>)
Ответы Re: CLUSTER FREEZE  (Andres Freund <andres@2ndquadrant.com>)
Re: CLUSTER FREEZE  (Thomas Munro <munro@ip9.org>)
Список pgsql-hackers
On 10/24/2013 04:55 PM, Robert Haas wrote:
> On Thu, Oct 24, 2013 at 1:09 PM, Josh Berkus <josh@agliodbs.com> wrote:
>> On 10/23/2013 09:58 PM, Amit Kapila wrote:
>>> I wonder why anyone would like to freeze during CLUSTER command when
>>> they already have separate way (VACUUM FREEZE) to achieve it, do you
>>> know or can think of any case where user wants to do it along with
>>> Cluster command?
>>
>> "If I'm rewriting the table anyway, let's freeze it".
>>
>> Otherwise, you have to write the same pages twice, if both CLUSTER and
>> FREEZE are required.
> 
> I wonder if we should go so far as to make this the default behavior,
> instead of just making it an option.

+1 from me.  Can you think of a reason you *wouldn't* want to freeze?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: CLUSTER FREEZE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reasons not to like asprintf