Re: [Fwd: postgres 8.4.1 number of connections]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux