Re: DTrace and PostgreSQL

From: "raysonlogin(at)gmail(dot)com" <raysonlogin(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DTrace and PostgreSQL
Date: 2007-04-13 01:41:59
Message-ID: 1176428519.831032.190800@b75g2000hsg.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Apr 12, 8:13 pm, "Karen Hill" <karen_hil(dot)(dot)(dot)(at)yahoo(dot)com> wrote:
> I was wondering if DTrace could tell me how many inserts are being
> done in a pl/pgsql function while in a loop for example. As you know
> a pl/pgsql function executes in a single transaction so the DTrace
> probe "transaction__commit(int)" I believe is not helpful here. Could
> DTrace measure how many inserts are being done in a transaction that
> has not yet been commited, especially if that transaction block is in
> a pl/pgsql function? This would be extremely useful as when one has a
> bunch of inserts one could be able to see how far along the pl/pgsql
> function was.

Karen, having fun with communicating with your V125??

FYI:
http://pgfoundry.org/docman/view.php/1000163/230/PostgreSQL-DTrace-Users-Guide.pdf

Rayson

>
> regards,
> karen

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rick Schumeyer 2007-04-13 03:18:26 Arrays with Rails?
Previous Message Alvaro Herrera 2007-04-13 01:08:26 Re: DTrace and PostgreSQL