Re: PostgreSQL profiling?

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема Re: PostgreSQL profiling?
Дата
Msg-id Pine.BSO.4.10.10102040002260.10437-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на Re: PostgreSQL profiling?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Thanks Tom.

I think that in future, locale setting should be a disclosed part of
benchmark results whenever PostgreSQL is benchmarked.

-alex



On Sat, 3 Feb 2001, Tom Lane wrote:

> Alex Pilosov <alex@pilosoft.com> writes:
> > Have someone made effort to do profiling of pgsql during execution of
> > certain things (inserts, selects, sorting, indices)?
>
> Yes ...
>
> > I have a feeling (based on stopping postgres from gdb periodically), that
> > a lot of time is used in strcoll() (if table and index has string
> > columns).
> > Column in question is declared char(3).
> > So, why's postgres collating anything at all?
>
> Because textual comparisons are defined in terms of strcoll() if you've
> enabled locale support.  There is no way around this; either don't use
> locales or write a faster version of strcoll().
>
>             regards, tom lane
>
>



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

Предыдущее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: outer joins
Следующее
От: Boris
Дата:
Сообщение: Memory requirements for web-project