Re: locale and performance?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Daniel Weinand <mail4ng(at)googlemail(dot)com>
Subject: Re: locale and performance?
Date: 2007-07-29 16:37:24
Message-ID: 200707291837.24796.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2007-07-29 17:21:26 Re: European users mailing list
Previous Message Peter Eisentraut 2007-07-29 13:37:57 Re: European users mailing list