pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: Jeison Bedoya <jeisonb@audifarma.com.co>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Process in state BIND, authentication, PARSE
Date: Wed, 10 Jul 2013 06:37:33 -0700 (PDT)
Message-ID: <1373463453.36614.YahooMailNeo@web162904.mail.bf1.yahoo.com> (raw)
In-Reply-To: <51DAF079.1080502@audifarma.com.co>
References: <51DAE734.3090706@audifarma.com.co>
	<51DAEB63.3050607@dunslane.net>
	<51DAF079.1080502@audifarma.com.co>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Jeison Bedoya <jeisonb@audifarma.com.co> wrote:

> Ram: 128GB

> max_connections = 900

> temp_buffers = 128MB

Besides the concerns already expressed about work_mem, temp_buffers
could be a big problem.  If a connection uses temp tables it
acquires up to 128MB, *and holds on it reserved for caching temp
tables for that connection for as long as the connection lasts*. 
So, for 900 connections, that could be 112.5 GB.  I would expect to
see performance decrease and eventually completely tank as more
connections reserved memory for this purpose.

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
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 (6+ messages)

Message-ID: <1373463453.36614.YahooMailNeo@web162904.mail.bf1.yahoo.com>
Permalink:  ../1373463453.36614.YahooMailNeo@web162904.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1373463453.36614.YahooMailNeo@web162904.mail.bf1.yahoo.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: kgrittn@ymail.com, jeisonb@audifarma.com.co
  Subject: Re: Process in state BIND, authentication, PARSE
  In-Reply-To: <1373463453.36614.YahooMailNeo@web162904.mail.bf1.yahoo.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