Re: Loading optimization

Поиск
Список
Период
Сортировка
От Ian Harding
Тема Re: Loading optimization
Дата
Msg-id 3A58C162.FFCB98D7@pakrat.com
обсуждение исходный текст
Ответ на Loading optimization  (Gary Wesley <gary@db.stanford.edu>)
Список pgsql-general
Gary Wesley wrote:

> Is there any advantage to having data sorted before populating it into a
> table?
> (In 6.5)
>
> Gary Wesley

Yes.  You have effectively loaded it with a clustered index.  If you
cluster an index on the sort column after loading it, the sort will remain
in effect and will speed queries/joins that use that column.

Ian


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Index on Date_Trunc
Следующее
От: Ian Harding
Дата:
Сообщение: Re: Function TOP