Re: Increased I/O / Writes

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Igor Neyman <ineyman(at)perceptron(dot)com>, "drum(dot)lucas(at)gmail(dot)com" <drum(dot)lucas(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Increased I/O / Writes
Date: 2016-05-10 18:01:16
Message-ID: CANu8FiyNxunx-bvz_7Lfe1rESF5XFjzkSLnGKMEc13-HxhSa4A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<https://sourceforge.net/projects/pgbadger/>

On Tue, May 10, 2016 at 1:31 PM, Joshua D. Drake <jd(at)commandprompt(dot)com>
wrote:

> On 05/10/2016 09:50 AM, Igor Neyman wrote:
>
> Please, if anyone can share anything.. Thanks a lot!
>>
>> Lucas
>>
>> So, what’s wrong with using pg_stat_statements?
>>
>> It has a set of columns pertaining to IO.
>>
>>
> You could use iotop to determine which postgres pid is eating the IO, then
> use statement logging with PID (or pg_stat_activity/statement) to see what
> the system is actually doing.
>
> JD
>
>
> Regards,
>>
>> Igor Neyman
>>
>>
>
> --
> Command Prompt, Inc. http://the.postgres.company/
> +1-503-667-4564
> PostgreSQL Centered full stack support, consulting and development.
> Everyone appreciates your honesty, until you are honest with them.
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

I highly recommend you look into using PgBadger. It gives you a great deal
of info about your queries, including I/O, above and beyond pg_stats.
PgBadger info <https://dalibo.github.io/pgbadger/> PgBadger download
<https://sourceforge.net/projects/pgbadger/>

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2016-05-10 18:22:58 Re: Columnar store as default for PostgreSQL 10?
Previous Message Joshua D. Drake 2016-05-10 17:31:52 Re: Increased I/O / Writes