[ADMIN] Warm standby server

2008-06-26 Thread Scott Whitney
I've got 3 different database servers (db01, db02 and db03). I would like to have a WAL standby server that replays logs for all 3 in case one goes down, so I can promote that particular server. Can I do this by installing 3 separate postmasters on this machine? Obviously, if 2 went down at the

Re: [ADMIN] plpgsql function seems to be leaking memory

2008-06-26 Thread Guillaume Lelarge
Tom Lane a écrit : Guillaume Lelarge [EMAIL PROTECTED] writes: Tom Lane a écrit : What do you have shared_buffers set to? I think you might be getting fooled by top's treatment of shared memory (ie, it starts to count shared pages after the process touches them for the first time). That's

Re: [ADMIN] Warm standby server

2008-06-26 Thread Simon Riggs
On Thu, 2008-06-26 at 10:19 -0500, Scott Whitney wrote: I've got 3 different database servers (db01, db02 and db03). I would like to have a WAL standby server that replays logs for all 3 in case one goes down, so I can promote that particular server. Can I do this by installing 3 separate

[ADMIN] Extended security/restriction to any role with login access

2008-06-26 Thread Domingo Alvarez Duarte
Hello ! I'm trying to use postgresql in an application that by design will give access to users to a subset of the database. For example for customers access to products_view (wich will only show public offers), orders (only their own orders). I'll provide an application as user interface for

Re: [ADMIN] Extended security/restriction to any role with login access

2008-06-26 Thread Carol Walter
Hello, Domingo, My question is why do your users need access to pgadmin3? I have not used pgadmin3; we use phpPgAdmin. I can restrict access to that by putting it behind .htaccess. That is only users with a user name in .htacess can run phpPgAdmin. In the case of pgadmin3, shouldn't you

Re: [ADMIN] Warm standby server

2008-06-26 Thread Montaseri
I am not so sure of this arrangement's mertis From HA (High Availability) point of view, the host/server is a single point of failure which will bring your entire infrastructure down if any of the server hardware components fail. From Performance point of view, you have increased the load on

Re: [ADMIN] Warm standby server

2008-06-26 Thread Scott Whitney
Fully agreed, and it's just a concept at the moment. After I have a prototype standby working next week in the first place, we'll be discussing those very merits. A 2nd question: Is it possible to have 2 standby servers with a single master duplicating to standby1 (at my coloc), and standby2 (at

Re: [ADMIN] Warm standby server

2008-06-26 Thread Montaseri
While I am not an expert on WAL, but again I question the merits of such sophisticated HA configuration. Of course there are use cases for such configs, but I am only advocating best price performance kind of mentality As WAL writes the journals all the way down to the disk (ie write thru and not

Re: [ADMIN] Warm standby server

2008-06-26 Thread Scott Whitney
I was thinking along the same lines. However, having 2 standby servers is a must for us. If my colocation center gets razed to the ground, I need to have a standby server elsewhere. Having one at the colocation center is for soft/hardware disasters on any primary. Having one at my office is for

Re: [ADMIN] Warm standby server

2008-06-26 Thread Simon Riggs
On Thu, 2008-06-26 at 13:01 -0500, Scott Whitney wrote: A 2nd question: Is it possible to have 2 standby servers with a single master duplicating to standby1 (at my coloc), and standby2 (at my office)? Assume no auto-failover. Yes, that works too. -- Simon Riggs

Re: [ADMIN] Extended security/restriction to any role with login access

2008-06-26 Thread Lennin Caro
hello... you can restric acces from all the databases in your cluster. When you use pgadmin3 this show all the databases but if you dont have access to the databases you cant see the struct of this. check waht user use pgadmin3 for connect to databases create groups and add privileges to the