From: | "Douglas McNaught" <doug(at)mcnaught(dot)org> |
---|---|
To: | "Francisco Reyes" <lists(at)stringsutils(dot)com> |
Cc: | "PostgreSQL general" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Reducing memory usage of insert into select operations? |
Date: | 2008-07-18 03:38:28 |
Message-ID: | 5ded07e00807172038l7803e264xe98e4fac2f401667@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jul 17, 2008 at 9:27 PM, Francisco Reyes <lists(at)stringsutils(dot)com> wrote:
> Douglas McNaught writes:
>
>> Is this a 32-bit installation or 64-bit? 3GB of shared_buffers is way
>> too big for a 32-bit setup.
>
>
> 64-bit.
> The machine has 12GB of RAM so shared-buffers is about 1/3.
> Dedicated DB server.
Ahh, good. Just wanted to answer the obvious question first. Some
people set shared_buffers really high on 32-bit systems and then are
surprised when it doesn't work well.
It does seem that reducing work_mem might help you, but others on this
list are much more expert than I in diagnosing this sort of problem.
It would probably be helpful for you to post the EXPLAIN output from
your query, so they can see which part of the plan causes the large
memory usage.
-Doug
From | Date | Subject | |
---|---|---|---|
Next Message | Francisco Reyes | 2008-07-18 04:18:47 | Re: Reducing memory usage of insert into select operations? |
Previous Message | Francisco Reyes | 2008-07-18 03:27:06 | Re: Reducing memory usage of insert into select operations? |