=D0=92 =D0=A7=D1=82=D0=B2, 14.10.2004, =D0=B2 04:15, Robert Treat =D0=BF=D0=
=B8=D1=88=D0=B5=D1=82:
> On Wednesday 13 October 2004 14:42, Markus Bertheau wrote:
> > =D0=92 =D0=A1=D1=80=D0=B4, 13.10.2004, =D0=B2 15:06, Robert Treat =D0=
=BF=D0=B8=D1=88=D0=B5=D1=82:
> > > Just to follow up, the PgAdmin folks say that they just live with the
> > > estimation issue. I do think that we could run analyze after phppgad=
min
> > > table creation without much issue. Does anyone have any feelings abo=
ut
> > > using a setting to determine when to switch from count(*) to reltuple=
s?
> > > Ie. if reltuples comes back at less than say 2000, we will issue a
> > > count(*) on the table for exact amounts. Granted this would be slower
> > > than just reltuples, but perhaps not too slow?
> >
> > That sounds like a good idea, just please don't make that number
> > configurable.
> >
>=20
> Well, different hardware and different schemas would dictate that there c=
ould=20
> be no one size fits all setting, so if you don't make it configureable yo=
u'll=20
> just end up telling people to hack the source. Do you see that as a good=20
> thing?=20
With that argument you'd need that setting configurable per server /
database / schema.
I'm out.
--=20
Markus Bertheau <twanger@...>
|