Re: CPU and RAM

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: CPU and RAM
Дата
Msg-id Pine.LNX.4.58.0512212258450.21276@eon.cs
обсуждение исходный текст
Ответ на CPU and RAM  (Harry Jackson <harryjackson@gmail.com>)
Список 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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Speed of different procedural language
Следующее
От: "Jignesh K. Shah"
Дата:
Сообщение: Re: What's the best hardver for PostgreSQL 8.1?