Re: Sort time

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Sort time
Дата
Msg-id 200211151318.33245.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Sort time  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: Sort time  (Rod Taylor <rbt@rbt.ca>)
Re: Sort time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Rod,

> > Hmmm ... how big *is* that varchar field?  8 characters gives us about 6mb
for
> > the column.  Of course, if it's a 128-char global unque id, that;s a bit
> > larger.
>
> 20 characters long in the Unicode locale -- which is 40 bytes?

Well, 40+, probably about 43.    Should be about 29mb, yes?
Here's a question: is the total size of the column a good indicator of the
sort_mem required?   Or does the rowsize affect it somehow?

--
-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
                                        Josh Berkus
   Complete information technology     josh@agliodbs.com
    and data management solutions     (415) 565-7293
   for law firms, small businesses      fax 621-2533
    and non-profit organizations.     San Francisco


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Sort time
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Sort time