How to log quires which are taking time in PostgreSQL 9.1.

From: Dinesh Chandra 12108 <Dinesh(dot)Chandra(at)cyient(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: How to log quires which are taking time in PostgreSQL 9.1.
Date: 2017-02-23 16:21:01
Message-ID: f75bc56eb9784a0eadc6c8ed81bf27db@cyient.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dear expert,

I want to log only that queries which are taking around 5 minutes to execute.
I have a database size >1.5T and using PostgreSQL 9.1 with Linux OS.

Thanks in advance.

Regards,
Dinesh Chandra
|Database administrator (Oracle/PostgreSQL)| Cyient Ltd. Noida.
------------------------------------------------------------------
Mobile: +91-9953975849 | Ext 1078 |dinesh(dot)chandra(at)cyient(dot)com<mailto:%7Cdinesh(dot)chandra(at)cyient(dot)com>
Plot No. 7, NSEZ, Phase-II ,Noida-Dadri Road, Noida - 201 305,India.

________________________________

DISCLAIMER:

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Check all attachments for viruses before opening them. All views or opinions presented in this e-mail are those of the author and may not reflect the opinion of Cyient or those of our affiliates.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message ProPAAS DBA 2017-02-23 16:30:52 Re: How to log quires which are taking time in PostgreSQL 9.1.
Previous Message Pavel Stehule 2017-02-23 15:35:53 Re: Query performance changes significantly depending on limit value