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: How to reduce writing on disk ? (90 gb on pgsql_tmp)
Date: Wed, 3 Jun 2015 05:21:32 -0700 (MST)
Message-ID: <1433334092106-5852321.post@n5.nabble.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Hi all, 

We have a big database (more than 300 Gb) and we run a lot of queries each
minute. 

However, once an hour, the (very complex) query writes A LOT on the disk
(more than 95 Gb !!!)
We have 64 Gb of RAM and this is our config :


And my error on the query is : 


Do you know how to solve this problem ? 

Best regards,
Benjamin.



--
View this message in context: http://postgresql.nabble.com/How-to-reduce-writing-on-disk-90-gb-on-pgsql-tmp-tp5852321.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: <1433334092106-5852321.post@n5.nabble.com>
Permalink:  ../1433334092106-5852321.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1433334092106-5852321.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: <1433334092106-5852321.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