From: Richard Huxton <dev@archonet.com>
To: henk de wit <henk53602@hotmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Huge amount of memory consumed during transaction
Date: Thu, 11 Oct 2007 15:16:20 +0100
Message-ID: <470E3034.8020309@archonet.com> (raw)
In-Reply-To: <BAY124-W276814F77A7A7ABE7596B1F5A70@phx.gbl>
References: <BAY124-W276814F77A7A7ABE7596B1F5A70@phx.gbl>
henk de wit wrote:
> Hi,
>
> I'm running into a problem with PostgreSQL 8.2.4 (running on 32 bit
> Debian Etch/2x dual core C2D/8GB mem). The thing is that I have a
> huge transaction that does 2 things: 1) delete about 300.000 rows
> from a table with about 15 million rows and 2) do some (heavy)
> calculations and re-insert a litlte more than 300.000 new rows.
>
> My problem is that this consumes huge amounts of memory.
What exactly consumes all your memory? I'm assuming it's not just
straight SQL.
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, henk53602@hotmail.com
Subject: Re: Huge amount of memory consumed during transaction
In-Reply-To: <470E3034.8020309@archonet.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