Re: Inconsistent performance - Mailing list pgsql-performance

From Jeff
Subject Re: Inconsistent performance
Date
Msg-id Pine.BSF.4.44.0309161135420.2465-100000@torgo.978.org
Whole thread Raw
In response to Re: Inconsistent performance  (Joseph Bove <jbove@vetstar.com>)
List pgsql-performance
On Tue, 16 Sep 2003, Joseph Bove wrote:

> I still think that 3 seconds is not acceptable. However, I reserve the
> right to be wrong. Does it sound unrealistic to expect PostgreSQL to be
> able to read 90,000 rows with 300 bytes per row in under a second?
>
first, check to see what your max throughput on your disk is using a
benchmark such as Bonnie (Making sure to use a size LARGER than phsyical
memory. 2x physical is veyr optimial).

next, run your query again with a vmstat 1 running in another term.

See how close the vmstat "bi" numbers correspond to your max according to
bonnie.  You could have an IO bottleneck.  (I once went running around
trying to figure it out and then discovered the issue was IO).



--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/



pgsql-performance by date:

Previous
From: Joseph Bove
Date:
Subject: Re: Inconsistent performance
Next
From: Mary Edie Meredith
Date:
Subject: Re: [GENERAL] how to get accurate values in pg_statistic