Re: temporary file

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: temporary file
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50FB745D@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на temporary file  (Artem Tomyuk <admin@leboutique.com>)
Ответы Re: temporary file  (Keith Fiske <keith@omniti.com>)
Список pgsql-admin
Artem Tomyuk wrote:
> The questions is how to avoid creating temp files on disk?
> 
> The work_mem parameter set to 1600 Megabytes, but on logs i still can see the messages like:
> LOG:  temporary file: path "base/pgsql_tmp/pgsql_tmp7905.2", size 865869824

Temporary files on disk are smaller than the memory required for the corresponding in-memory
operation, which explains why the size of the temporary file is less than 1600 MB.

You can either try to increase work_mem or change the query so that it does not perform
such large operations.

Yours,
Laurenz Albe

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

Предыдущее
От: Artem Tomyuk
Дата:
Сообщение: temporary file
Следующее
От: Keith Fiske
Дата:
Сообщение: Re: temporary file