Re: Picking up strange queries for "pg_catalog"

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Picking up strange queries for "pg_catalog"
Дата
Msg-id i0pr2d$211$1@dough.gmane.org
обсуждение исходный текст
Ответ на Picking up strange queries for "pg_catalog"  (Graham Leggett <minfrin@sharp.fm>)
Ответы Re: Picking up strange queries for "pg_catalog"
Список pgsql-jdbc
Graham Leggett wrote on 04.07.2010 13:13:
> Hi all,
>
> While investigating some performance issues with a database, I have been
> analysing the database queries, and have discovered that I am getting
> thousands and thousands of queries that look like the ones below.
>
> Asking on the pgsql-general list, I was pointed in the direction of the
> jdbc driver, which in theory is making these queries, but not caching them.
>
> Does this look familiar to anybody?
>
> In addition to this, I am using the atomikos XA transaction manager,
> could this be the source of these queries?
>

I don't think it's the driver "making" these calls. Some of them look like they are a result of calling severl JDBC
metadataAPI functions (e.g DatabaseMetaData.getColumns() or something similar) which in turn are not initiated by the
driver,but by the client software. So I would suspect the transaction manager or your ORM library to make those calls
(andthus generating the queries) 

Thomas

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Graham Leggett
Дата:
Сообщение: Picking up strange queries for "pg_catalog"
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Unable to commit: transaction marked for rollback