[PERFORM] disagreeing query planners

2005-02-16 Thread lcham02
With three databases running the same query, I am receiving greatly differing results from 2 of the query planners. -db2 and db3 are slonied copies of db1. The servers have identical postgresql.conf files but the server hardware differs. -all appropriate columns are indexed -vacuum analyze is run

Re: [PERFORM] How to interpret this explain analyse?

2005-02-16 Thread Kevin Brown
Greg Stark wrote: > > Kevin Brown <[EMAIL PROTECTED]> writes: > > Also, one has to ask what the consequences are of assuming a value too > > low versus too high. Which ends up being worse? > > This is one of the things the planner really cannot know. Ultimately it's the > kind of thing for which

Re: [PERFORM] seq scan cache vs. index cache smackdown

2005-02-16 Thread Ron Mayer
Josh Berkus wrote: Now you can see why other DBMSs don't use the OS disk cache. ... ...as long as we use the OS disk cache, we can't eliminate checkpoint spikes, at least on Linux. Wouldn't the VM settings like the ones under /proc/sys/vm and/or the commit=XXX mount option if using ext3 be a go