pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Restricting Postgres
Date: Wed, 3 Nov 2004 09:17:43 -0500
Message-ID: <20041103141743.GA15499@phlogiston.dyndns.org> (raw)
In-Reply-To: <M4Vhd.85137$9b.34888@edtnps84>
References: <M4Vhd.85137$9b.34888@edtnps84>

On Tue, Nov 02, 2004 at 11:52:12PM +0000, Martin Foster wrote:
> Is there a way to restrict how much load a PostgreSQL server can take 
> before dropping queries in order to safeguard the server?    I was 

Well, you could limit the number of concurrent connections, and set
the query timeout to a relatively low level.  What that ought to mean
is that, under heavy load, some queries will abort.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
When my information changes, I alter my conclusions.  What do you do sir?
		--attr. John Maynard Keynes



view thread (34+ messages)  latest in thread

Message-ID: <20041103141743.GA15499@phlogiston.dyndns.org>
Permalink:  ../20041103141743.GA15499@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20041103141743.GA15499@phlogiston.dyndns.org

 · 

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: ajs@crankycanuck.ca
  Subject: Re: Restricting Postgres
  In-Reply-To: <20041103141743.GA15499@phlogiston.dyndns.org>

* 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