Re: [PERFORM] Estimation problem with a LIKE clause containing a /

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: [PERFORM] Estimation problem with a LIKE clause containing a /
Дата
Msg-id 1d4e0c10711082352h4bd08276j6c1156d77577ba48@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PERFORM] Estimation problem with a LIKE clause containing a /  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Nov 9, 2007 3:08 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This rule works for all the locales I have installed ... but I don't
> have any Far Eastern locales installed.  Also, my test cases are only
> covering ASCII characters, and I believe many locales have some non-ASCII
> letters that sort after 'Z'.  I'm not sure how hard we need to try to
> cover those corner cases, though.  It is ultimately only an estimate...

My opinion is that it's acceptable to fix the problem for most cases
in most locales because, as you said, it's only an estimate. We didn't
have any report of this problem for years so it seems that it's not a
common case or at least it's not common that the bad estimate leads to
noticeably bad plans.

As far as I understand what you plan to do, it doesn't seem to be
something that prevents us to fix the problem afterwards if someone
comes with an example which doesn't fit in the schema you're proposing
and has a real performance problem with it.

--
Guillaume

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Free Space Map thoughts
Следующее
От: Tom Lane
Дата:
Сообщение: Re: New tzdata available