From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pasman <pasman.p@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5834: Planner - cost for hash scan too small
Date: Thu, 13 Jan 2011 13:09:42 -0500
Message-ID: <20088.1294942182@sss.pgh.pa.us> (raw)
In-Reply-To: <201101130907.p0D97lX2063378@wwwmaster.postgresql.org>
References: <201101130907.p0D97lX2063378@wwwmaster.postgresql.org>
"Pasman" <pasman.p@gmail.com> writes:
> Postgres not estimate cost of creating hash index
> when it plans hash join. Use case:
Yes, it does figure those costs, but they're just folded into the cost
of the hashjoin. The numbers shown for the Hash subnode are only
cosmetic.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, pasman.p@gmail.com
Subject: Re: BUG #5834: Planner - cost for hash scan too small
In-Reply-To: <20088.1294942182@sss.pgh.pa.us>
References: <201101130907.p0D97lX2063378@wwwmaster.postgresql.org> <20088.1294942182@sss.pgh.pa.us>
* 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