Memory consumption problem

From: Franck Routier <franck(dot)routier(at)axege(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Memory consumption problem
Date: 2006-05-05 14:52:29
Message-ID: 1146840749.10565.41.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

I have a problem with a simple request :

insert into mytable
select a.id, a.desc, 'mystring'
from mytable a;

This request runs for about two hours, and then OOMKiller kills the
postmaster !

Mytable has about 1,7 million tuples, it has a few indexes.
Postgresql version is 8.1, running on Debian 3.1, with 512kb of memory
and 1,3gb of swap space.
This request seems to end up eating all memory and swap...

Is this something that should occur or is there a problem on my server ?

Thanks,

Franck

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Valentin Gjorgjioski 2006-05-05 15:32:29 Re: Memory consumption problem
Previous Message Robert Landsmeer 2006-05-05 14:41:29 Problem with temporary disbaling foreign keys.