Re: Planner question

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Raney <raneyt(at)cecs(dot)pdx(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Planner question
Date: 2008-09-23 13:26:11
Message-ID: 200809231326.m8NDQBZ15553@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Raney wrote:
> >> RELOPTINFO (tenk1): rows=10000 width=244
> >> path list:
> >> SeqScan(tenk1) rows=10000 cost=0.00..434.00
> >> IdxScan(tenk1) rows=10000 cost=0.00..583.25
> >> pathkeys: ((tenk1.unique2, onek.unique2)) <---
> >
> >> cheapest startup path:
> >> SeqScan(tenk1) rows=10000 cost=0.00..434.00
> >
> >> cheapest total path:
> >> SeqScan(tenk1) rows=10000 cost=0.00..434.00
> >
> > Hm, I don't recognize this output format, is it coming from some custom
> > code?
>
> Yes, it is. I thought it was easier to read the OPTIMIZER_DEBUG
> output with the relation names instead of the relation indexes. I
> will post a patch against CVS HEAD if you think it will help others.

Personally I would like to see optimizer debug become a configuration
parameter rather than a compile-time parameter.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-09-23 13:27:02 Re: hash index improving v3
Previous Message Markus Wanner 2008-09-23 13:18:39 Re: Proposal: move column defaults into pg_attribute along with attacl