Re: Reducing memory usage of insert into select operations? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Reducing memory usage of insert into select operations?
Date
Msg-id 20080718162302.GC4042@alvh.no-ip.org
Whole thread Raw
In response to Re: Reducing memory usage of insert into select operations?  ("Francisco Reyes" <lists@stringsutils.com>)
Responses Re: Reducing memory usage of insert into select operations?
List pgsql-general
Francisco Reyes wrote:
> On 11:25 am 07/18/08 Richard Huxton <dev@archonet.com> wrote:
>
> Strace of the single/large process.
> Again, all the query is doing is
> insert into <file> select <subquery>
>
> The strace is pretty much a repetition of the lines below.

Do you have long-running transactions?  (For example transactions that
have been idle for a long time).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Scara Maccai
Date:
Subject: Re: TODO list and "hyphen"
Next
From: "Douglas McNaught"
Date:
Subject: Re: Writing a user defined function