On Thu, Sep 4, 2008 at 2:21 PM, Kiran Mukhyala <mukhyala.kiran@xxxxxxxx> wrote: > Can someone please tell me how to improve the query planner > estimate? I did try vacuum analyze. Here are some details: Have you tried increasing the statistics target for that table (or in general)? -- - David T. Wilson david.t.wilson@xxxxxxxxx