Integration of information from the participating databases

Assignment Help Database Management System
Reference no: EM131163647

Integration layeron top of two databases

DESCRIPTION

A major step in information integration is to provide access and retrieve information from different databases. You have already created an Inventory database in a previous homework. From now on we will use that database but we will refer to it in this assignment with a different name - let us call it local DB1 and it belongs to a fictitious company you own (MyComp).

MyComp has been doing really well for the past few years and it has merged with another company (BuddyComp) which already has an inventory database - let us call it local DB2. The local DB2 database is actually a set of tables and records that is provided to you as a script with SQL commands. You need to run this script in your Oracle account to create and populate the tables that comprise the local DB2 database. In reality you do not have two separate databases in Oracle; instead, you have several tables in your Oracle account:

- Tables that make up your Inventory database (from HW2) which we now call local DB1
- Tables that are generated by the script and make up local DB2

The purpose of this homework is to create an integration/metadata/ontology layer on top of these two inventory databases, local DB1 and local DB2. Think of the integration layer as the metadata layer which contains information describing the two databases. This homework is about creating this metadata layer.

Creation of a metadata layer. You need to create ametadata layer to be used for integration of information from the participating databases. This metadata layer is a table (or a set of couple of tables) which contain information about the local database schemas (local DB1 and local DB2, which both reside in your Oracle account. The information in the integration layer contains the following:

1. Canonical representation. This is the name you use to refer to an entity (table name, field name) at the metadata layer. For example, you may use the name"Client" in local DB1, and "Patron" in local DB2. However, these are "local names"representing customers at each local DB. At the metadata layer you may use the "Customer" name to identify either Clients or Patrons (this is just an example; there could be different field names in the actual databases). The canonical representation of an entity is the "global" name of that entity at the metadata layer. It can be used to describe the two corresponding names of the same entity, one in local DB1, and the other in local DB2. Customer (canonical name); Client (local DB1); Patron (local DB2)

2. Data Types and other semantic differences. This is a description of the local data types used for each column name in each DB. For example, varchar2(20), number, etc. You may also store function that converts data from the canonical representation to local databases.

3. Additional fields. If you want you may use additional information about the correspondences or translations between canonical to local.
You may use any structure of table(s) that you think it is appropriate to identify information that is stored as data in the two participating databases (local DB 1 and local DB 2). This is a very important task since it will provide the basis for the integration. I would suggest that for each concept (entity/field/etc.) that is present in each local db, you need to use three representations:

1. a canonical representation(global level) for the concept. This is a representation that you use to identify the concept globally (see first column in the example table below).

2. a local representation for local DB1:it is the name of the column in local DB1 that represents that same concept. Also the data type of that column in local DB1 (see columns 2 and 3 in example table below)

3. a local representation for local DB2: it is the name of the column in local DB2 that represents that same concept. Also the data type of that column in local DB1 (see columns 4 and 5 in example table below)

See an example table below for a very simple representation of two concepts: a customer (represented in both DBs) and a product ID(also in both DBs). Note that all data entered in that table are strings (varchar2):

Canonical Representation

Column name in local DB1

Data Type in local DB1

Column name in local DB2

Data Type in local DB2

'Customer'

'Client'

'Varchar2(20)'

'Patron'

'Char(50)'

'Product_ID'

'CD_ID'

'Varchar2(10)'

'CD'

'number'

...

...

...

...

...

You may need to add more fields and more tables to be able to capture semantic and syntactic differences that are present in the two local databases. In essence, you need to create another set of tables (one or more) that will act as the metadata/integration layer on top of DB1, and DB2. You don't create views on top of the existing tables of local DB1 and local DB2. You need to create actual tables with metadata about DB1 tables and fields, and DB2 tables and fields. All the above tables are in your own account (basically, they are just tables in your account).

How can one create a metadata/integration layer?

Look at the schema of local DB1.

Look at the schema of local DB2.

Identify semantically similar fields and for each field create a column in the metadata table:
- Column 1: Provide a name (canonical representation) of that field.
- Column 2: Identify the corresponding name (local DB1 name) of the same field in DB1
- Column 3: Identify the data type of that field in DB1
- Column 4: Identify a function to map the canonical name to the DB2 name (if applicable)
- Column 5: Identify the corresponding name (local DB2 name) of the same field in DB2
- Column 6: Identify the data type of that field in DB2
- Column 7: Identify a function to map the canonical name to the DB2 name (if applicable)

The results from bullet list above are going to be inserted as a single record in the table which represents the metadata layer. If you need additional fields, (e.g., how to convert from local to canonical - such as CONCAT (f1, f2), back and forth) feel free to add additional column(s) in your integration table and populate them accordingly.

- Fields that are not present in both databases have NULL values in some of the columns in the metadata table.
- For aggregate fields type the function that puts them together (e.g. CONCAT, or SUM, etc.)
- Add table names also in the metadatatable (just as you have added fields). The data type for tables should be the string ‘TABLE'

Attachment:- DB2.rar

Reference no: EM131163647

Questions Cloud

Description of the components of the marketing manager role : Appreciation of the significance of the concept of integrated marketing communications (IMC) and its impact on marketing management. Identification of the elements of the promotion mix and the pros and cons of each element.
Describe the benefits and disadvantages of business analytic : Describe the benefits and disadvantages of business analytics, as well as how the organization can be proactive in addressing any disadvantages. Include at least 3 benefits and disadvantages.
Which statement regarding java files is false : Need help with two questions on my final homework assignment. I think I know the answers but they are worth a lot of points so I want to be sure! 1. Which statement regarding Java files is false? a. Java imposes no structure on a file.
Did the fbi act under the color of any international laws : Did the FBI act under the color of any international laws or compacts, or did they "go off the reservation?" Do the FBI's actions stand up to scrutiny under current US cyber laws? Have there been other, more recent examples of cases in which US la..
Integration of information from the participating databases : Create an integration/metadata/ontology layer on top of these two inventory databases, local DB1 and local DB2
How a manufacturing company or a service company : Develop three (3) examples that illustrate how a manufacturing company or a service company of your choice uses JIT, and then determine three to four (3-4) benefits of JIT for that particular organization. Discuss how the JIT concept differs betwe..
Determine the production and subcontracting schedule : Determine the production and subcontracting schedule that will maximize profits, given that Rummel Electronics wishes its schedule to contain an integer number of units produced and subcontracted.
What systems does your organization utilize : What systems does your organization utilize, either as a whole or per department? Is this solution effective? Why or why not? Is there a solution that would be more effective? If not, explain why.
Compute the tension in the supporting cable : The water tank in Fig. P3.58 stands on a frictionless cart and feeds a jet of diameter 4 cm and velocity 8 m/s, which is deflected 60° by a vane. Compute the tension in the supporting cable.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd