pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Guido Fiala <guido.fiala@dka-gmbh.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC and processing large numbers of rows
Date: Thu, 13 May 2004 01:23:16 +1200
Message-ID: <40A22544.8000206@opencloud.com> (raw)
In-Reply-To: <200405121431.08734.guido.fiala@dka-gmbh.de>
References: <20040511103520.1ADC6D1B1EE@svr1.postgresql.org>
	<200405120837.42865.guido.fiala@dka-gmbh.de>
	<Pine.BSO.4.56.0405120453560.5292@leary.csoft.net>
	<200405121431.08734.guido.fiala@dka-gmbh.de>

Guido Fiala wrote:
> Am Mittwoch, 12. Mai 2004 12:00 schrieb Kris Jurka:
> 
>>The backend spools to a file when a materialized cursor uses more than
>>sort_mem amount of memory.  This is not quite the same as swapping as it
>>will consume disk bandwidth, but it won't hog memory from other
>>applications.
> 
> 
> Well thats good on one side, but from the side of the user its worse:
> 
> He will see a large drop in performance (factor 1000) ASAP the database starts 
> using disk for such things. Ok - once the database is to large to be hold in 
> memory it is disk-bandwith-limited anyway...

What about the kernel cache? I doubt you'll see a *sudden* drop in 
performance .. it'll just degrade gradually towards disk speeds as your 
resultset gets larger.

-O



view thread (17+ messages)

Message-ID: <40A22544.8000206@opencloud.com>
Permalink:  ../40A22544.8000206@opencloud.com/
Also on:    postgresql.org/message-id/40A22544.8000206@opencloud.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, guido.fiala@dka-gmbh.de
  Subject: Re: JDBC and processing large numbers of rows
  In-Reply-To: <40A22544.8000206@opencloud.com>
  References: <20040511103520.1ADC6D1B1EE@svr1.postgresql.org> <200405120837.42865.guido.fiala@dka-gmbh.de> <Pine.BSO.4.56.0405120453560.5292@leary.csoft.net> <200405121431.08734.guido.fiala@dka-gmbh.de> <40A22544.8000206@opencloud.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