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 Pgadmin Hackers > Re: connections
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 4481 of 4701
Post > Topic >>

Re: connections

by dpage@[EMAIL PROTECTED] ("Dave Page") Apr 21, 2008 at 07:27 AM

On Sun, Apr 20, 2008 at 6:00 PM, Dave Page <dpage@[EMAIL PROTECTED]
> wrote:
> On Fri, Apr 18, 2008 at 7:30 PM, Roberts, Jon <Jon.Roberts@[EMAIL PROTECTED]
>
wrote:
>
> I'm awaiting confirmation from the lead architect, but I believe that
> a single connection from pgAdmin will result in 1 connection to each
> node in the cluster in GridSQL. However I believe there is also a
> certain amount of pooling going on so I don't believe it's such a
> problem. Besides.... that may be 16 connections in a 16 node system,
> but each of those is a complete PostgreSQL/EnterpriseDB server capable
> of handling as many connections as it could if it were a standalone
> server (which could be hundreds or thousands), so it's no more an
> issue than if you had a single server.

The word from the GridSQL guru is:

I am not sure I understand why he has so many connections because each
segment should be on a different host. Maybe they have something set
up where there are multiple logical nodes (er, segments) running on a
single postmaster instance.

Maybe that further explodes if each segment creates a connection to
every other one and persists it.

In GridSQL, we have a pool of connections that are used, starting with
5 for each underlying node. These are shared amongst the users, unless
somethings stateful happens in which case the underlying connection
needs to become persistent for a user session. We also have an extra
connection for the metadata database, and some vestiges of old code
for a pool of "coordinator" connections, but they are not used for
most queries.

Anyway, the bottom line is, GridSQL will not consume as many
connections as in the Greenplum case.

-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

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




 4 Posts in Topic:
connections
Jon.Roberts@[EMAIL PROTEC  2008-04-18 13:30:29 
Re: connections
dpage@[EMAIL PROTECTED]   2008-04-20 18:00:27 
Re: connections
dpage@[EMAIL PROTECTED]   2008-04-21 07:27:40 
Re: connections
Jon.Roberts@[EMAIL PROTEC  2008-04-21 07:38:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Aug 21 22:50:38 CDT 2008.