Re: Two different execution plans for similar requests

From: tv(at)fuzzy(dot)cz
To: "Joby Joba" <jobyjoba59(at)gmail(dot)com>
Cc: tv(at)fuzzy(dot)cz, pgsql-performance(at)postgresql(dot)org
Subject: Re: Two different execution plans for similar requests
Date: 2011-03-01 09:40:59
Message-ID: e54d83f6320c286f51202ad59728e2c9.squirrel@sq.gransy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> I've already used an 'EXPLAIN ANALYZE' to post the message. So I don't
> clearly understand what you are expecting for, when you tell me to provide
> 'EXPLAIN ANALYZE' (please excuse me for the misunderstood)

No, you haven't. You've provided 'EXPLAIN' output, but that just prepares
an execution plan and displays it. So it shows just estimates of row
counts etc. and not actual values.

Do the same thing but use 'EXPLAIN ANALYZE' instead of 'EXPLAIN' - it will
run the query and provide more details about it (run time for each node,
actual number of rows etc.).

Anyway the sudden changes of estimated costs are suspicious ...

Tomas

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joby Joba 2011-03-01 12:37:51 Re: Two different execution plans for similar requests
Previous Message Joby Joba 2011-03-01 09:25:50 Re: Two different execution plans for similar requests