Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "Venkatesan, Sekhar" <sekhar(dot)venkatesan(at)emc(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.
Date: 2016-02-09 06:01:53
Message-ID: 56B980D1.7010509@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 02/08/2016 09:53 PM, Venkatesan, Sekhar wrote:
> Yes. is there an option/configuration to tell the postgres
> optimizer/planner to generate plans to include the sort order instead of
> speed?

What columns in a table would that be and then what order?

>
> *From:*David G. Johnston [mailto:david(dot)g(dot)johnston(at)gmail(dot)com]
> *Sent:* Tuesday, February 09, 2016 11:20 AM
> *To:* Venkatesan, Sekhar
> *Cc:* Tom Lane; pgsql-sql(at)postgresql(dot)org
> *Subject:* Re: [SQL] Question on PostgreSQL DB behavior w.r.t JOIN and
> sort order.
>
> On Monday, February 8, 2016, Venkatesan, Sekhar
> <sekhar(dot)venkatesan(at)emc(dot)com <mailto:sekhar(dot)venkatesan(at)emc(dot)com>> wrote:
>
> Is there a way to tell the optimizer to retain the sort order if that is
> possible please?
>
> You mean, besides the ORDER BY clause?
>
> David J.
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David G. Johnston 2016-02-09 06:03:18 Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.
Previous Message David G. Johnston 2016-02-09 06:00:55 Re: Question on PostgreSQL DB behavior w.r.t JOIN and sort order.