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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Wed, 30 Sep 2009 09:55:55 -0400
  • Message-id: <14006.1254318955@sss.pgh.pa.us> <text/plain>

=?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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group