From: Stéphane KANSCHINE <stephane@hexack.fr>
To: Shrinivas Devarkonda <shrinivasdevarkonda@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Memory consumption of a sql.
Date: Fri, 28 Apr 2017 09:03:42 +0200
Message-ID: <20170428070342.ea2rix6l3od73h6t@office.hexack.fr> (raw)
In-Reply-To: <CAJavUp3khqtVOPwBdgjsu+usbUcqf+x4iJHxYbkC4Q9KUEOMKQ@mail.gmail.com>
References: <CAJavUp3khqtVOPwBdgjsu+usbUcqf+x4iJHxYbkC4Q9KUEOMKQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Le ven. 28 avril, vers 12:16, Shrinivas Devarkonda exprimait :
> Hi All,
Hey !
> Is there any way to print / get the memory consumption taken by sql in
> postgresql 9.x ? Can we also get/print the data size returned by Sql ?
>
> There is no parameters in log_line_prefix in postgresql.conf
Did you already have a look et pg_stat_statements ?
https://www.postgresql.org/docs/9.6/static/pgstatstatements.html
Regards,
--
Stéphane KANSCHINE - http://www.hexack.fr./ - http://www.nuajik.com./
@ stephane@hexack.fr
+33 6 64 31 72 52
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: stephane@hexack.fr, shrinivasdevarkonda@gmail.com
Subject: Re: Memory consumption of a sql.
In-Reply-To: <20170428070342.ea2rix6l3od73h6t@office.hexack.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox