pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ben.play <benjamin.cohen@playrion.com>
To: pgsql-performance@postgresql.org
Subject: Re: How to reduce writing on disk ? (90 gb on pgsql_tmp)
Date: Tue, 9 Jun 2015 08:58:32 -0700 (MST)
Message-ID: <1433865512586-5853081.post@n5.nabble.com> (raw)
In-Reply-To: <CAGTBQpbC7pPc0NtnFf0NStWj2HQAgcTt1ZYMnMEm5cAz=zp3VQ@mail.gmail.com>
References: <1433334092106-5852321.post@n5.nabble.com>
	<1433337082772-5852328.post@n5.nabble.com>
	<CA+RSxMiSwse+YfMoFT8128PoWG3kifmrvg4rhdBHxUTE3HPH-g@mail.gmail.com>
	<556F0649.9000402@2ndquadrant.com>
	<9DED5F42-2C51-4CDE-A179-56A8A9370338@playrion.com>
	<556F15AD.4040801@2ndquadrant.com>
	<CAGTBQpbC7pPc0NtnFf0NStWj2HQAgcTt1ZYMnMEm5cAz=zp3VQ@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Hi, 

Thank you a lot for your answer.
I've done that (create a tablespace in another HD with POSTGRES role + put
it as the main temp_tablespace in the conf).

But ... my command ~# df show me that all queries use the default tablespace
... 


This was my commands (the directory is owned by postgres) :
CREATE TABLESPACE hddtablespace LOCATION '/media/hdd/pgsql';
ALTER TABLESPACE hddtablespace OWNER TO postgres;

SHOW temp_tablespaces;
> hddtablespace

In /media/hdd/pgsql I have only one empty directory (PG_9.3_201306121).

Do you have any tips ?

Thanks a lot guys ...



--
View this message in context: http://postgresql.nabble.com/How-to-reduce-writing-on-disk-90-gb-on-pgsql-tmp-tp5852321p5853081.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (24+ messages)  latest in thread

Message-ID: <1433865512586-5853081.post@n5.nabble.com>
Permalink:  ../1433865512586-5853081.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1433865512586-5853081.post@n5.nabble.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: benjamin.cohen@playrion.com
  Subject: Re: How to reduce writing on disk ? (90 gb on pgsql_tmp)
  In-Reply-To: <1433865512586-5853081.post@n5.nabble.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