Re: pg_stat_statements extension

2020-01-16 Thread Andreas Kretschmer
On 13 January 2020 20:15:21 CET, Rushikesh socha wrote: >HI, Is there any good link that shows how to install pg_stat_statements >extension >I am getting below error > >postgres=# CREATE EXTENSION pg_stat_statements; >ERROR: could not open extension control file >"/us

Re: pg_stat_statements extension

2020-01-13 Thread Michael Paquier
On Mon, Jan 13, 2020 at 11:41:36AM -0800, Adrian Klaver wrote: > How did the above get installed, from source, RPM. other? Rushikesh, depending on your environment, the way to install pg_stat_statements' libraries may change. On most Linux distributions, any extension modules are shipped with a p

Re: pg_stat_statements extension

2020-01-13 Thread Adrian Klaver
cha wrote: > HI, Is there any good link that shows how to install pg_stat_statements > extension Postgres version? How did you install Postgres? > I am getting below error > > postgres=# CREATE EXTENSION pg_stat_statements; > ERROR:  could

Re: pg_stat_statements extension

2020-01-13 Thread Rushikesh socha
. Rushikesh Socha Edison,NJ,USA Cell : +1 860 794 4643 On Mon, Jan 13, 2020 at 2:24 PM Adrian Klaver wrote: > On 1/13/20 11:15 AM, Rushikesh socha wrote: > > HI, Is there any good link that shows how to install pg_stat_statements > > extension > > Postgres version? > > H

Re: pg_stat_statements extension

2020-01-13 Thread Adrian Klaver
On 1/13/20 11:15 AM, Rushikesh socha wrote: HI, Is there any good link that shows how to install pg_stat_statements extension Postgres version? How did you install Postgres? I am getting below error postgres=# CREATE EXTENSION pg_stat_statements; ERROR:  could not open extension control

pg_stat_statements extension

2020-01-13 Thread Rushikesh socha
HI, Is there any good link that shows how to install pg_stat_statements extension I am getting below error postgres=# CREATE EXTENSION pg_stat_statements; ERROR: could not open extension control file "/usr/pgsql-11/share/extension/pg_stat_statements.control": No such file or directory Thanks.

Re: [proposal] pg_stat_statements: extension timing instrumentation

2018-10-21 Thread legrand legrand
An other way is to use "waits" reporting ... something like : pgss_store (...) pgstat_report_wait_start(PG_WAIT_EXTENSION); ... pgstat_report_wait_end(); gives waits of type "Extension", name "Extension" when spending time in this part of pgss. This can help those working

[proposal] pg_stat_statements: extension timing instrumentation

2018-09-29 Thread legrand legrand
Don't you have been surprised by the duration of a query (seen in psql with \timing) and the duration for the same query found in pgss ? It seems that writting the first query text to file takes some time, that high execution rate on the same query could generate waits on locks as when pgss is u