Re: Temporary tablespaces on a RAM disk

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Temporary tablespaces on a RAM disk
Дата
Msg-id 427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com
обсуждение исходный текст
Ответ на Re: Temporary tablespaces on a RAM disk  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Temporary tablespaces on a RAM disk
Список pgsql-general


On 3/17/20 12:19 PM, David G. Johnston wrote:
On Tue, Mar 17, 2020 at 2:49 AM Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> wrote:
is someone using temporary tablespaces on a RAM disk ? Any experiences with that?
I did some quick tests and checked the archives but could not find any information that either confirmed it is a bad idea nor the opposite.

There is a nice big bold warning callout in the documentation that covers this explicitly.


Warning
Placing a tablespace on a temporary file system like a RAM disk risks the reliability of the entire cluster.

But aren't temporary files removed when you restart Postgres?  (I'm assuming that temp_tablespaces is treated "the same" as data/pgsql_tmp.  Is that a false assumption?)


--
Angular momentum makes the world go 'round.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Temporary tablespaces on a RAM disk
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Temporary tablespaces on a RAM disk