From: Alexandre Leclerc <alexandre.leclerc@gmail.com>
To: PERFORM <pgsql-performance@postgresql.org>
Subject: nuderstanding 'explain analyse'
Date: Tue, 16 Nov 2004 16:11:30 -0500
Message-ID: <1dc7f0e304111613116532a64b@mail.gmail.com> (raw)
Hello,
I build two SELECT queries, and in one I used COALESCE with a CASE,
and in the second one I used only CASE statements.
When analysing, I'm getting the exact same result, except the cost.
(For now I have so few data that the results are too fragmented.
If the plans for both queries are exactly the same, should I assume
that the cost will also be the same?
Thanks for any help.
--
Alexandre Leclerc
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: alexandre.leclerc@gmail.com
Subject: Re: nuderstanding 'explain analyse'
In-Reply-To: <1dc7f0e304111613116532a64b@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