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

From: 纪晓曦 <sheepjxx(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-10-03 06:20:59
Message-ID: 37a11ce00910022320u28774a6dl1f08db0e5ab304a9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Since I also need to consider gego, is this the best way to do it?

2009/9/30 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>

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

Browse pgsql-general by date

  From Date Subject
Next Message Gerhard Wiesinger 2009-10-03 07:11:12 Re: PostgreSQL reads each 8k block - no larger blocks are used - even on sequential scans
Previous Message jimmy Zhang 2009-10-03 03:34:14 [ANN] VTD-XML 2.7