From: | Steven Chang <stevenchang1213(at)gmail(dot)com> |
---|---|
To: | Shrinivas Devarkonda <shrinivasdevarkonda(at)gmail(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Memory consumption of a sql. |
Date: | 2017-04-28 07:15:08 |
Message-ID: | CAEJt7k0h7E69OfpbqbP_87agzVfEYV=NYR=3624hwo3SMrMQLA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hello,
explain (buffers, analyze) your sql statements .......
data size ???
You can put your data in a table, and check its size.
I don't what you want to check ??
buffer usages, intermediate temp object size or sorting size or some
other thing ??
You can also try pg_stat_statements contrib module for your intending
analysis.
BR ,
Steven
2017-04-28 14:46 GMT+08:00 Shrinivas Devarkonda <
shrinivasdevarkonda(at)gmail(dot)com>:
> Hi All,
>
> 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
>
> Please guide.
>
>
> --
> Regards,
> Shrinivas Devarkonda.
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2017-04-28 11:43:23 | Re: wal segment size |
Previous Message | Stéphane KANSCHINE | 2017-04-28 07:03:42 | Re: Memory consumption of a sql. |