Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group