Tom Lane writes:
> Perhaps we should avoid all attempts at cuteness and just run the
> initial probes for workable shared_buffers with max_connections=20,
> as well as making that be the minimum max_connections value probed for.
>
> Anyone see a better way?
Maybe just run one loop and try pairs of (shared_buffers, max_connections):
(1000, 100) (800, 50) (600, 40) (400, 30) (200, 20) (50, 10)
--
Peter Eisentraut peter_e(at)gmx(dot)net