Re: Connections performance is reduced

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Connections performance is reduced
Дата
Msg-id 20030521203222.GX17292@libertyrms.info
обсуждение исходный текст
Ответ на Re: Connections performance is reduced  (Barry Lind <blind@xythos.com>)
Список pgsql-jdbc
On Thu, May 15, 2003 at 08:56:03AM -0700, Barry Lind wrote:
> to run 'vacuum verbose' and look at how many records are actually
> vacuumed relative to when other connections are opened/closed.  I don't
> know the internals of the vacuum process very well, so I could be
> completely wrong here as well.

You're not wrong; you're right on.

This is a very common problem with long-running transactions.  A
search of the archives on something like "long running transaction"
will turn up a bunch of info about this.

The short answer to Antonio's question, though, is that long-running
transactions in Postgres are a real "gotcha".  You need to design to
avoid them.  This is especially true with JDBC, ODBC, and the rest
who use the same strategy for auto commit.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: [Bug] ResultSet#getMetaData() returns null
Следующее
От: Fernando Nasser
Дата:
Сообщение: JDBC: Better initial capacity for StringBuffers reduces memory usage