Re: Where can I get the number of plans that considered by Planner? - Mailing list pgsql-general

From Tom Lane
Subject Re: Where can I get the number of plans that considered by Planner?
Date
Msg-id 7203.1255356393@sss.pgh.pa.us
Whole thread Raw
In response to Re: Where can I get the number of plans that considered by Planner?  (纪晓曦 <sheepjxx@gmail.com>)
Responses Re: Where can I get the number of plans that considered by Planner?
List pgsql-general
=?UTF-8?B?57qq5pmT5pum?= <sheepjxx@gmail.com> writes:
> Is it a reasonable idea to add a counter to set_cheapest?

You can try it but I think you'll find it's not terribly useful.
That will effectively just give you a count of the number of join
combinations that were considered (plus the number of base relations).

            regards, tom lane

pgsql-general by date:

Previous
From: Gaini Rajeshwar
Date:
Subject: Re: Ranking search results using multiple fields in PostgreSQL fulltext search
Next
From: Tom Lane
Date:
Subject: Re: Dumping without Postgis functions