Re: Huge amount of memory consumed during transaction - Mailing list pgsql-performance

From Richard Huxton
Subject Re: Huge amount of memory consumed during transaction
Date
Msg-id 470E3034.8020309@archonet.com
Whole thread Raw
In response to Huge amount of memory consumed during transaction  (henk de wit <henk53602@hotmail.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: henk de wit
Date:
Subject: Huge amount of memory consumed during transaction
Next
From: "Scott Marlowe"
Date:
Subject: Re: Huge amount of memory consumed during transaction