pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Throttling PostgreSQL's CPU usage
Date: Tue, 8 May 2007 22:51:20 +0200
Message-ID: <20070508205120.GA7983@uio.no> (raw)
In-Reply-To: <p0624080bc266892a91b2@[192.168.1.8]>
References: <p0624080bc266892a91b2@[192.168.1.8]>

On Tue, May 08, 2007 at 04:27:10PM -0400, Daniel Griscom wrote:
> 3: ... some other solution I haven't thought of.

On a wild guess, could you try setting the CPU costs higher, to make the
planner choose a less CPU-intensive plan?

Other (weird) suggestions would include calling a user-defined function that
sleep()ed for you between every row. Or use a dual-core system. :-)

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (18+ messages)  latest in thread

Message-ID: <20070508205120.GA7983@uio.no>
Permalink:  ../20070508205120.GA7983@uio.no/
Also on:    postgresql.org/message-id/20070508205120.GA7983@uio.no

 · 

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: sgunderson@bigfoot.com
  Subject: Re: Throttling PostgreSQL's CPU usage
  In-Reply-To: <20070508205120.GA7983@uio.no>

* 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