Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
Дата
Msg-id 200503082037.44639.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom,

> > Maybe I'm not an idiot (really!)  even with almost 2GB of
> > maintenance_mem, PG still writes to pgsql_tmp no faster than 2MB/s.    I
> > think there may be an artificial bottleneck there.  Question is,
> > PostgreSQL, OS or hardware?
>
> AFAIR that's just fwrite() ...

Well, are there any hacks to speed it up?   It's about doubling the amount of
time it takes to create an index on a very large table.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?