Re: CPU bound

From: Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com>
To: Jim Nasby <Jim(at)Nasby(dot)net>
Cc: James Cloos <cloos(at)jhcloos(dot)com>, Royce Ausburn <royce(at)inomial(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: CPU bound
Date: 2011-01-03 16:17:18
Message-ID: 4D21F68E.9070004@vmsinfo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Jim Nasby wrote:
> On Dec 20, 2010, at 12:47 AM, Mladen Gogala wrote:
>
>> Good time accounting is the most compelling reason for having a wait event interface, like Oracle. Without the wait event interface, one cannot really tell where the time is spent, at least not without profiling the database code, which is not an option for a production database.
>>
>
> Out of curiosity, have you tried using the information that Postgres exposes to dtrace? I suspect it comes close to what you can get directly out of Oracle...
> --
> Jim C. Nasby, Database Architect jim(at)nasby(dot)net
> 512.569.9461 (cell) http://jim.nasby.net
>
>
>
>
No, I haven't but I looked it in the documentation. I surmise, however,
that I will have to build my software with "--enable-dtrace", which is
not enabled by default. This certainly looks promising.

--

Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
http://www.vmsinfo.com
The Leader in Integrated Media Intelligence Solutions

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Strange, John W 2011-01-04 00:33:18 Question: BlockSize > 8192 with FusionIO
Previous Message marc.hsiao 2011-01-03 02:01:38 Re: How to turn autovacuum prevent wrap around run faster?