Re: Major differences between oracle and postgres performance - what can I do ? - Mailing list pgsql-performance

From Stephen Frost
Subject Re: Major differences between oracle and postgres performance - what can I do ?
Date
Msg-id 20040618163003.GM11196@ns.snowman.net
Whole thread Raw
In response to Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> [... thinks for awhile ...]  It seems possible that they may use sort
> code that knows it is performing a DISTINCT operation and discards
> duplicates on sight.  Given that there are only 534 distinct values,
> the sort would easily stay in memory if that were happening.

Could this optimization be added to PostgreSQL?  It sounds like a very
reasonable thing to do.  Hopefully there wouldn't be too much complexity
needed to add it.

    Stephen

Attachment

pgsql-performance by date:

Previous
From: Gary Cowell
Date:
Subject: Re: Major differences between oracle and postgres performance - what can I do ?
Next
From: Tom Lane
Date:
Subject: Re: Major differences between oracle and postgres performance - what can I do ?