| От | Mattias Kregert |
|---|---|
| Тема | Re: [HACKERS] Execution time |
| Дата | |
| Msg-id | 3503DF13.D2EA652@algonet.se обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Execution time (Shiby Thomas <sthomas@cise.ufl.edu>) |
| Список | pgsql-hackers |
Shiby Thomas wrote: > > The time command will give the elapsed, user CPU and System CPU times. > How do I interpret it as CPU/IO time ? > > Even the -s option of postgres gives those times. Will it be the same as > using "time postgres" ? Is the System time a reasonable approximation of the > I/O time and user time that of CPU time ? I would say they are reasonable approximations, at least for user==CPU. Perhaps you need to look at elapsed time too, and from that make some assumptions about I/O waiting time. I think system time will be lower if you use SCSI and higher with IDE. I would count (elapsed time - CPU time) as I/O time. /* m */
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера