Re: What Would You Like To Do?

From: Rodrigo Gonzalez <rjgonzale(at)estrads(dot)com(dot)ar>
To: Michael Nolan <htfoot(at)gmail(dot)com>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: What Would You Like To Do?
Date: 2011-09-13 19:01:32
Message-ID: 4E6FA88C.1050605@estrads.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/13/2011 03:51 PM, Michael Nolan wrote:
> For example:
>
>
> A fully integrated ability to query across multiple
> databases,possibly
> on multiple servers, something Oracle has had for nearly two
> decades.
>
>
>
> That isn't the approach to take. The fact that Oracle has it is
> not a guarantee that it is useful or good. If you need to query
> across databases (assuming within the same cluster) then you
> designed your database wrong and should have used our SCHEMA
> support (what Oracle calls Namespaces) instead.
>
>
> This is the difference between developers and real world users. Real
> world users may not have the ability, time or resources to redesign
> their databases just because that's the 'best' way to do something.
> Will it be the most efficient way to do it? Almost certainly not.
>
> I've been involved in a few corporate mergers, and there was a short
> term need to do queries on the combined databases while the tiger team
> handling the IT restructuring figured out how (or whether) to merge
> the dabases together. (One of these happened to be an Oracle/Oracle
> situation, it was a piece of cake even though the two data centers
> were 750 miles apart and the table structures had almost nothing in
> common. Another was a two week headache, the third was even worse!)
>
> In a perfect world, it would be nice if one could do combined queries
> linking a PostgreSQL database with an Oracle one, or a MySQL one,
> too. Because sometimes, that's what you gotta do. Even something
> that is several hundred times slower is going to be faster than
> merging the databases together. When I do this today, I have to write
> a program (in perl or php) that accesses both databases and merges it
> by hand.
>
Can't you do that with FDW that is present in 9.1?

Check http://wiki.postgresql.org/wiki/Foreign_data_wrappers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-09-13 19:52:57 Re: What Would You Like To Do?
Previous Message Michael Nolan 2011-09-13 18:51:07 Re: What Would You Like To Do?