From: Marek Florianczyk <franki@tpi.pl>
To: Matt Clark <matt@ymogen.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance problem - 10.000 databases
Date: 31 Oct 2003 13:14:12 +0100
Message-ID: <1067602452.22237.76.camel@franki-laptop.tpi.pl> (raw)
In-Reply-To: <OAEAKHEHCMLBLIDGAFELAEDGDPAA.matt@ymogen.net>
References: <OAEAKHEHCMLBLIDGAFELAEDGDPAA.matt@ymogen.net>
W liście z pią, 31-10-2003, godz. 12:25, Matt Clark pisze:
> Ooh, I see. That's a tricky one. Do you really need that level of separation?
Well, if you talk with the clients, and they promise, that they will not
access to other databasess, and specially don't do "drop database
my_bes_fried_db"
I can put:
host any any 0.0.0.0 0.0.0.0 trust
in the very beginning of pg_hba.conf ;)
greetings ;)
Marek
>
>
> > Because every virtual domain has its own database, username and
> > password. So one client domain1.com with db: domain1db user: domain1user
> > cannot access to second client database domain2.com db: domain2db user:
> > domain2user
> > pg_hba.conf look like this:
> > host domain1db domain1user ip_addr netmask md5
> > host domain2db domain2user ip_addr netmask md5
> > .....
> > ....
> > 10.000 records
> > ...
> > ...
> > host domain10000db domain10000user ip_addr netmask md5
> >
> >
> > You know, one client cannot access to other client database.
> > So, if one process is connected to domain1db it cannto access to
> > domain2db, and others.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: franki@tpi.pl, matt@ymogen.net
Subject: Re: performance problem - 10.000 databases
In-Reply-To: <1067602452.22237.76.camel@franki-laptop.tpi.pl>
References: <OAEAKHEHCMLBLIDGAFELAEDGDPAA.matt@ymogen.net> <1067602452.22237.76.camel@franki-laptop.tpi.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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