Re: Will "rename database" get replicated?

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Will "rename database" get replicated?
Date: 2011-02-09 22:55:44
Message-ID: 4D531B70.5060503@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le 09/02/2011 20:06, Gauthier, Dave a écrit :
> Hi:
>
> Will V9.0.1 streaming replication replicate the effects of "alter database foo rename to fee" ?

Yes.

> Will it replicate "analyze" (I do this after a big DB load to give the query optimizer good stats to work with)?

AFAIK, yes.

> If I kill a user on the master (using "pg_ctl kill ABRT procpid"), will that goof up replication if that user was in the middle of a write transation?

No.

> I've read in http://wiki.postgresql.org/wiki/Binary_Replication_Tutorial#5_Minutes_to_Simple_Replication ...
>
> What Can't You Do With Binary Replication?
> [PicExportError] Replicate a specific table, schema, or database. Binary replication is the entire Postgres instance (or "cluster").
> [PicExportError] Multi-master replication. Multi-master binary replication is probably technically impossible.
> [PicExportError] Replicate between different versions of PostgreSQL, or between different platforms.
> [PicExportError] Set up replication without administration rights on the server. Sorry, working on it.
> [PicExportError] Replicate data synchronously, guaranteeing zero data loss. But ... this is coming in PostgreSQL 9.1.
>
>
> Beside the last one, are any of the other 4 going to be addressed in 9.1 ?
>

I know no-one working on the four first. And there is work ongoing for
the last one, but it may not make it for 9.1.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua Tolley 2011-02-09 23:39:46 Compellent SAN, anyone?
Previous Message Devrim GÜNDÜZ 2011-02-09 22:55:30 Re: about PostgreSQL 9.0.3 RPMs