Re: Expected accuracy of planner statistics - Mailing list pgsql-general

From Csaba Nagy
Subject Re: Expected accuracy of planner statistics
Date
Msg-id 1159533241.3874.285.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: Expected accuracy of planner statistics  (Jorge Godoy <jgodoy@gmail.com>)
List pgsql-general
> [snip] Having an expensive process run once in a while and setting this value also
> sounds interesting. [snip]

What about externalizing the statistics calculation ? I mean, would it
make sense to have for e.g. a WAL-fed standby which has an additional
process which keeps the statistics in sync based on the incoming WAL
records, and feeds back the stats to the master as soon as they change
significantly ? The standby would be able to crunch ALL the data, in
almost real time... with almost no overhead for the master. It would
require though another server... but I guess where analyze is a problem,
throwing another server at it is not a problem.

Cheers,
Csaba.



pgsql-general by date:

Previous
From: Jorge Godoy
Date:
Subject: Re: Expected accuracy of planner statistics
Next
From: Shane Ambler
Date:
Subject: Re: Can i see server SQL commands ?