Re: Queries causing highest I/O load since pg_stat_reset?

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Mikael Carneholm <Mikael(dot)Carneholm(at)wirelesscar(dot)com>
Cc: "'Pgsql-General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Queries causing highest I/O load since pg_stat_reset?
Date: 2005-11-14 20:07:30
Message-ID: c2d9e70e0511141207l9ee588fu8f90e63c794fbde4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/14/05, Mikael Carneholm <Mikael(dot)Carneholm(at)wirelesscar(dot)com> wrote:
> Hi,
>
> is it possible to retrieve a list of queries that has caused the highest i/o load? Something like
>
> (1) select pg_stat_reset();
> (2) run some queries for a while
> (3) list the queries that caused the highest i/o since step (1)
>
> ?
>
> /Mikael
>

select * from pg_stat_activity;

--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aaron Steele 2005-11-14 20:28:49 lo_import()
Previous Message Mikael Carneholm 2005-11-14 19:59:19 Queries causing highest I/O load since pg_stat_reset?