| От | Tom Lane |
|---|---|
| Тема | Re: long lasting select, no io nor cpu usage ? |
| Дата | |
| Msg-id | 2042.1395323785@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | long lasting select, no io nor cpu usage ? (Franck Routier <franck.routier@axege.com>) |
| Ответы |
Re: long lasting select, no io nor cpu usage ?
|
| Список | pgsql-performance |
Franck Routier <franck.routier@axege.com> writes:
> I am doing a select, that did not finish after some 15 hours... Select
> is as follows:
> select * from sanact where sanact___rfovsnide = 'MYVERSION' order by
> sanactcsu;
> There is an index on sanact___rfovsnide and doing EXPLAIN shows it is used.
> Resulting dataset should be 1626000 rows.
> iostat shows 99.5% idle disks, almost no activity.
> top shows almost no cpu usage.
> Where should I be looking for a problem ?
pg_locks, probably.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера