Re: benchmarking the query planner - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: benchmarking the query planner
Date
Msg-id 4942B128.3020706@timbira.com
Whole thread Raw
In response to Re: benchmarking the query planner  ("Robert Haas" <robertmhaas@gmail.com>)
Responses Re: benchmarking the query planner  ("Robert Haas" <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas escreveu:
>> Which raises the issue, if we could get better statistics by passing
>> the whole table, why not do that when VACUUM ANALYZE is run?
> 
> I think the reason is "because the next autovacuum would undo it".
> 
Ok, but even if autovacuum will undo it, almost-static-dataset would benefit
from this feature because (i) autovacuum won't often trigger this table or
(ii) you disabled the autovacuum on that table.

> Perhaps a table-level option to scan the whole table instead of
> estimating would be appropriate?
> 
ANALYZE FULL foo ?


--  Euler Taveira de Oliveira http://www.timbira.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: benchmarking the query planner
Next
From: "Robert Haas"
Date:
Subject: Re: benchmarking the query planner