Re: Problems with order by, limit, and indices

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Denis Perchine <dyp(at)perchine(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problems with order by, limit, and indices
Date: 2001-01-07 17:56:00
Message-ID: 4502.978890160@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Denis Perchine <dyp(at)perchine(dot)com> writes:
> Cost is something really wierd.... Why?

That's how the enable stuff works for plan types that can't be ignored
completely: it just adds a big constant to the estimated cost. If there
is no other alternative plan, you get the unwanted plan type anyway.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-01-07 18:13:23 Re: Outer Joins
Previous Message Tom Lane 2001-01-07 17:44:13 Re: Problems with order by, limit, and indices