Re: pgbench--new transaction type
| От | Jan Urbański |
|---|---|
| Тема | Re: pgbench--new transaction type |
| Дата | |
| Msg-id | 4DF5CEE7.3030500@wulczer.org обсуждение исходный текст |
| Ответ на | Re: pgbench--new transaction type (Greg Smith <greg@2ndQuadrant.com>) |
| Список | pgsql-hackers |
On 13/06/11 06:38, Greg Smith wrote: > On 06/11/2011 03:21 PM, Jeff Janes wrote: >> I wouldn't expect IPC chatter to show up in profiling, because it >> costs wall time, but not CPU time. The time spent might be attributed >> to the kernel, or to pgbench, or to nothing at all. >> > > Profilers aren't necessarily just accumulating raw CPU time though. If > the approach includes sampling "what code is active right now?" > periodically, you might be able to separate this out even though it's > not using CPU time in the normal fashion. I think you might just need > to use a better profiler. I got surprisingly insightful results in the past using http://poormansprofiler.org/ I never used it with Postgres, but it might be worth to try. J
В списке pgsql-hackers по дате отправления: