From: Scott Marlowe <scott.marlowe@gmail.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: Justin <justin@emproshunts.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: getting estimated cost to agree with actual
Date: Mon, 2 Jun 2008 21:06:20 -0600
Message-ID: <dcc563d10806022006j3a1dc999t50039d0c9f74caff@mail.gmail.com> (raw)
In-Reply-To: <87mym3iab9.fsf@oxford.xeocode.com>
References: <4844696D.20307@emproshunts.com>
<dcc563d10806021638t6619ef6cw67f2606541cd90f6@mail.gmail.com>
<87mym3iab9.fsf@oxford.xeocode.com>
On Mon, Jun 2, 2008 at 7:20 PM, Gregory Stark <stark@enterprisedb.com> wrote:
> "Scott Marlowe" <scott.marlowe@gmail.com> writes:
>
>> On Mon, Jun 2, 2008 at 3:43 PM, Justin <justin@emproshunts.com> wrote:
>>>
>>> I have noticed that estimated Cost to do the query is way off from Actual.
>>
>> Well, they're not measured in the same units. estimated costs are in
>> terms of the cost to sequentially scan a single tuple, while actual
>> costs are in milliseconds.
>
> s/tuple/page/
Dangit! I knew that too. time for some sleep I guess. :)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: scott.marlowe@gmail.com, stark@enterprisedb.com, justin@emproshunts.com
Subject: Re: getting estimated cost to agree with actual
In-Reply-To: <dcc563d10806022006j3a1dc999t50039d0c9f74caff@mail.gmail.com>
References: <4844696D.20307@emproshunts.com> <dcc563d10806021638t6619ef6cw67f2606541cd90f6@mail.gmail.com> <87mym3iab9.fsf@oxford.xeocode.com> <dcc563d10806022006j3a1dc999t50039d0c9f74caff@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox