Re: [PERFORM] Explain not accurate

2004-01-11 Thread Greg Stark
Richard van den Berg <[EMAIL PROTECTED]> writes: > Hi there, > > I am quite new to postgresql, and love the explain feature. It enables us to > predict which SQL queries needs to be optimized before we see any problems. > However, I've run into an issue where explain tells us a the costs of a qu

Re: [PERFORM] Explain not accurate

2004-01-11 Thread Christopher Kings-Lynne
You need to regularly run 'analyze'. Chris Richard van den Berg wrote: Hi there, I am quite new to postgresql, and love the explain feature. It enables us to predict which SQL queries needs to be optimized before we see any problems. However, I've run into an issue where explain tells us a the

Re: [PERFORM] Explain not accurate

2004-01-11 Thread Dennis Bjorklund
On Fri, 9 Jan 2004, Richard van den Berg wrote: > problems. However, I've run into an issue where explain tells us a the > costs of a quiry are tremendous (105849017586), but the query actually > runs quite fast. Even "explain analyze" shows these costs. It would be helpful if you can show the

[PERFORM] Explain not accurate

2004-01-11 Thread Richard van den Berg
Hi there, I am quite new to postgresql, and love the explain feature. It enables us to predict which SQL queries needs to be optimized before we see any problems. However, I've run into an issue where explain tells us a the costs of a quiry are tremendous (105849017586), but the query actually