Slow performance updating CLOB data

Поиск
Список
Период
Сортировка
От Nicola Zanaga
Тема Slow performance updating CLOB data
Дата
Msg-id 47856758BAE4794A9EC4FCA2E63FC85E37059326@exchange.intranet.efsw.it
обсуждение исходный текст
Ответы Re: Slow performance updating CLOB data  (Thomas Kellerer <spam_eater@gmx.net>)
R: Slow performance updating CLOB data  (Nicola Zanaga <NZanaga@efsw.it>)
Список pgsql-jdbc
Hi, using ResultSet.updateCharacterStream to update a CLOB is very slow.

Most of the time is spent in method PgResultSet.isUpdateable  because the table has a primary key but doesn't have a "oid" column.

So the code tries to get primary keys from the query, using getMetaData().getPrimaryKeys.
This is a very slow process.

There is any workaround ?

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

Предыдущее
От: Nicola Zanaga
Дата:
Сообщение: Slow performance updating CLOB data
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Slow performance updating CLOB data