pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgresql mysql max connections
5+ messages / 4 participants
[nested] [flat]

* postgresql mysql max connections
@ 2003-02-12 18:36  Jose Antonio Martinez <lfbbes@yahoo.es>
  0 siblings, 1 reply; 5+ messages in thread

From: Jose Antonio Martinez @ 2003-02-12 18:36 UTC (permalink / raw)
  To: pgsql-admin

In mysql there are two configuration parameters for
limiting connections:

         max_user_connections
         max_connections

the first limits the number of concurrent connexions
from a same user, is there an equivalent in
postgresql?

Postgresql seems to limit only the total number of
connexions with the parameter 'max_connections'
(postgresql.conf)

thanks.


___________________________________________________
Yahoo! Móviles
Personaliza tu móvil con tu logo y melodía favorito 
en http://moviles.yahoo.es



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postgresql mysql max connections
@ 2003-02-13 15:13  Robert Treat <xzilla@users.sourceforge.net>
  parent: Jose Antonio Martinez <lfbbes@yahoo.es>
  0 siblings, 1 reply; 5+ messages in thread

From: Robert Treat @ 2003-02-13 15:13 UTC (permalink / raw)
  To: Jose Antonio Martinez <lfbbes@yahoo.es>; +Cc: pgsql-admin

There is no equivilant setting in postgresql, though this doesn't seem
like a terribly hard feature to add. You might want to submit a proposal
on -hackers, or better yet, a patch. :-)

Robert Treat

On Wed, 2003-02-12 at 13:36, Jose Antonio Martinez wrote:
> In mysql there are two configuration parameters for
> limiting connections:
> 
>          max_user_connections
>          max_connections
> 
> the first limits the number of concurrent connexions
> from a same user, is there an equivalent in
> postgresql?
> 
> Postgresql seems to limit only the total number of
> connexions with the parameter 'max_connections'
> (postgresql.conf)
> 
> thanks.
> 






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postgresql mysql max connections
@ 2003-02-13 19:31  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 5+ messages in thread

From: Bruce Momjian @ 2003-02-13 19:31 UTC (permalink / raw)
  To: Robert Treat <xzilla@users.sourceforge.net>; +Cc: Jose Antonio Martinez <lfbbes@yahoo.es>; pgsql-admin


I think the big question is where there is any value in limiting the
number of connections "per user".  I haven't seen anyone ask for that
before, so I haven't seen much demand for it.

---------------------------------------------------------------------------

Robert Treat wrote:
> There is no equivilant setting in postgresql, though this doesn't seem
> like a terribly hard feature to add. You might want to submit a proposal
> on -hackers, or better yet, a patch. :-)
> 
> Robert Treat
> 
> On Wed, 2003-02-12 at 13:36, Jose Antonio Martinez wrote:
> > In mysql there are two configuration parameters for
> > limiting connections:
> > 
> >          max_user_connections
> >          max_connections
> > 
> > the first limits the number of concurrent connexions
> > from a same user, is there an equivalent in
> > postgresql?
> > 
> > Postgresql seems to limit only the total number of
> > connexions with the parameter 'max_connections'
> > (postgresql.conf)
> > 
> > thanks.
> > 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postgresql mysql max connections
@ 2003-02-13 20:00  Bjoern Metzdorf <bm@turtle-entertainment.de>
  parent: Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 5+ messages in thread

From: Bjoern Metzdorf @ 2003-02-13 20:00 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; Robert Treat <xzilla@users.sourceforge.net>; +Cc: Jose Antonio Martinez <lfbbes@yahoo.es>; pgsql-admin

> I think the big question is where there is any value in limiting the
> number of connections "per user".  I haven't seen anyone ask for that
> before, so I haven't seen much demand for it.

This is important in a hosting environment where you have a shared
db-server. Then you can limit the connections for each customer and a single
customer is not able to get all connections, thus denying access for other
customers.

Regards,
Bjoern




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postgresql mysql max connections
@ 2003-02-13 20:30  Jose Antonio Martinez <lfbbes@yahoo.es>
  parent: Bjoern Metzdorf <bm@turtle-entertainment.de>
  0 siblings, 0 replies; 5+ messages in thread

From: Jose Antonio Martinez @ 2003-02-13 20:30 UTC (permalink / raw)
  To: Bjoern Metzdorf <bm@turtle-entertainment.de>; +Cc: xzilla@users.sourceforge.net; pgsql-admin

yes, i am thinking about installing and configuring postgresql in a contest
of shared db-server. I think postgresql has more funcionalities than mysql
( trigger, sql92, ...) but ...

mysql seems to be more configurable for shared db server and is implementing
more and more funcionalities (most beta at the moment).

is there any value for limiting the  number of connections "per user" in
postgresql?



----- Original Message -----
From: "Bjoern Metzdorf" <bm@turtle-entertainment.de>
To: "Bruce Momjian" <pgman@candle.pha.pa.us>; "Robert Treat"
<xzilla@users.sourceforge.net>
Cc: "Jose Antonio Martinez" <lfbbes@yahoo.es>; <pgsql-admin@postgresql.org>
Sent: Thursday, February 13, 2003 9:00 PM
Subject: Re: [ADMIN] postgresql mysql max connections


> > I think the big question is where there is any value in limiting the
> > number of connections "per user".  I haven't seen anyone ask for that
> > before, so I haven't seen much demand for it.
>
> This is important in a hosting environment where you have a shared
> db-server. Then you can limit the connections for each customer and a
single
> customer is not able to get all connections, thus denying access for other
> customers.
>
> Regards,
> Bjoern
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

___________________________________________________
Yahoo! Móviles
Personaliza tu móvil con tu logo y melodía favorito 
en http://moviles.yahoo.es



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2003-02-13 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-12 18:36 postgresql mysql max connections Jose Antonio Martinez <lfbbes@yahoo.es>
2003-02-13 15:13 ` Robert Treat <xzilla@users.sourceforge.net>
2003-02-13 19:31   ` Bruce Momjian <pgman@candle.pha.pa.us>
2003-02-13 20:00     ` Bjoern Metzdorf <bm@turtle-entertainment.de>
2003-02-13 20:30       ` Jose Antonio Martinez <lfbbes@yahoo.es>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox