Re: CPU and RAM

From: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
To: Harry Jackson <harryjackson(at)gmail(dot)com>
Subject: Re: CPU and RAM
Date: 2005-12-22 04:01:12
Message-ID: Pine.LNX.4.58.0512212258450.21276@eon.cs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On Thu, 22 Dec 2005, Harry Jackson wrote:

> I am currently using a dual Opteron (248) single core system (RAM
> PC3200) and for a change I am finding that the bottleneck is not disk
> I/O but CPU/RAM (not sure which). The reason for this is that the most
> frequently accessed tables/indexes are all held in RAM and when
> querying the database there is almost no disk activity which is great,
> most of the time.
>
> At the moment everything is working OK but I am noticing an almost
> linear increase in time to retrieve data from the database as the data
> set increases in size. Clustering knocks the access times down by 25%

Let's find out what's going on first. Can you find out the most expensive
query. Also, according to you what you said: (1) execution time is linear
to data set size (2) no disk IO - so why cluster will improve 25%?

Regards,
Qingqing

In response to

  • CPU and RAM at 2005-12-22 01:20:16 from Harry Jackson

Browse pgsql-performance by date

  From Date Subject
Next Message Jignesh K. Shah 2005-12-22 04:07:47 Re: What's the best hardver for PostgreSQL 8.1?
Previous Message Tom Lane 2005-12-22 03:45:11 Re: Speed of different procedural language