Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Re: Database Co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 1941 of 2010
Post > Topic >>

Re: Database Connection pool

by chetanpadhye@[EMAIL PROTECTED] (Chetan Bob) Apr 28, 2008 at 10:55 PM

Hi  John ,

Thanks for reply ,
See i have application running already which takes data from one db and
performs.
Now i want this application should take data from the database depending
on
the login id i have database designed and  running fine so its costly to
change either db or code.
If i could do this connection pool and could pick up connection as per the
login client the application can l show data and behave as per the data
associated with this client. For anther client Db Connection is different
as
result db is different so here this second client will get different data
as
well behavior . Like wise i may have about 50 clients in all ....
Please suggest on this ..or any other approach .

Thanks 
-Bob

 

John R Pierce wrote:
> 
> Chetan Bob wrote:
>> Basically i have one web application and one database associated with 
>> it Now i want some thing like this I will have about 50 database of 
>> same schema with different data (ofcource) now i will have some 
>> connection pool like thing which will have database connections for 
>> each of 50 database Question ) Can i serialize this db connections. ? 
>> will it rise to performance problem ? basically whats the way i can 
>> have db connection pool In this way when ever My Application make 
>> database acsess I will return any of the connection i select and so 
>> with effect different database and data. Question ) can it be done 
>> ...?? I m using postgres Sql as DB Server. Thanks
>>
------------------------------------------------------------------------
> 
> I'm kind of curious why 50 diifferent databases, and not one database 
> with some distingui****ng data in the tables...    are these for 50 
> different customers or websites or something, and never the data shall 
> meet?   Your request for a connecction pool makes it sounds like one 
> program would be accessing all 50 of these databases, how does it decide

> which, whats the differentiating characteristic?
> 
> Normally a pool is used when one program is repeatedly 
> connecting/disconnecting from a single database, classically like 
> webpages... with 50 different databases, you'd need 50 different pools.
> 
> -- 
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
> 
> 

-- 
View this message in context:
http://www.nabble.com/Database-Connection-pool-tp16930362p16953692.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 4 Posts in Topic:
Database Connection pool
chetanpadhye@[EMAIL PROTE  2008-04-28 00:05:38 
Re: Database Connection pool
pg@[EMAIL PROTECTED] (Da  2008-04-28 07:19:52 
Re: Database Connection pool
pierce@[EMAIL PROTECTED]   2008-04-28 09:22:44 
Re: Database Connection pool
chetanpadhye@[EMAIL PROTE  2008-04-28 22:55:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 8:40:27 CDT 2008.