Re: [ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread Kristo Kaiv
Hi! We have a PostgreSQL cluster that is runnign on tens of server on different colocations. Failovers / switchovers between colocations can be done per server. Uptime has been >99.9%. All the software is opensource and has gone through intensive live testing. Our cluster is running on: s

Re: [ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread adey
HP was providing CA (Continuous Access) software that was claimed to provide WAN SAN replication by repeating IO in exactly the sequence it was generated on the master, to the slave. SO while there was a delay, updates on the slave would be sequentially intact, providing a good level of integrity

Re: [ADMIN] Attempt to re-archive existing WAL logs after restoring from backup

2007-05-30 Thread Jon Colverson
Jon Colverson wrote: I've been testing my DB backup and restore procedure and I've run into something I can't figure out. After recovering from a PITR backup, when I do another pg_start_backup PostgreSQL attempts to re-archive the last log again, which fails because it already exists in the arc

Re: [ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread Andrew Sullivan
On Wed, May 30, 2007 at 06:12:02PM -0400, Adam Tauno Williams wrote: > > Sure it can be done. Get two SANs that support replication, redundant > high-speed WAN links, high end servers, large UPSs, and generators. Most SANs that I've seen aren't in "geographically separate" locations in the way m

Re: [ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread Adam Tauno Williams
On Wed, 2007-05-30 at 17:18 -0400, Andrew Sullivan wrote: > On Wed, May 30, 2007 at 04:42:08PM -0300, Fernando Ike de Oliveira wrote: > > was 99,7% but considering the current necessities, change percentual > > to 99,99%. I think in solution probability pgpool-2 or Heartbeat + > > GFS. The Postgre

Re: [ADMIN] Fwd: Out of Memory on Reindex

2007-05-30 Thread Tom Lane
"Chris Hoover" <[EMAIL PROTECTED]> writes: > I am getting the following error when trying to run a reindex on one of my > databases. > reindexdb: reindexing of database "xxx" failed: ERROR: out of memory > DETAIL: Failed on request of size 268435456. > Can someone advise on what memory paramete

Re: [ADMIN] pg_dump: Error message from server: ERROR: compressed data is corrupt

2007-05-30 Thread Alvaro Herrera
Roman Chervotkin escribió: > Hi list. > > Do usual pg_dump today and have got an error. > > - > pg_dump: SQL command failed > pg_dump: Error message from server: ERROR: compressed data is corrupt > pg_dump: The command was: COPY public.candidates (id, name, surname, > mid_nam

Re: [ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread Andrew Sullivan
On Wed, May 30, 2007 at 04:42:08PM -0300, Fernando Ike de Oliveira wrote: > was 99,7% but considering the current necessities, change percentual > to 99,99%. I think in solution probability pgpool-2 or Heartbeat + > GFS. The PostgreSQL servers will be in different physical places. I would be ver

Re: [ADMIN] pg_dump: Error message from server: ERROR: compressed data is corrupt

2007-05-30 Thread Roman Chervotkin
Please help, I cannot understand what should be done in order to fix the issue. Any hint, I tried search and irc but found nothing useful yet. On 5/30/07, Roman Chervotkin <[EMAIL PROTECTED]> wrote: Do usual pg_dump today and have got an error. - pg_dump: SQL command fai

Re: [ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread gonzales
Different physical places, I hope high bandwidth + low latency :) On Wed, 30 May 2007, Fernando Ike de Oliveira wrote: Hi, I need solution to PostgreSQL for High Available, originally was 99,7% but considering the current necessities, change percentual to 99,99%. I think in solution

[ADMIN] High Avaliable in the PostgreSQL.

2007-05-30 Thread Fernando Ike de Oliveira
Hi, I need solution to PostgreSQL for High Available, originally was 99,7% but considering the current necessities, change percentual to 99,99%. I think in solution probability pgpool-2 or Heartbeat + GFS. The PostgreSQL servers will be in different physical places. Suggestions

Re: [ADMIN] Fwd: Out of Memory on Reindex

2007-05-30 Thread Joshua D. Drake
Chris Hoover wrote: Any ideas? Drop it and try to recreate it. As far as the parameter it is maintenance_work_mem but that should spill to disk which means you ran out of actual memory too. Joshua D. Drake P.S. You *need* to upgrade to 8.1.9 -- Forwarded message -- From:

[ADMIN] Fwd: Out of Memory on Reindex

2007-05-30 Thread Chris Hoover
Any ideas? -- Forwarded message -- From: Chris Hoover <[EMAIL PROTECTED]> Date: May 29, 2007 11:36 AM Subject: Out of Memory on Reindex To: "pgsql-admin@postgresql.org" I am getting the following error when trying to run a reindex on one of my databases. reindexdb: reindexing o

Re: [ADMIN] Desaster Recovery from failover using SLONY-I

2007-05-30 Thread Andrew Sullivan
On Wed, May 30, 2007 at 12:57:55PM +0200, Peter Hausmann wrote: > Hi, > > After a node is dropped due to failover, it takes days to recover the > database, because it is build up from scratch. This is from Slony? You know that that's a built-in limitation, and that the preferred method is switch

[ADMIN] Desaster Recovery from failover using SLONY-I

2007-05-30 Thread Peter Hausmann
Hi, After a node is dropped due to failover, it takes days to recover the database, because it is build up from scratch. We would prefer another approach: Make an Online Backup of the Provider database. The provider database continues writing new data and the Slony-Logs. The Backup is restored to

[ADMIN] pg_dump: Error message from server: ERROR: compressed data is corrupt

2007-05-30 Thread Roman Chervotkin
Hi list. Do usual pg_dump today and have got an error. - pg_dump: SQL command failed pg_dump: Error message from server: ERROR: compressed data is corrupt pg_dump: The command was: COPY public.candidates (id, name, surname, mid_name, compensation, created, birthday, updated,