Re: [Fwd: postgres 8.4.1 number of connections]

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [Fwd: postgres 8.4.1 number of connections]
Дата
Msg-id 4C770F75.20702@agliodbs.com
обсуждение исходный текст
Ответ на [Fwd: postgres 8.4.1 number of connections]  ("Maria L. Wilson" <Maria.L.Wilson-1@nasa.gov>)
Список pgsql-performance
> One of our many concerns has been the way we handle connections to the
> database.  java/hibernate handle their own pooling so I understand that
> using anything else is out of the question.

It's not out of the question, but it's probably not necessary.

> Our jboss configuration
> currently defaults to 5 connections per database.  On our main database
> server, we handle 7 of the databases that this application uses.  On
> this one server, we usually average around 300 - 500 connections to the
> server.

Do you have 10 to 20 application servers?  Otherwise I don't understand
how you're getting 300 to 500 connections.  Do you have any stats about
how many connections for each database each JBOSS server actually needs?
 It seems unusual that it would need more than one or two.

Also, why does the application use 7 different databases?

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

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

Предыдущее
От: Bob Lunney
Дата:
Сообщение: Re: Slow Query
Следующее
От: Scott Carey
Дата:
Сообщение: Re: Performance on new 64bit server compared to my 32bit desktop