Re: is a special cost for external sort?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: is a special cost for external sort?
Date: 2013-07-18 18:53:03
Message-ID: 5024.1374173583@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> I found a slow query with large external sort. I expect, so external
> sort should be penalized. Is it?

See cost_sort() in src/backend/optimizer/path/costsize.c

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Christensen 2013-07-18 18:53:27 Simple documentation typo patch
Previous Message Gurjeet Singh 2013-07-18 17:54:40 Re: review: Non-recursive processing of AND/OR lists