On Thursday 11 March 2004 14:17, Josh Berkus wrote: > Tom, > > > Maybe you should ask on -admin or -general. Personally I thought there > > wasn't anything to say until someone did some experiments to show > > whether an indexed-column differential is really worthwhile and what a > > plausible default value would be. The idea sounds good in the abstract, > > but will it really help or just be another useless setting? > > Yeah, that's our next step, a test. > > On Monday, I hope to have comparative stats for a difficult database on > the 3 solutions (leaving things as-is, raising the general default stats, > and doing index_stats).
Do you plan on handeling primary key columns differently (since they are likely to be unique and indexed) ? Also how will you handle column that are part of expressional indexes (where foo is true for example) ? Final thought... I'm a DBA and I think the straight number is simpler, though could be convinced to go with whichever is higher... Robert Treat -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match