From: Robert Schnabel <schnabelr@missouri.edu>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Allow sorts to use more available memory
Date: Mon, 12 Sep 2011 17:09:18 -0500
Message-ID: <4E6E830E.30701@missouri.edu> (raw)
In-Reply-To: <CAOR=d=1WgWOPz+8t9FqqNbbabNKu6DOm-z0S1MJ0jGe+FsRGfw@mail.gmail.com>
References: <4E6E426D.7060405@missouri.edu>
<CAOR=d=1WgWOPz+8t9FqqNbbabNKu6DOm-z0S1MJ0jGe+FsRGfw@mail.gmail.com>
On 9/12/2011 3:58 PM, Scott Marlowe wrote:
> On Mon, Sep 12, 2011 at 11:33 AM, Robert Schnabel
> <schnabelr@missouri.edu> wrote:
>> The recent "data warehouse" thread made me think about how I use work_mem
>> for some of my big queries. So I tried SET work_mem = '4GB' for a session
>> and got
>>
>> ERROR: 4194304 is outside the valid range for parameter "work_mem" (64 ..
>> 2097151)
> Ubuntu 10.10, pgsql 8.4.8:
>
> smarlowe=# set work_mem='1000GB';
> SET
Ok, so is this a limitation related to the Windows implementation?
And getting back to the to-do list entry and reading the related posts,
it appears that even if you could set work_mem that high it would only
use 2GB anyway. I guess that was the second part of my question. Is
that true?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: schnabelr@missouri.edu, scott.marlowe@gmail.com
Subject: Re: Allow sorts to use more available memory
In-Reply-To: <4E6E830E.30701@missouri.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox