Re: One source of constant annoyance identified - Mailing list pgsql-general

From Tom Lane
Subject Re: One source of constant annoyance identified
Date
Msg-id 3399.1025271436@sss.pgh.pa.us
Whole thread Raw
In response to Re: One source of constant annoyance identified  (Curt Sampson <cjs@cynic.net>)
Responses Re: One source of constant annoyance identified
List pgsql-general
Curt Sampson <cjs@cynic.net> writes:
> On Thu, 27 Jun 2002, Tom Lane wrote:
>> So you haven't really solved the problem --- somewhere there is a query
>> being issued that ramps the backend up to a lot of memory.  All you've
>> done is ensured that the backend won't hang around very long.  The
>> persistent connection isn't really at fault, except in that it causes
>> backends to keep being used after their memory usage has become bloated.

> Yeah, but if the queries after that are not using all of the mapped
> memory, that should be swapped out fairly quickly because the
> machine is short on memory.

And the swapping activity is exactly the problem, isn't it?

In any case, we can't make much progress until we identify the query
that is making the backend's address space grow.

(Markus, you don't happen to have SORT_MEM set to a large value,
do you?)

            regards, tom lane



pgsql-general by date:

Previous
From: Steve Brett
Date:
Subject: Re: What is a tuple?
Next
From: Oleg Bartunov
Date:
Subject: Re: recursing down a tree