federation with foreign data wrappers pgday.it 2013/10/25 copyright© 2013 david fetter...

63
Federation with Foreign Data Wrappers PGDay.IT 2013/10/25 Copyright© 2013 David Fetter [email protected] All rights reserved.

Upload: flora-dixon

Post on 13-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Federation withForeign Data

Wrappers

PGDay.IT 2013/10/25Copyright© 2013David Fetter [email protected] rights reserved.

Virtual Table Interface

Virtual Index Interface

SQL/MED

<DIGRESSION>

EXTENSIONS!

</DIGRESSION>

<PAST>

SQL/MED in PostgreSQL

contrib/dblink

SQL/MED in PostgreSQL

DBI-Link

Time Passes...

PostgreSQL 8.4

Infrastructure Only

PostgreSQL 9.0

More Infrastructure

PostgreSQL 9.2

ReadsANALYZE

</PAST>

<PRESENT>

PostgreSQL 9.3

WRITES!

Wrappers. Lots of Wrappers.

<SQL>

Oracle

MySQL

ODBC

</SQL>

<NoSQL>

CouchDB

Redis

</NoSQL>

<File>

file

file_text_array

</File>

<Creativity>

Twitter

LDAP

S3

</Creativity

>

More!

<New_Commands>

{CREATE | ALTER | DROP}

FOREIGN DATA WRAPPER

{CREATE | ALTER | DROP}SERVER

{CREATE | ALTER | DROP}

USER MAPPING

</New_Commands>

<INTROSPECTION>

Remote Partitioning

• Expose information_schema.columns.

• Create view over them.• Create foreign table generator.

</INTROSPECTION>

</PRESENT>

<FUTURE>

<INTROSPECTION>

More and better.

</INTROSPECTION>

Full SQL/MED Compliance

The ever-interesting: Stuff I Never Thought Of

</FUTURE>

Molte Grazie!

PGDay.IT 2013/10/25Copyright© 2013David Fetter [email protected] rights reserved.