Re: [PERFORM] tsearch query plan

2004-04-08 Thread Tom Lane
Mark Lubratt <[EMAIL PROTECTED]> writes: > I guess I was looking more at the cost estimate and not so much at the > rows estimate. I agree that the row estimate wasn't too bad. But the > cost estimate seems way out of line. The cost estimates are not even in the same units as the actual runtim

Re: [PERFORM] tsearch query plan

2004-04-08 Thread Mark Lubratt
On Apr 8, 2004, at 6:33 PM, Josh Berkus wrote: Mark, I've got one question about query planning. Is it understandable to have the query plan estimation be off by a couple of orders of magnitude? Or, is it the fact that the cost estimation is small to begin with that the error between the actual

Re: [PERFORM] tsearch query plan

2004-04-08 Thread Josh Berkus
Mark, > I've got one question about query planning. Is it understandable to > have the query plan estimation be off by a couple of orders of > magnitude? Or, is it the fact that the cost estimation is small to > begin with that the error between the actual and the estimated is > "normal"

[PERFORM] tsearch query plan

2004-04-08 Thread Mark Lubratt
Hello, I've just started using the tsearch2 system. I'm VERY impressed by the speed. I've got one question about query planning. Is it understandable to have the query plan estimation be off by a couple of orders of magnitude? Or, is it the fact that the cost estimation is small to beg