Re: WIP: Collecting statistics on CSV file data - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: WIP: Collecting statistics on CSV file data
Date
Msg-id 4E78B02A.6060605@timbira.com
Whole thread Raw
In response to Re: WIP: Collecting statistics on CSV file data  (Marti Raudsepp <marti@juffo.org>)
List pgsql-hackers
On 20-09-2011 11:12, Marti Raudsepp wrote:
> 2011/9/12 Etsuro Fujita<fujita.etsuro@lab.ntt.co.jp>:
>> This is called when ANALYZE command is executed. (ANALYZE
>> command should be executed because autovacuum does not analyze foreign
>> tables.)
>
> This is a good idea.
>
> However, if adding these statistics requires an explicit ANALYZE
> command, then we should also have a command for resetting the
> collected statistics -- to get it back into the un-analyzed state.
>
Why would you want this? If the stats aren't up to date, run ANALYZE 
periodically. Remember that it is part of the DBA maintenance tasks [1].


[1] http://www.postgresql.org/docs/current/static/maintenance.html


--    Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/   PostgreSQL: Consultoria, Desenvolvimento,
Suporte24x7 e Treinamento
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: Collecting statistics on CSV file data
Next
From: Tom Lane
Date:
Subject: Re: File not found error on creating collation