Re: Is there any method to limit resource usage in PG? - Mailing list pgsql-general

From Jeff Janes
Subject Re: Is there any method to limit resource usage in PG?
Date
Msg-id CAMkU=1xXb0zZfbGATsCdvuZDogY3BH+WTo_HXz5tUSJG5E7pBA@mail.gmail.com
Whole thread Raw
In response to Is there any method to limit resource usage in PG?  (高健 <luckyjackgao@gmail.com>)
Responses Re: Is there any method to limit resource usage in PG?  (高健 <luckyjackgao@gmail.com>)
List pgsql-general
On Sun, Aug 25, 2013 at 11:08 PM, 高健 <luckyjackgao@gmail.com> wrote:
> Hello:
>
> Sorry for disturbing.
>
> I am now encountering a serious problem: memory is not enough.
>
> My customer reported that when they run a program they found the totall
> memory and disk i/o usage all reached to threshold value(80%).
>
> That program is written by Java.
> It is to use JDBC to pull out data from DB, while the query joined some
> table together,  It will return about  3000,000 records.
> Then the program will use JDBC  again to write the records  row by row , to
> inert into another table in the DB.

What is using the memory, the postgres backend or the client program?

Cheers,

Jeff


pgsql-general by date:

Previous
From: Torello Querci
Date:
Subject: Re: Problem creating index
Next
From: Torello Querci
Date:
Subject: Re: Problem creating index