Re: locale and performance? - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: locale and performance?
Date
Msg-id 200707291837.24796.peter_e@gmx.net
Whole thread Raw
In response to locale and performance?  (Daniel Weinand <mail4ng@googlemail.com>)
List pgsql-general
Daniel Weinand wrote:
> it isn't acceptable to use the database without indexes if another
> locale is used. are custom operator classes as described in the
> manual as high-performance as the native index?

I'm not sure what you are comparing here, because the different operator
classes serve different use cases.  The operator classes are as fast as
they can be to solve the problem at hand.  Whether they are fast enough
for you is up to your testing.

> are there any examples how to use them in my case?

Perhaps, but you didn't tell us what your case is.

> are there any tests that show how the performance decreases if
> another locale is used? why is there a perfomance impact?

Because having a computer sort letters in an order useful for humans is
slower than sorting them in an order useful for computers.  And vice
versa!

> it's a
> disappointing that postgresql is only in one configuration to suply
> the max. performance.

That is nonsense.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [pgsql-advocacy] European users mailing list
Next
From: "Dave Page"
Date:
Subject: Re: [pgsql-advocacy] European users mailing list