Type 1: Single Table
Global Query:
SELECT deptname
FROM dept
Federated Query:
SELECT db2.dept.deptname
FROM db2.dept
Type 2: Union
Global Query:
SELECT name
FROM emp
Federated Query:
SELECT db1.myemp.name
FROM db1.myemp
UNION
SELECT db2.youremp.name
FROM db2.youremp
Type 3: Federated Join
Global Query:
SELECT empspecial.empno,
empspecial.deptcity
FROM empspecial
Federated Query:
SELECT db1.specialemp.empid,
db2.dept.city
FROM db1.specialemp, db2.dept
WHERE db1.specialemp.deptno =
db2.dept.deptno
Type 4: Global Join
Global Query:
SELECT emp.name, dept.deptname
FROM emp, dept
WHERE emp.deptno = dept.deptno
Federated Query:
SELECT db1.myemp.name,
db2.dept.deptname
FROM db1.myemp, db2.dept
WHERE db1.myemp.deptno =
db2.dept.deptno
UNION
SELECT db2.youremp.name,
db2.dept.deptname
FROM db2.youremp, db2.dept
WHERE db2.youremp.deptno =
db2.dept.deptno
4 CONCLUSIONS
Database integration offers benefits in three main
areas: simplified system administration and
maintenance, rapid development of integrated
applications, and the ability for end-users to access
all information in a domain. In this paper, we
presented a database integration system that layers a
global view on top of the federation architecture.
This global view is simple to construct and maintain
and allows federated queries to be automatically
built by querying the global view. Thus, the
approach captures the benefits of database
federation, while avoiding its major shortcoming,
the challenge of building federated queries to
integrate data. Further, the approach, unlike
commercial implementations, is not bound to a
particular database management system. Overall,
this makes the benefits of database integration easier
and more cost-effective to realize in all
organizations.
REFERENCES
Aumueller, D., Do, H.H.D., Massmann, S. and Rahm,
E.R., 2005, Schema and Ontology Matching with
COMA++. In SIGMOD.
Batini, C., Lenzerini, M., Navathe, S., 1986, A
Comparative Analysis of Methodologies for Database
Schema Integration. ACM Computing Surveys 18,
323.364
Chawathe, S., et al., 1994, The TSIMMIS Project:
Integration of Heterogeneous Information Sources,
Proceedings of the 10th Meeting of the Information
Processing of Japan, pp. 7-18.
Collet, C., Huhns, M., Shen, 1991, W.M.: Resource
Integration Using a Large Knowledge Base in Carnot.
IEEE Computer 24, 55-62.
Data Integration Projects World-Wide, 2005,
http://www.ifi.unizh.ch/staff/pziegler/IntegrationProje
cts.html.
Dragut, E. and Lawrence, R., 2004, Composing Mappings
between Schemas using a Reference Ontology. In
ODBASE, 783-800.
Haas, L. M., Hernández, M.A., Ho, H., Popa, L. and Roth,
M., 2005, Clio Grows Up: From Research Prototype to
Industrial Tool. In SIGMOD, 805-810.
Halevy, A., 2001, Answering Queries Using Views: A
survey. VLDB Journal, 10 (4). 270-294.
IBM, 2005, http://www.ibm.com, A Simple Introduction
to Using DB2 Information Integrator with Oracle 9i.
Josifovski, V., Schwarz, P.M., Haas, L.M.H. and Lin,
E.T., 2002, Garlic: A New Flavor of Federated Query
Processing for DB2. In SIGMOD, 524-532.
Litwin, W., Mark, L. and Roussopoulos, M., 1990,
Interoperability of Multiple Autonomous Databases.
ACM Computing Surveys, 22 (3). 267-293.
Mason, T. and Lawrence, R., 2005, Dynamic Database
Integration in a JDBC Driver. In 7th International
Conference on Enterprise Information Systems, 326-
333.
MICROSOFT, 2005, http://www.microsoft.com/korea/
TechNet/biztalk/biztalka.asp
Rahm, R. and Bernstein, P., 2004, A Survey of
Approaches to Automatic Schema Matching, VLDB
Journal, 10 (4). 334-350.
Sheth, A., Larson, J., 1990, Federated Database Systems
for Managing Distributed, Heterogenous and
Autonomous Databases. ACM Computing Surveys 22,
183-236.
UNITYJDBC, 2006, http://www.unityjdbc.com/,
UnityJDBC - Integrate SQL Data Sources using a
Single Query.
ICEIS 2007 - International Conference on Enterprise Information Systems
456