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: (view raw or whole thread)
Lists: pgsql-hackers

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,

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-2015 The PostgreSQL Global Development Group