From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Fabio Caiut <caiut(at)hotmail(dot)com> |
Cc: | Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: How to avoid SET application_name = '' |
Date: | 2015-11-26 17:02:10 |
Message-ID: | CADK3HH+yC7A0Hkt=kJv1FZpFPo6MGQeUe2GoKDyHDpSc=Y0E+w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Fabio,
Thanks for the update. Glad we could help.
Now make sure you are using 1206. There is a serious bug in 1205
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
On 26 November 2015 at 11:35, Fabio Caiut <caiut(at)hotmail(dot)com> wrote:
> Hi,
> Vladimir, Thomas ... you're right.
>
> The glassfish guys analyzed dumps and look in the glassfish sources, the
> problem is there.
> They told me pool calls setClientInfo for each query!!
>
> Thank you for your help.
>
> Caiut
>
>
> > Date: Wed, 25 Nov 2015 19:54:56 +0300
> > Subject: Re: [JDBC] How to avoid SET application_name = ''
> > From: sitnikov(dot)vladimir(at)gmail(dot)com
> > To: caiut(at)hotmail(dot)com
> > CC: pgsql-jdbc(at)postgresql(dot)org
> >
> > As far as I can tell, there is no option to completely disable "set
> > application_name" feature via property.
> >
> > Is SQL appears when client calls
> > Connection#setClientInfo("ApplicationName", ...) or
> > Connection#setClientInfo(Properties).
> >
> > It make sense to avoid setting the same application name again and
> > again for the same connection.
> > Can you please file an issue at https://github.com/pgjdbc/pgjdbc/issues?
> >
> > In the mean time, it would be good if you could capture thread dumps
> > from the application (e.g. 100 dumps with 10 second intervals under
> > typical load) and grep setClientInfo. That would point out the line in
> > code that issues that excessive setClientInfo.
> >
> > Vladimir
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adam Brightwell | 2015-11-26 17:03:11 | Re: Migration to Maven |
Previous Message | Fabio Caiut | 2015-11-26 16:35:07 | Re: How to avoid SET application_name = '' |