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

From: Stephen Frost
Subject: Re: Major differences between oracle and postgres performance - what can I do ?
Date: ,
Msg-id: 20040618163003.GM11196@ns.snowman.net
(view: Whole thread, Raw)
In response to: Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane)
Responses: Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane)
List: pgsql-performance

Tree view

Major differences between oracle and postgres performance - what can I do ?  (Gary Cowell, )
 Re: Major differences between oracle and postgres performance  (Richard Huxton, )
 Re: Major differences between oracle and postgres performance - what can I do ?  (Paul Thomas, )
 Re: Major differences between oracle and postgres performance - what can I do ?  (Jeff, )
 Re: Major differences between oracle and postgres performance  (Shridhar Daithankar, )
 Re: Major differences between oracle and postgres performance - what can I do ?  (Gary Cowell, )
  Re: Major differences between oracle and postgres performance  (pginfo, )
  Re: Major differences between oracle and postgres performance  (Richard Huxton, )
  Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane, )
   Re: Major differences between oracle and postgres performance - what can I do ?  (Stephen Frost, )
    Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane, )
     Re: Major differences between oracle and postgres performance - what can I do ?  (Stephen Frost, )
      Re: Major differences between oracle and postgres performance - what can I do ?  (Stephen Frost, )
  Re: Major differences between oracle and postgres performance  (pginfo, )
  Re: Major differences between oracle and postgres performance - what can I do ?  ("Mischa Sandberg", )
 Re: Major differences between oracle and postgres performance - what can I do ?  (Gary Cowell, )
  Re: Major differences between oracle and postgres performance - what can I do ?  (Tom Lane, )
   Re: Major differences between oracle and postgres performance - what can I do ?  (Gary Cowell, )

* Tom Lane () 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:

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