Getting statistics

From: Suresh <suiyengar(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Getting statistics
Date: 2008-04-29 13:05:32
Message-ID: 471902.34779.qm@web54505.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I want to collect various statistics like time taken, number of context switches, page faults etc.. for a query being run. postgres.c contains lots of getrusage related things.

Is there any way to calculate all the things without writing any custom code ?

Thanks and regards,
Suresh


---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-04-29 13:16:12 Re: Protection from SQL injection
Previous Message Magnus Hagander 2008-04-29 12:53:34 Re: [HACKERS] [DOCS] pg_total_relation_size() and CHECKPOINT