Skip site navigation (1) Skip section navigation (2)

Re: Where can I get the number of plans that considered by Planner?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 纪晓曦 <sheepjxx(at)gmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where can I get the number of plans that considered by Planner?
Date: 2009-09-30 13:55:55
Message-ID: 14006.1254318955@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
=?UTF-8?B?57qq5pmT5pum?= <sheepjxx(at)gmail(dot)com> writes:
> Where can I add a  integer counter to count the plans considered by planner.

Well, you could count the number of calls to add_path, but a path is
hardly the same thing as a complete plan.

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Tom LaneDate: 2009-09-30 14:17:18
Subject: Re: Updating row with updating function, bug or feature?
Previous:From: Thomas JacobDate: 2009-09-30 13:30:15
Subject: Updating row with updating function, bug or feature?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group