Search Postgresql Archives

Re: Temporary tablespaces on a RAM disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxxxxxxxx> 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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux