Re: Unexpected query plan results

From: "Dave Dutcher" <dave(at)tridecap(dot)com>
To: "'Anne Rosset'" <arosset(at)collab(dot)net>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Unexpected query plan results
Date: 2009-05-29 17:30:38
Message-ID: 93D00B89F6F84DBCA6B8A06ED08AEB8E@tridecap.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> From: Anne Rosset
> Subject: Re: [PERFORM] Unexpected query plan results
> >
> >
> Thank Dave. We are using postgresql-server-8.2.4-1PGDG and
> have work-mem set to 20MB.
> What value would you advise?
> thanks,
>
> Anne

Work-mem is kind of tricky because the right setting depends on how much ram
your machine has, is the machine dedicated to postgres, and how many
simultaneous connections you have. If this is a test server, and not used
in production, you could just play around with the setting and see if your
query gets any faster.

Here are the docs on work mem

http://www.postgresql.org/docs/8.2/interactive/runtime-config-resource.html#
RUNTIME-CONFIG-RESOURCE-MEMORY

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2009-05-29 17:37:54 Re: Scalability in postgres
Previous Message Anne Rosset 2009-05-29 16:05:04 Re: Unexpected query plan results