Re: [GENERAL] Explain analyze gives no info

2005-06-21 Thread Tom Lane
Richard Huxton writes: > Relyea, Mike wrote: >> Any suggestions for how to get the explain analyze output? > You should get *some* output. Unfortunately, I don't think it will show > you anything useful. The effort is almost certainly all going on the > FK's and you can't see through the trigge

Re: [GENERAL] Explain analyze gives no info

2005-06-21 Thread Richard Huxton
Relyea, Mike wrote: I am trying to optimize a delete query that's currently taking 4 hours to run. My first step was to add some indexes on some of my FK's. That sped up my select queries by as much as ~20x. From 3.5 sec to < 0.25 sec. They didn't help my delete query. I ran an explain analy