Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Manfred Koizar <mkoi-pg(at)aon(dot)at>
Cc: Jenny Zhang <jenny(at)osdl(dot)org>, <pgsql-performance(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>, <osdldbt-general(at)lists(dot)sourceforge(dot)net>
Subject: Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL
Date: 2003-08-04 16:09:09
Message-ID: Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Mon, 4 Aug 2003, Manfred Koizar wrote:

> On 01 Aug 2003 11:04:10 -0700, Jenny Zhang <jenny(at)osdl(dot)org> wrote:
> >A sample OSDL-DBT3 test result report can be found at:
> >http://khack.osdl.org/stp/276912/
> >
> >Your comments are welcome,
>
> | effective_cache_size | 1000
>
> With 4GB of memory this is definitely too low and *can* (note that I
> don't say *must*) lead the planner to wrong decisions.
>
> | shared_buffers | 15200
>
> ... looks reasonable. Did you test with other values?
>
> | sort_mem | 524288
>
> This is a bit high, IMHO, but might be ok given that DBT3 is not run
> with many concurrent sessions (right?).
> http://khack.osdl.org/stp/276912/results/plot/vmstat_swap.png shows
> some swapping activity towards the end of the run which could be
> caused by a too high sort_mem setting.

Sorry, my last email shot off out of the gun before it was completed...

To repeat: Don't forget to set effective_cache_size the same way as
shared buffers (i.e. it's in 8k blocks for most systems.) If you have a
machine with 4 gig ram, and 3 gigs is available as disk cache, then
divide out 3 gigs by 8k to get the right number. My quick calculation
shows that being about 393216 blocks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-08-04 16:17:06 Re: plPHP -- sort of an announcement.. but not commercial
Previous Message scott.marlowe 2003-08-04 16:07:01 Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Cain 2003-08-04 16:14:06 Re: [SQL] EXTERNAL storage and substring on long strings
Previous Message scott.marlowe 2003-08-04 16:07:01 Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL