Re: Increased I/O / Writes - Mailing list pgsql-general

From Edson Richter
Subject Re: Increased I/O / Writes
Date
Msg-id BLU437-SMTP769D2B568D7500523430CFCF710@phx.gbl
Whole thread Raw
In response to Increased I/O / Writes  ("drum.lucas@gmail.com" <drum.lucas@gmail.com>)
List pgsql-general

I had a similar problem few days ago.

Point is, I've (by mistaken), deleted a index, and this increased the table scan, increasing overall I/O.


Atenciosamente,

Edson Carlos Ericksson Richter
Em 08/05/2016 23:07, drum.lucas@gmail.com escreveu:
Hi all,

I've recently an increase IO for writes on my DB. I'm currently using PostgreSQL 9.2.
Inline images 1

I know that much improvements can be done (as I'm using SATA disks), but my question is:

Is there a way to detect the queries that are causing that?

I can use pg_stat_statements to get the most usage queries, but I was wondering how can I find the queries that are causing that much IO?

Please, if anyone can share anything.. Thanks a lot!
Lucas

Attachment

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Columnar store as default for PostgreSQL 10?
Next
From: Lucas Possamai
Date:
Subject: Unused indexes - PostgreSQL 9.2