Re: Weird CPU utilization patterns with Postgres
| От | Peter Geoghegan |
|---|---|
| Тема | Re: Weird CPU utilization patterns with Postgres |
| Дата | |
| Msg-id | CAEYLb_VbVmRjMB6ruuE64pARkY_ASKxZCVQnWuUHE5D-jhrOdA@mail.gmail.com обсуждение исходный текст |
| Ответ на | Weird CPU utilization patterns with Postgres (István <leccine@gmail.com>) |
| Ответы |
Re: Weird CPU utilization patterns with Postgres
|
| Список | pgsql-general |
On Fri, Dec 5, 2014 at 5:14 PM, István <leccine@gmail.com> wrote: > I am wondering why the root cause might be here. My guess would be that an important text-based sort operation began to go to disk. The external sort code (tapesort) is known to do far more comparisons than quicksort. With text sorts, you tend to see tapesort very CPU bound, where that might not be the case with integer sorts. I'm currently trying to fix this across the board [1], but my first suggestion is to try enabling log_temp_files to see if external sorts can be correlated with these stalls. [1] https://commitfest.postgresql.org/action/patch_view?id=1462 -- Regards, Peter Geoghegan
В списке pgsql-general по дате отправления: