Re: Big insert/delete memory problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kurt Overberg <kurt(at)hotdogrecords(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Big insert/delete memory problems
Date: 2003-03-18 18:47:23
Message-ID: 111.1048013243@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kurt Overberg <kurt(at)hotdogrecords(dot)com> writes:
> delete from xrefmembergroup where membergroupid = 2 ; select 1 as true;

> insert into xrefmembergroup (membergroupid, memberid) select 2 as
> membergroupid, member.id as memberid from member where ((extract(year
> from age(birthdate))) >= '17' ); select 1 as true;

> ...my memory usage goes nuts- allocates 20-30 Mb per time I run this.

Postgres version?

Sounds like a memory leak, but there's not enough info here to debug it.
Which of these queries exactly is leaking memory? If it's the
INSERT/SELECT (as I suspect), what's the schema of the 'member' table?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-03-18 18:49:26 Re: unexpected join results
Previous Message Matthew Phillips 2003-03-18 18:45:02 Re: unexpected join results