Re: sort_mem affect on inserts?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: sort_mem affect on inserts?
Дата
Msg-id 200411171407.30795.josh@agliodbs.com
обсуждение исходный текст
Ответ на sort_mem affect on inserts?  ("David Parker" <dparker@tazznetworks.com>)
Ответы Re: sort_mem affect on inserts?  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-performance
David,

> I understand that the sort_mem conf setting affects queries with order by,
> etc., and the doc mentions that it is used in create index. Does sort_mem
> affect the updating of indexes, i.e., can the sort_mem setting affect the
> performance of inserts?

Only if the table has Foriegn Keys whose lookup might require a large sort.
Otherwise, no.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "David Parker"
Дата:
Сообщение: sort_mem affect on inserts?
Следующее
От: "silviapg@tiscali.it"
Дата:
Сообщение: postgres eating CPU