From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Mercha <mercha_t@hotmail.com>
Cc: pgsql-general\@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Measuring the Query Optimizer Effect: Turning off the QO?
Date: Mon, 08 Jul 2019 15:23:34 +0100
Message-ID: <875zoc7h29.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <AM6PR04MB5544CCC486DA6B21968A1217F4F70@AM6PR04MB5544.eurprd04.prod.outlook.com>
References: <AM6PR04MB5544CCC486DA6B21968A1217F4F70@AM6PR04MB5544.eurprd04.prod.outlook.com>
>>>>> "Tom" == Tom Mercha <mercha_t@hotmail.com> writes:
Tom> Hi All
Tom> As we know, a query goes through number of stages before it is
Tom> executed. One of these stages is query optimization (QO).
That's not really true at all. One of the stages is query _planning_,
which takes the (rewritten) query as input and converts it to something
that the executor can take action on. There isn't actually any separate
"optimization" phase.
--
Andrew (irc:RhodiumToad)
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-general@postgresql.org
Cc: andrew@tao11.riddles.org.uk, mercha_t@hotmail.com
Subject: Re: Measuring the Query Optimizer Effect: Turning off the QO?
In-Reply-To: <875zoc7h29.fsf@news-spur.riddles.org.uk>
References: <AM6PR04MB5544CCC486DA6B21968A1217F4F70@AM6PR04MB5544.eurprd04.prod.outlook.com> <875zoc7h29.fsf@news-spur.riddles.org.uk>
* 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