Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 2B88E2E2D86 for ; Thu, 10 Jan 2008 11:14:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 71619-02-2 for ; Thu, 10 Jan 2008 11:14:08 -0400 (AST) Received: from outbound-mail-15.bluehost.com (outbound-mail-15.bluehost.com [69.89.18.115]) by postgresql.org (Postfix) with SMTP id BC6622E3782 for ; Thu, 10 Jan 2008 11:10:51 -0400 (AST) Received: (qmail 6145 invoked by uid 0); 10 Jan 2008 15:10:47 -0000 Received: from unknown (HELO box54.bluehost.com) (69.89.20.54) by mailproxy1.bluehost.com with SMTP; 10 Jan 2008 15:10:47 -0000 Received: from ip65-46-48-50.z48-46-65.customer.algx.net ([65.46.48.50] helo=[10.20.31.15]) by box54.bluehost.com with esmtp (Exim 4.68) (envelope-from ) id 1JCz3P-0001a0-No for pgsql-admin@postgresql.org; Thu, 10 Jan 2008 08:10:47 -0700 From: Kevin Kempter To: pgsql-admin@postgresql.org Subject: Re: Postgres replication Date: Thu, 10 Jan 2008 08:10:39 -0700 User-Agent: KMail/1.9.6 (enterprise 0.20071123.740460) References: <46b8ed581b47692a.478611ce@nic.in> In-Reply-To: <46b8ed581b47692a.478611ce@nic.in> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801100810.39629.kevin@kevinkempterllc.com> X-Identified-User: {840:box54.bluehost.com:kevinkem:kevinkempterllc.com} {sentby:bopbeforesmtp 65.46.48.50 authed with kevinkempterllc.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.292 tagged_above=0 required=5 tests=BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, FS_REPLICA=1.041, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 200801/103 X-Sequence-Number: 27877 On Thursday 10 January 2008 00:38:38 nalini wrote: > Dear All > > I have a application running at various locations with backend as postgres > Slony is configured at all locations for replication at local site anda > central server where each site has its own database instance. > > Now we wish to merge data collected from all the sites into one database > instance to provide consolidated view > > database schema is same at all the places > However as the application is still under development the schema maychange. > however the change will happen at all the locations. > > Pls suggest a solution > > with regards > > > Nalini S. Nautiyal Maybe you could use dblink (in contribs) or dbi-link (see pgfoundry) and create a db full of remote "views" each one being a join that retrieves all data for that table from all related databases/clusters ? /Kevin