Re: SSD options, small database, ZFS - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: SSD options, small database, ZFS
Date
Msg-id CAOR=d=14dTQpPsn7+rCw8WU+Um9u7cNt1xG1KGhqECnejcEktw@mail.gmail.com
Whole thread Raw
In response to Re: SSD options, small database, ZFS  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: SSD options, small database, ZFS  ("Tomas Vondra" <tv@fuzzy.cz>)
List pgsql-performance
On Fri, Nov 18, 2011 at 3:09 AM, Greg Smith <greg@2ndquadrant.com> wrote:
> On 11/17/2011 10:44 PM, CSS wrote:
>>
>> Is there any sort of simple documentation on the query planner that might
>> cover how things like increased RAM could impact how a query is executed?
>
> There is no *simple* documentation on any part of the query planner that's
> also accurate.  Query planning is inherently complicated.
>
> I think this point wasn't quite made clearly.  PostgreSQL has no idea how
> much memory is in your system; it doesn't try to guess or detect it.

effective_cache_size tells the db how much memory you have.  Since you
have to set it, it can be anything you want, but if you've set it to
something much higher on the new machine then it can affect query
planning.

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: probably cause (and fix) for floating-point assist faults on itanium
Next
From: "Tomas Vondra"
Date:
Subject: Re: SSD options, small database, ZFS