Re: Performance

From: Claudio Freire <klaussfreire(at)gmail(dot)com>
To: Tomas Vondra <tv(at)fuzzy(dot)cz>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance
Date: 2011-04-14 06:49:56
Message-ID: BANLkTikYtnzTfS8Yjc-3ap9kysXLLpJwmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Apr 14, 2011 at 1:26 AM, Tomas Vondra <tv(at)fuzzy(dot)cz> wrote:
> Workload A: Touches just a very small portion of the database, to the
> 'active' part actually fits into the memory. In this case the cache hit
> ratio can easily be close to 99%.
>
> Workload B: Touches large portion of the database, so it hits the drive
> very often. In this case the cache hit ratio is usually around RAM/(size
> of the database).

You've answered it yourself without even realized it.

This particular factor is not about an abstract and opaque "Workload"
the server can't know about. It's about cache hit rate, and the server
can indeed measure that.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Václav Ovsík 2011-04-14 08:11:52 Re: poor execution plan because column dependence
Previous Message Greg Smith 2011-04-14 04:23:23 Re: Linux: more cores = less concurrency.