From: | David Johnston <polobo(at)yahoo(dot)com> |
---|---|
To: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Fwd: consecutive analyze calls with different column lists. |
Date: | 2011-12-19 14:23:54 |
Message-ID: | AD0F98A2-8A13-4580-939A-117F8671F4F8@yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Forgot to reply-all....
Begin forwarded message:
> From: David Johnston <polobo(at)yahoo(dot)com>
> Date: December 19, 2011 8:09:36 EST
> To: Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
> Subject: Re: [GENERAL] consecutive analyze calls with different column lists.
>
> On Dec 19, 2011, at 8:04, "Marc Mamin" <M(dot)Mamin(at)intershop(dot)de> wrote:
>
>> Hello,
>>
>> If I call analyze 2 times, e.g.
>>
>> analyze mytable (column_a, column_b);
>>
>> analyze mytable (column_a, column_c);
>>
>>
>>
>> then I will loose statisics on column_b.
>>
>> correct ?
>>
>> many thanks,
>>
>> Marc Mamin
>>
>>
>>
> Good question though my default assumption is that the statistics from the first call would remain; otherwise the single column form of analyze becomes pretty useless.
>
> In other words, it is impossible for a column to have no statistics, only old ones.
>
> David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2011-12-19 14:31:52 | Re: Changing Passwords as Encrypted not Clear-Text |
Previous Message | Adrian Klaver | 2011-12-19 14:19:21 | Re: ignore duplicate key while using COPY? |