Context switching

Поиск
Список
Период
Сортировка
От Carlos H. Reimer
Тема Context switching
Дата
Msg-id PEEPKDFEHHEMKBBFPOOKKEDCDGAA.carlos.reimer@opendb.com.br
обсуждение исходный текст
Ответы RES: Context switching  ("Carlos H. Reimer" <carlos.reimer@opendb.com.br>)
Re: Context switching  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
Hi,
 
We've migrated one of our servers from pg 7.4 to 8.1 and from times to times (4 hours) the server start doing a lot of context switching and all transactions become very slow.
 
The average context switching for this server as vmstat shows is 1 but when the problem occurs it goes to 250000.
 
CPU and memory usage are ok.
 
What can produce this context switching storms?
 
It is a box with 12GB RAM and 4 processors running RedHat Enterprise Linux AS.
 
Thank you in advance!

Reimer
carlos.reimer@opendb.com.br
OpenDB Serviços e Treinamentos PostgreSQL e DB2
Fone: 47 3327-0878 Cel: 47 9602-0151
www.opendb.com.br

 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Yet another question on LIMIT performance :/
Следующее
От:
Дата:
Сообщение: Re: profiling PL/pgSQL?