Re: How to reduce writing on disk ? (90 gb on pgsql_tmp)

From: chiru r <chirupg(at)gmail(dot)com>
To: amulsul <sul_amul(at)yahoo(dot)co(dot)in>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: How to reduce writing on disk ? (90 gb on pgsql_tmp)
Date: 2015-06-03 13:27:11
Message-ID: CA+RSxMiSwse+YfMoFT8128PoWG3kifmrvg4rhdBHxUTE3HPH-g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi Benjamin,

It looks you are facing disk space issue for queries.
In order to avid the disk space issue you can do the following.
1) Increase the work_mem parameter session level before executing the
queries.
2) If you observe diskspace issue particular user queries,increase the
work_mem parameter user level.
3) Check with developer to tune the query.

On Wed, Jun 3, 2015 at 6:41 PM, amulsul <sul_amul(at)yahoo(dot)co(dot)in> wrote:

> SQLSTATE[53100]: Disk full: 7 ERROR: could not write block 1099247 of
> temporary file
>
> Its looks like there is no room to write temporary file, try with limiting
> temporary file size by setting temp_file_limit GUC.
>
>
>
>
> --
> View this message in context:
> http://postgresql.nabble.com/How-to-reduce-writing-on-disk-90-gb-on-pgsql-tmp-tp5852321p5852328.html
> Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tomas Vondra 2015-06-03 13:51:05 Re: How to reduce writing on disk ? (90 gb on pgsql_tmp)
Previous Message amulsul 2015-06-03 13:11:22 Re: How to reduce writing on disk ? (90 gb on pgsql_tmp)