pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Brannen <KBrannen@efji.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: Temporary tablespaces on a RAM disk
Date: Tue, 17 Mar 2020 17:05:01 +0000
Message-ID: <SA0PR19MB4255283AEF2813EE228CE80BA4F60@SA0PR19MB4255.namprd19.prod.outlook.com> (raw)
In-Reply-To: <ZR0P278MB0028A89FAA3E31E7F1514EF6D2F60@ZR0P278MB0028.CHEP278.PROD.OUTLOOK.COM>
References: <ZR0P278MB0028A89FAA3E31E7F1514EF6D2F60@ZR0P278MB0028.CHEP278.PROD.OUTLOOK.COM>

Daniel Westermann 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.


Well, we point our "stats_temp_directory" to a tmpfs partition, which is probably fairly common (or so I'd guess).
But a full tablespace with tables and everything? That sounds pretty risky for anything other than a place to store
data for transformation or summary of data that could be recreated by restarting a process if the server goes down
in the middle.

I think you'd be better off explaining what your goal is and then people could give you better comments.

HTH,
Kevin

.
This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.

view thread (15+ messages)  latest in thread

Message-ID: <SA0PR19MB4255283AEF2813EE228CE80BA4F60@SA0PR19MB4255.namprd19.prod.outlook.com>
Permalink:  ../SA0PR19MB4255283AEF2813EE228CE80BA4F60@SA0PR19MB4255.namprd19.prod.outlook.com/
Also on:    postgresql.org/message-id/SA0PR19MB4255283AEF2813EE228CE80BA4F60@SA0PR19MB4255.namprd19.prod.outlook.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: KBrannen@efji.com
  Subject: Re: Temporary tablespaces on a RAM disk
  In-Reply-To: <SA0PR19MB4255283AEF2813EE228CE80BA4F60@SA0PR19MB4255.namprd19.prod.outlook.com>
  References: <ZR0P278MB0028A89FAA3E31E7F1514EF6D2F60@ZR0P278MB0028.CHEP278.PROD.OUTLOOK.COM> <SA0PR19MB4255283AEF2813EE228CE80BA4F60@SA0PR19MB4255.namprd19.prod.outlook.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