pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Temporary tablespaces on a RAM disk
Date: Tue, 17 Mar 2020 12:59:57 -0500
Message-ID: <427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com> (raw)
In-Reply-To: <CAKFQuwb4FGHNHT33W0+86ZXJB2y+9Gfj0anj6Fw-VgxudeyBig@mail.gmail.com>
References: <ZR0P278MB0028A89FAA3E31E7F1514EF6D2F60@ZR0P278MB0028.CHEP278.PROD.OUTLOOK.COM>
	<CAKFQuwb4FGHNHT33W0+86ZXJB2y+9Gfj0anj6Fw-VgxudeyBig@mail.gmail.com>



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 
> <mailto: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.
>
> https://www.postgresql.org/docs/12/manage-ag-tablespaces.html

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.

view thread (15+ messages)  latest in thread

Message-ID: <427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com>
Permalink:  ../427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com/
Also on:    postgresql.org/message-id/427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Temporary tablespaces on a RAM disk
  In-Reply-To: <427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com>
  References: <ZR0P278MB0028A89FAA3E31E7F1514EF6D2F60@ZR0P278MB0028.CHEP278.PROD.OUTLOOK.COM> <CAKFQuwb4FGHNHT33W0+86ZXJB2y+9Gfj0anj6Fw-VgxudeyBig@mail.gmail.com> <427c0a2d-77aa-d931-3738-0128a069c2df@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox