SlideShare a Scribd company logo
COURCES WE OFFER:
BSC(IT) FY,SY,TY
BSC(CS) FY,SY,TY
BSC(IT/CS) PROJECTS
MCA (ENTRANCE)
ENGG(IT/ELECTRONICS/EXTC)
ADDRESS: 302 PARANJPE UDYOG BHAVAN, NEAR KHANDELWAL SWEETS, THANE STATION,
THANE WEST.
TEL: 8097071144/55
STAY CONNECTED FOR MORE UPDATES AND STUDY NOTES
FACEBOOK : https://www.facebook.com/weittutorial
EMAIL: weit.tutorials@gmail.com
WE-ITTUTORIAL. PHNO:8097071144/55
UNIT 2
CHAPTER 1,2
DATAWAREHOUSING
WE-ITTUTORIAL. PHNO:8097071144/55
1.An Introduction to Oracle Warehouse
Builder
 Installation of the database and OWB, About hardware and
operating systems, Installing Oracle database software,
Configuring the listener, Creating the database, Installing the
OWB standalone software, OWB components and architecture,
Configuring the repository and workspaces.
WE-ITTUTORIAL. PHNO:8097071144/55
Where does OWB fit in?
 The Oracle Warehouse Builder is a tool provided by Oracle, which
can be used at every stage of the implementation of a data
warehouse, from initial design and creation of the table structure
to the ETL process and data-quality auditing.
WE-ITTUTORIAL. PHNO:8097071144/55
Installation of the database and OWB
 Installing Oracle database software
1. run the setup.exe
 This will launch the Oracle Universal Installer program
 One of the first questions the installer will ask us is about
setting up our ORACLE_HOME—the destination to install the
software on the system and the name of the home location.
 default—OraDb11g_home1
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
 click on the Next button to continue and the install
program will perform its prerequisite checks to ensure
our system is capable of running the database
 That should show a status of Succeeded for all the checks
WE-ITTUTORIAL. PHNO:8097071144/55
 The install screens will proceed to the Summary screen
where we can verify the options that we selected for the
installation before actually doing it .
WE-ITTUTORIAL. PHNO:8097071144/55
WHAT WE ARE INTRESTED IN
click on the Install button to proceed with the installation
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Configuring the listener
 Run Net Configuration Assistant to configure the listener.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Creating the database
 We can install a new database using Database Configuration Assistant,
which Oracle provides to walk us step-by-step through the process of
creating a database.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Create a Database option in Step 1.
WE-ITTUTORIAL. PHNO:8097071144/55
2.We will be creating a database using
an existing template.
WE-ITTUTORIAL. PHNO:8097071144/55
We are going to choose the Data
Warehouse option
WE-ITTUTORIAL. PHNO:8097071144/55
3.This step of the database creation
will ask for a database name.
 Since we're creating this database for the data warehouse of
ACMEToys and Gizmos Company, we'll choose a name that
reflects this—ACME for the company name and DW for data
warehouse, resulting in a database name of ACMEDW.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
4.This step of the database creation process asks
whether we want to configure Enterprise Manager.
The box is checked by default and leave it as is.
WE-ITTUTORIAL. PHNO:8097071144/55
 There are two options for controlling a database:
registering with Grid Control or local management
 Grid Control is Oracle's centralized feature for
controlling a grid, a network of loosely coupled modular
hardware and software components that can be joined
and rejoined together on demand to meet business
needs.
 That is what the "g" in Oracle Database 11g stands for
WE-ITTUTORIAL. PHNO:8097071144/55
5. can set the database passwords
 On this screen (step 5) we can set the database passwords on
the system accounts using a different one for each account,
or by choosing one password for all four.
 Click on the option to Use the Same Administrative Password
forAll Accounts and enter a password.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
6.This step is about storage.
 We'll leave it at the default of File System for storage management.
WE-ITTUTORIAL. PHNO:8097071144/55
7.The next screen is for configuring
recovery options
WE-ITTUTORIAL. PHNO:8097071144/55
8.create some sample schemas in the
database
 This step is where we can have the installation program create
some sample schemas in the database for our reference, and
specify any custom scripts to run.
 The text on the screen can be read to decide whether they are
needed or not. We don't need either of these for this book, so it
doesn't matter which option we choose.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
9.Initialization Parameters
 The next screen is for Initialization Parameters. These are
the settings that are put in place to define various options
for the database such as Memory options
 We're just going to leave the defaults set on this screen,
which will set the basic parameters for us based on the
amount of memory and disk space detected on our
machine.
WE-ITTUTORIAL. PHNO:8097071144/55
10.Database Storage
 locations where database files are to be created
WE-ITTUTORIAL. PHNO:8097071144/55
11.Creation options
any or all can be selected
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Password Management
 Click on the Password Management button and on the
resulting Password Management screen, we'll scroll down
until we see the OWBSYS schema and click on the check
box to uncheck it (indicating we want it unlocked) and then
type in a password and confirm it.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Installing the OWB standalone
software
 If we are going to run the OWB client on the same
computer as we just installed the Oracle database on, we
don't need any more installations.
WE-ITTUTORIAL. PHNO:8097071144/55
OWB components and architecture
 OracleWarehouse Builder is composed on
 the client of the Design Center (including the Control Center
Manager) and the Repository Browser.
 The server components are the Control Center Service, the
Repository (includingWorkspaces), and theTarget Schema.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
 The Design Center is the main client graphical interface for designing our data
warehouse.
 This is where we will spend a good deal of time to define our sources and
targets, and describe the extract, transform, and load (ETL) processes we use to
load the target from the sources.
 We will use the Control Center Manager for managing the creation of that
physical implementation by deploying the designs we've created into theTarget
Schema.
 TheTarget Schema is where OWB will deploy the objects to, and where the
execution of the ETL processes that load our data warehouse will take place.
 The Repository is the schema that hosts the design metadata definitions we
create for our sources, targets, and ETL processes.
 The Repository is aWarehouse Builder software component for which a separate
schema is created when the database is installed—OWBSYS.
 The Repository is created in the OWBSYS schema during the database
installation.
 Repository information and workspaces no longer requires SYSDBA privileges
for the user to install the Repository.
WE-ITTUTORIAL. PHNO:8097071144/55
Configuring the repository and workspaces
 RepositoryAssistant application to configure the repository, create
a workspace, and create the objects in the repository that are
needed for OWB to run.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
The steps for configuration
WE-ITTUTORIAL. PHNO:8097071144/55
Step 1.
launch the Repository Assistant application on the server
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Determining what port your listener is
listening on.
WE-ITTUTORIAL. PHNO:8097071144/55
Finding your database instance name
WE-ITTUTORIAL. PHNO:8097071144/55
Step 2.
 what option we'd like to perform
WE-ITTUTORIAL. PHNO:8097071144/55
Step 3.
 what we'd like to do with workspaces
WE-ITTUTORIAL. PHNO:8097071144/55
Step 4.
 specify an owner for the workspace
WE-ITTUTORIAL. PHNO:8097071144/55
 To perform the first option, we will need to specify a
database user who has DBA privileges that are required to be
able to create a new user in the database.
 The second option is to specify an existing database user
to become the owner of the workspace.This user must have
the OWB_USER role assigned to be able to successfully
designate it as a workspace owner.
 We'll specify a new user for theACMEToys and Gizmo's
warehouse, since we've just installed this database and no
other users are created yet.
WE-ITTUTORIAL. PHNO:8097071144/55
Step 5.
 If we are creating a new user, it will ask us for an existing
user with DBA privileges in the database.
 The SYSTEM account is the default provided there
WE-ITTUTORIAL. PHNO:8097071144/55
 Since we're specifying a new user, we will put in the
password for the system user and proceed to the next step.
WE-ITTUTORIAL. PHNO:8097071144/55
STEP 6.
 Enable optional features
WE-ITTUTORIAL. PHNO:8097071144/55
Step 7.
 specify the new username, password, and workspace name
SIDDHU
SIDDHU
WE-ITTUTORIAL. PHNO:8097071144/55
Step 8.
 This step will ask for the password for the OWBSYS user
siddhu
WE-ITTUTORIAL. PHNO:8097071144/55
Step 9.
 tablespace names for the OWBSYS schema.
WE-ITTUTORIAL. PHNO:8097071144/55
Step 10.
 select a base language for the repository, so we'll make the
appropriate selection.
 The Repository Assistant will automatically assign the base
language depending on the locale that is assigned to the
computer we're installing on.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Step 11.
 is the optional step 10 to specify any workspace users from
existing database users
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
 Click on the Finish button and it will begin the
installation, presenting us with a scroll bar moving to the
right as it progresses through the installation.The very first
time it runs, it will take around 5 to 10 minutes to run before
reporting the success pop up, as it has to initialize the
repository in the OWBSYS schema.
WE-ITTUTORIAL. PHNO:8097071144/55
2. Defining and Importing Source
Data Structures
An overview ofWarehouse Builder Design Center, Importing/defining source
metadata, Creating a project, Creating a module, Creating an Oracle Database
module, Creating a SQL Server database module, Importing source metadata from
a database, Defining source metadata manually with the Data Object Editor,
Importing source metadata from files.
WE-ITTUTORIAL. PHNO:8097071144/55
NEEDS to begin building our data warehouse
 format in which the data is currently stored and where it is
stored.
 Whether the database is an Oracle database or another
vendor's database such as Microsoft SQL Server.
 Whether there are any flat files of information saved.(CSV
file, )
WE-ITTUTORIAL. PHNO:8097071144/55
Preliminary analysis
 The analysis will tell us where the data is located, and in what
format, so that we can begin to define our source data structures
in the Warehouse Builder
 The high-priority information that they would like to see from this
data warehouse project is sales-related data for all their stores
 They don't have an idea about the comparative sales in the various
stores, so they need some way to view all that data together to do an
analysis that shows how well, or poorly, the stores are doing
 In the future, they would also like to be able to compare store
sales with their web site sales, but that will not be required for
this first data warehouse we build
WE-ITTUTORIAL. PHNO:8097071144/55
ACME Toys and Gizmos source data
 This system maintains data in a Microsoft SQL Server
database namedACME_POS, and tracks individual sales
transactions that occur for all ofACME's toys and gizmos.
 IT department that runs the web site forACMEToys and
Gizmos has its own database that supports the web site order
management process.
 Scripts have been provided on the Packt web site at http://www.packtpub.com/files/code/5746_Code.zip.
 We also have a CSV file in this code bundle that will be required to import metadata.We have a script to install the SQL
Server database. Instructions to use these files can be found with the code bundle.
WE-ITTUTORIAL. PHNO:8097071144/55
The POS transactional source database
 The DBA (Database Administrator—the person
responsible for the maintenance and administration
of the database) is in charge of the POS transactional
database.
 The DBA has provided an Entity-Relationship (ER)
diagram of the database to help us understand the database
and the relationships between the various tables.
 The diagram is in the UML (Universal Modeling
Language) notation.
 The cardinality indicates how the records in one table
relate to records in the other.
WE-ITTUTORIAL. PHNO:8097071144/55
The web site order management
database section.
WE-ITTUTORIAL. PHNO:8097071144/55
 The DBA in charge of the Oracle database for the
web site order management system has provided us
with its ER diagram for our information.As with the POS
transaction database, an ER diagram is provided here in
a shortened version to give us an idea of the tables
involved and their relationships with each other.
WE-ITTUTORIAL. PHNO:8097071144/55
ER diagram is provided here in a shortened
version of web site order management
WE-ITTUTORIAL. PHNO:8097071144/55
Warehouse Builder Design Center
 The Design Center is the main graphical interface that we
will be using to design our data warehouse, but we also use it
to define our data sources.
 The Design Center must connect to a workspace in our
repository
 The repository is located in the OWBSYS schema that was
the pre-installed schema the database installation provided
for us.
 The user name chosen was acmeowb and the
workspace name was acme_ws.
 Now it's time to make use of this user and workspace.
WE-ITTUTORIAL. PHNO:8097071144/55
Start design center
WE-ITTUTORIAL. PHNO:8097071144/55
Login screen
SIDDHU
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
CONNECTION EXPLORER
GLOBAL
EXPLORER
PROJECT
EXPLORER
WE-ITTUTORIAL. PHNO:8097071144/55
 Three windows in the main Design Center screen.They
are as follows:
 Project Explorer
 Connection Explorer
 Global Explorer
WE-ITTUTORIAL. PHNO:8097071144/55
Project Explorer window
 The Project Explorer window is where we will work on
the objects that we are going to design for our data
warehouse.
 we will need to design an object under the Databases
node to model that source database. If we expand the
Databases node in the tree, we will notice that it includes
both Oracle and Non-Oracle databases.
WE-ITTUTORIAL. PHNO:8097071144/55
Connection Explorer
 The Connection Explorer is where the connections are
defined to our various objects in the Project Explorer.The
workspace has to know how to connect to the various
databases, files, and applications we may have defined in our
Project Explorer.
 Connections are applicable for the entire workspace,and not just the
project we are working on.
WE-ITTUTORIAL. PHNO:8097071144/55
Global Explorer
 Global Explorer is used to manage these objects. It includes
objects such as PublicTransformations or Public Data
Rules.
 A transformation is a function, procedure, or
package defined in the database in Oracle's procedural SQL
language called PL/SQL.
 Data rules are rules that can be implemented to
enforce certain formats in our data.
WE-ITTUTORIAL. PHNO:8097071144/55
Importing/defining source metadata
 Metadata is data that describes our data.
 We are going to tell theWarehouse Builder what our source
data looks like and where it is located, so that it can build the
code necessary to retrieve that data when we design and run
mappings to populate our data warehouse.
WE-ITTUTORIAL. PHNO:8097071144/55
 right-click on the project name in the Project Explorer
and select Rename
 We'll name the projectACME_DW_PROJECT.
Creating a project
WE-ITTUTORIAL. PHNO:8097071144/55
Creating a module
 before we can define or import a source data definition, we
must create a module to hold it.
 A module is an object in the Design Center that acts as a
storage location for the various definitions and helps us
logically group them.
 We have to create an Oracle module for the
ACME_WS_ORDERS database for the web site orders,
and a non-Oracle module for the ACME_POS SQL
Server database.
WE-ITTUTORIAL. PHNO:8097071144/55
Creating an Oracle Database module
 right-click on the Databases | Oracle node in the
Project Explorer ofWarehouse Builder and select
New
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Creating a SQL Server database
module
 create one for the SQL Server POS transactional database:
ACME_POS
WE-ITTUTORIAL. PHNO:8097071144/55
 Oracle makes use of Oracle Heterogeneous Services to
make connections to other databases
 The agent facilitates the communication with the external
non-Oracle database. That agent can take one of these
two forms:
 A transparent gateway agent that is tailored specifically to
the database being accessed.(must be purchased and installed
separately )
 A generic connectivity agent that is included with the
Oracle Database and which can be used for any external
database.(comes free with the Oracle Database )
WE-ITTUTORIAL. PHNO:8097071144/55
On Microsoft Windows, we configure DSNs
in the ODBC Data Source Administrator. The
following are the steps for configuring DSN:
 Start | Control Panel |AdministrativeTools menu.The
application is called Data Sources (ODBC).
 In ODBC Data Source Administrator, click on the System
DSN tab, and then click on theAdd button to add a new
system DSN.
 The first screen asks you to select which driver you want to
use for your data source. Scroll down the list until you see
the SQL Server entry and click on it. Now click on the Finish
button.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Configure Oracle to connect to SQL
Server
 The following are the two steps involved here:
 Create a heterogeneous service configuration file.
 Edit the listener.ora file.
WE-ITTUTORIAL. PHNO:8097071144/55
Creating a heterogeneous service
configuration file.
WE-ITTUTORIAL. PHNO:8097071144/55
 open the file named initdg4odbc.ora
 Change the configuration
 HS_FDS_CONNECT_INFO = <odbc data_source_name>
 HS_FDS_TRACE_LEVEL = <trace_level>
 HS_FDS_CONNECT_INFO = ACME_POS
 HS_FDS_TRACE_LEVEL = 0
 save it as initacmepos.ora.
WE-ITTUTORIAL. PHNO:8097071144/55
Editing the listener.ora file
WE-ITTUTORIAL. PHNO:8097071144/55
 Load the listener.ora file into a text editor
 Add the following lines to the file
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=acmepos)
(ORACLE_HOME=C:appAdministratorproduct11.2.0dbhome_1)
(PROGRAM=dg4odbc)
)
)
WE-ITTUTORIAL. PHNO:8097071144/55
 After we save the listener.ora file, we must restart the
listener for the change to take effect.
 We can restart it by navigating to Start | Control Panel |
AdministrativeTools and then clicking on Services.
 scroll down until you see the service for your database
listener, which will be named starting with Oracle and
ending inTNSListener (if it is 11g name is
OracleOraDb11g_home1TNSListener )
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Creating the Warehouse Builder ODBC
module for SQL Server
 Right-click on the ODBC node in the Project Explorer of
Design Center, and select New... from the pop-up menu.The
first screen that will appear is theWelcome screen, so just
click on the Next button to continue.
ACME_POS
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
Importing source metadata from a
database
 We are now at the point where we can finally import our
metadata.
WE-ITTUTORIAL. PHNO:8097071144/55
 We are going to begin by right-clicking on the
ACME_WS_ORDERS module name under the
Databases | Oracle node in the Project Explorer and
selecting Import... from the pop-up menu.
We will have all these
options for an Oracle
database, but for our
ODBC connection to
the SQL Server
database, it will have
checkboxes for just
Table andView.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
 Summary and Import page where it will summarize
the selections we've made and tell us the action it is
going to take for each selection—whether to create
or re-import the object.
WE-ITTUTORIAL. PHNO:8097071144/55
 Clicking on the Advanced Import Options
uncheck the preserve
checkboxes so our
manual edits are
replaced with a clean
copy
WE-ITTUTORIAL. PHNO:8097071144/55
•A Save button which
will allow us to save
an MDL file of the
activity we just
accomplished.
•An MDL is a file the
Warehouse Builder
can save that contains
information from the
model that can be
imported later.
The OK button will save the changes to the
module in Project Explorer from which we
performed the import.WE-ITTUTORIAL. PHNO:8097071144/55
Defining source metadata manually
with the Data Object Editor
 The tool theWarehouse Builder provides for
creating source metadata is the Data Object Editor,
which is the tool we can use to create any object in the
Warehouse Builder that holds data such as database tables
1. Navigate to the Databases | Non-Oracle | ODBC
node, and then select the ACME_POS module
under this node.
2. right-click on this node and select New, from the pop-
up menu . we are presented with the Data Object
Editor screen.
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
 Let's click on the Columns tab next and enter the
information that describes the columns of the Items
table.
 Items source table in the POS
1. ITEMS_KEY number(22)
2. ITEM_NAME varchar2(50)
3. ITEM_CATEGORY varchar2(50)
4. ITEM_VENDOR number(22)
5. ITEM_SKU varchar2(50)
6. ITEM_BRAND varchar2(50)
7. ITEM_LIST_PRICE number(6,2)
8. ITEM_DEPT varchar2(50)
WE-ITTUTORIAL. PHNO:8097071144/55
When completed, our column list should
look like this
We can save our work at
this point and close the
Data Object Editor
window now before
proceeding. So we'll
select Diagram | Save
All from the toolbar
menu of the Data
Object Editor, or press
the Ctrl + S key
combination to save our
work.
WE-ITTUTORIAL. PHNO:8097071144/55
 We now have to continue this process to define the metadata for the
remaining SQL Server tables that we'll need.
REGIONS
REGIONS_KEY number(22)
REGION_NAME varchar2(50)
CONTINENT varchar2(50)
COUNTRY varchar2(50)
STORES
STORES_KEY number(22)
STORE_NAME varchar2(50)
STORE_ADDRESS1 varchar2(60)
STORE_ADDRESS2 varchar2(60)
STORE_CITY varchar2(50)
STORE_STATE varchar2(50)
STORE_ZIP varchar2(50)
REGION_LOCATED_IN number(22)
STORE_NUMBER varchar2(10)
REGISTERS
REGISTERS_KEY number(22)
REGISTER_MANUFACTURER varchar2(60)
MODEL varchar2(50)
LOCATION number(22)
SERIAL_NO varchar2(50)
POS_TRANSACTIONS
POS_TRANS_KEY number(22)
SALES_QUANTITY number(22)
SALES_ASSOCIATE number(22)
REGISTER number(22)
ITEM_SOLD number(22)
DATE_SOLD date
AMOUNT number(10,2)
WE-ITTUTORIAL. PHNO:8097071144/55
Importing source metadata from files
 One final object type we need to discuss before we wrap up
the source metadata importing and defining is the import of
metadata from a file.
 The file format must be delimited, usually with commas
separating each column and a carriage return at the end of a
record (CSV file)
 The process of creating the module and importing the
metadata for a flat file is still the same as importing from
Oracle or non-Oracle databases, but there are some minor
differences
WE-ITTUTORIAL. PHNO:8097071144/55
The steps involved in creating the module
and importing the metadata for a flat file
1. Project Explorer under our project
2. Files node right below the Databases node
3. We will launch the Create ModuleWizard
4. but we'll do it on the Files node and not the Databases
node.We'll right-click on the Files node and select New
from the pop-up menu to launch the wizard.
1. click on the Next button on theWelcome screen
2. The Step 1 of the Create Module wizard only asks for a
name and description
3. enter a name of ACME_FILES and click on the Next button
WE-ITTUTORIAL. PHNO:8097071144/55
1. We need to edit the connection in Step 2 just as we did for
the database previously.
2. So we'll click on the Edit button
Give path
of .csv file
click on the OK buttonWE-ITTUTORIAL. PHNO:8097071144/55
 We'll then check the box for Import after finish and click
on the Finish button
 The Import MetadataWizard appears next
WE-ITTUTORIAL. PHNO:8097071144/55
 The next screen is the Object Selection screen
select the counties.csv file, click on the right arrow (>), and then move on
to the Next step
WE-ITTUTORIAL. PHNO:8097071144/55
red X in the Status column.
It contains no other information that could describe to the
ImportWizard what these column names are called,
or what kind of data the columns hold
use the Sample button to
enter that information
WE-ITTUTORIAL. PHNO:8097071144/55
This is Flat File Sample Wizard, which
has now been started.
WE-ITTUTORIAL. PHNO:8097071144/55
carriage return <CR>
character will
indicate the end of a
row
WE-ITTUTORIAL. PHNO:8097071144/55
WE-ITTUTORIAL. PHNO:8097071144/55
The records are all of a Single Record type.
So leaving that checked as the default,
WE-ITTUTORIAL. PHNO:8097071144/55
Check the
box that
says Use the
first record
as the field
names
Change the
default
types to
appropriate
one
WE-ITTUTORIAL. PHNO:8097071144/55
 Click on Next to get a summary screen of what the
wizard will do, or just click on the Finish button to
continue.
 This will take us back to the Import MetadataWizard
screen where we can see that the red X has now changed
to a green check mark.
 It will create our file module under the Files node and
we will be able to access it in the Project Explorer
 We can see that the imported file is displayed as
COUNTIES_CSV
 We'll make sure to select Save All from the Design menu
in Design Center to save the metadata we just entered.
WE-ITTUTORIAL. PHNO:8097071144/55
END OF UNIT 2
DATAWAREHOUSE
WE-ITTUTORIAL. PHNO:8097071144/55

More Related Content

What's hot

Detail Views
Detail ViewsDetail Views
Detail ViewsEMAINT
 
Creating Purcahse Orders
Creating Purcahse OrdersCreating Purcahse Orders
Creating Purcahse OrdersEMAINT
 
Work Order Level 1
Work Order Level 1Work Order Level 1
Work Order Level 1EMAINT
 
Inventory Basics
Inventory BasicsInventory Basics
Inventory BasicsEMAINT
 
Getting Started Guide
Getting Started GuideGetting Started Guide
Getting Started GuideEMAINT
 
100 sample formulas_v6
100 sample formulas_v6100 sample formulas_v6
100 sample formulas_v6
artimaroo1
 
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel UptonEDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
Daniel Upton
 
Tips and Tricks
Tips and TricksTips and Tricks
Tips and TricksEMAINT
 
Workflow Manager
Workflow ManagerWorkflow Manager
Workflow ManagerEMAINT
 
Customizing Forms
Customizing FormsCustomizing Forms
Customizing FormsEMAINT
 
Dynamics gp insights to manufacturing
Dynamics gp insights to manufacturingDynamics gp insights to manufacturing
Dynamics gp insights to manufacturing
Steve Chapman
 

What's hot (12)

Detail Views
Detail ViewsDetail Views
Detail Views
 
Creating Purcahse Orders
Creating Purcahse OrdersCreating Purcahse Orders
Creating Purcahse Orders
 
Work Order Level 1
Work Order Level 1Work Order Level 1
Work Order Level 1
 
Inventory Basics
Inventory BasicsInventory Basics
Inventory Basics
 
Getting Started Guide
Getting Started GuideGetting Started Guide
Getting Started Guide
 
100 sample formulas_v6
100 sample formulas_v6100 sample formulas_v6
100 sample formulas_v6
 
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel UptonEDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
EDW Data Model Storming for Integration of NoSQL and RDBMS by Daniel Upton
 
Introtosqltuning
IntrotosqltuningIntrotosqltuning
Introtosqltuning
 
Tips and Tricks
Tips and TricksTips and Tricks
Tips and Tricks
 
Workflow Manager
Workflow ManagerWorkflow Manager
Workflow Manager
 
Customizing Forms
Customizing FormsCustomizing Forms
Customizing Forms
 
Dynamics gp insights to manufacturing
Dynamics gp insights to manufacturingDynamics gp insights to manufacturing
Dynamics gp insights to manufacturing
 

Similar to Data warehousing unit 2

Data Warehousing Practical for T.Y.I.T.
Data Warehousing Practical for T.Y.I.T.Data Warehousing Practical for T.Y.I.T.
Data Warehousing Practical for T.Y.I.T.
Niraj Bharambe
 
Data warehousing unit 1
Data warehousing unit 1Data warehousing unit 1
Data warehousing unit 1
WE-IT TUTORIALS
 
Oracle Database Backup
Oracle Database BackupOracle Database Backup
Oracle Database Backup
Handy_Backup
 
Ocssco database policy document
Ocssco database policy documentOcssco database policy document
Ocssco database policy documentEndale Mintesinot
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
Sheikh Zakirulla
 
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) TechnologyHow to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
IT@Intel
 
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) TechnologyHow to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
Intel IT Center
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameters
sakthirobotic
 
Ot valuapat ps14_user_guide_v1.0
Ot valuapat ps14_user_guide_v1.0Ot valuapat ps14_user_guide_v1.0
Ot valuapat ps14_user_guide_v1.0jar kosih
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Taoufik AIT HSAIN
 
less08.ppt
less08.pptless08.ppt
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Mumbai B.Sc.IT Study
 
iStorage Server: Remote Tape Backup
iStorage Server: Remote Tape BackupiStorage Server: Remote Tape Backup
iStorage Server: Remote Tape Backup
KernSafe Technologies
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite Activity
Idan Tohami
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11gOracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11g
uzzal basak
 
Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)
Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)
Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)
Vinh Nguyen
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard
Uwe Hesse
 
obiee 12c installation guidelines
obiee 12c installation guidelinesobiee 12c installation guidelines
obiee 12c installation guidelines
kumud thakur
 
05 160723204945
05 16072320494505 160723204945
05 160723204945
Srikanth Rodda
 
Practicas oracle10g
Practicas oracle10gPracticas oracle10g
Practicas oracle10grehoscript
 

Similar to Data warehousing unit 2 (20)

Data Warehousing Practical for T.Y.I.T.
Data Warehousing Practical for T.Y.I.T.Data Warehousing Practical for T.Y.I.T.
Data Warehousing Practical for T.Y.I.T.
 
Data warehousing unit 1
Data warehousing unit 1Data warehousing unit 1
Data warehousing unit 1
 
Oracle Database Backup
Oracle Database BackupOracle Database Backup
Oracle Database Backup
 
Ocssco database policy document
Ocssco database policy documentOcssco database policy document
Ocssco database policy document
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
 
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) TechnologyHow to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
 
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) TechnologyHow to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
How to Self-Provision over WLAN with Intel(R) vPro(TM) Technology
 
Dso job log and activation parameters
Dso job log and activation parametersDso job log and activation parameters
Dso job log and activation parameters
 
Ot valuapat ps14_user_guide_v1.0
Ot valuapat ps14_user_guide_v1.0Ot valuapat ps14_user_guide_v1.0
Ot valuapat ps14_user_guide_v1.0
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
 
less08.ppt
less08.pptless08.ppt
less08.ppt
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
 
iStorage Server: Remote Tape Backup
iStorage Server: Remote Tape BackupiStorage Server: Remote Tape Backup
iStorage Server: Remote Tape Backup
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite Activity
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11gOracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11g
 
Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)
Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)
Configure Intranet and Team Sites with SharePoint Server 2013 (update May 2013)
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard
 
obiee 12c installation guidelines
obiee 12c installation guidelinesobiee 12c installation guidelines
obiee 12c installation guidelines
 
05 160723204945
05 16072320494505 160723204945
05 160723204945
 
Practicas oracle10g
Practicas oracle10gPracticas oracle10g
Practicas oracle10g
 

More from WE-IT TUTORIALS

TYBSC CS 2018 WEB SERVICES NOTES
TYBSC CS 2018 WEB SERVICES NOTESTYBSC CS 2018 WEB SERVICES NOTES
TYBSC CS 2018 WEB SERVICES NOTES
WE-IT TUTORIALS
 
TYBSC CS SEM 5 AI NOTES
TYBSC CS SEM 5 AI NOTESTYBSC CS SEM 5 AI NOTES
TYBSC CS SEM 5 AI NOTES
WE-IT TUTORIALS
 
Geographical information system unit 6
Geographical information  system unit 6Geographical information  system unit 6
Geographical information system unit 6
WE-IT TUTORIALS
 
Geographical information system unit 5
Geographical information  system unit 5Geographical information  system unit 5
Geographical information system unit 5
WE-IT TUTORIALS
 
Geographical information system unit 4
Geographical information  system unit 4Geographical information  system unit 4
Geographical information system unit 4
WE-IT TUTORIALS
 
Geographical information system unit 3
Geographical information  system unit 3Geographical information  system unit 3
Geographical information system unit 3
WE-IT TUTORIALS
 
Geographical information system unit 2
Geographical information  system unit 2Geographical information  system unit 2
Geographical information system unit 2
WE-IT TUTORIALS
 
Geographical information system unit 1
Geographical information  system unit 1Geographical information  system unit 1
Geographical information system unit 1
WE-IT TUTORIALS
 
Pm unit 1,2,3,4,5,6
Pm unit 1,2,3,4,5,6Pm unit 1,2,3,4,5,6
Pm unit 1,2,3,4,5,6
WE-IT TUTORIALS
 
Internet technology unit 5
Internet technology unit 5Internet technology unit 5
Internet technology unit 5
WE-IT TUTORIALS
 
Internet technology unit 4
Internet technology unit 4Internet technology unit 4
Internet technology unit 4
WE-IT TUTORIALS
 
Internet technology unit 3
Internet technology unit 3Internet technology unit 3
Internet technology unit 3
WE-IT TUTORIALS
 
Internet technology unit 2
Internet technology unit 2Internet technology unit 2
Internet technology unit 2
WE-IT TUTORIALS
 
Internet technology unit 1
Internet technology unit 1Internet technology unit 1
Internet technology unit 1
WE-IT TUTORIALS
 
Internet technology unit 6
Internet technology unit 6Internet technology unit 6
Internet technology unit 6
WE-IT TUTORIALS
 
Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)
Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)
Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)
WE-IT TUTORIALS
 
Tycs advance java sem 5 unit 1,2,3,4 (2017)
Tycs advance java sem 5 unit 1,2,3,4 (2017)Tycs advance java sem 5 unit 1,2,3,4 (2017)
Tycs advance java sem 5 unit 1,2,3,4 (2017)
WE-IT TUTORIALS
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
WE-IT TUTORIALS
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
WE-IT TUTORIALS
 
Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1
WE-IT TUTORIALS
 

More from WE-IT TUTORIALS (20)

TYBSC CS 2018 WEB SERVICES NOTES
TYBSC CS 2018 WEB SERVICES NOTESTYBSC CS 2018 WEB SERVICES NOTES
TYBSC CS 2018 WEB SERVICES NOTES
 
TYBSC CS SEM 5 AI NOTES
TYBSC CS SEM 5 AI NOTESTYBSC CS SEM 5 AI NOTES
TYBSC CS SEM 5 AI NOTES
 
Geographical information system unit 6
Geographical information  system unit 6Geographical information  system unit 6
Geographical information system unit 6
 
Geographical information system unit 5
Geographical information  system unit 5Geographical information  system unit 5
Geographical information system unit 5
 
Geographical information system unit 4
Geographical information  system unit 4Geographical information  system unit 4
Geographical information system unit 4
 
Geographical information system unit 3
Geographical information  system unit 3Geographical information  system unit 3
Geographical information system unit 3
 
Geographical information system unit 2
Geographical information  system unit 2Geographical information  system unit 2
Geographical information system unit 2
 
Geographical information system unit 1
Geographical information  system unit 1Geographical information  system unit 1
Geographical information system unit 1
 
Pm unit 1,2,3,4,5,6
Pm unit 1,2,3,4,5,6Pm unit 1,2,3,4,5,6
Pm unit 1,2,3,4,5,6
 
Internet technology unit 5
Internet technology unit 5Internet technology unit 5
Internet technology unit 5
 
Internet technology unit 4
Internet technology unit 4Internet technology unit 4
Internet technology unit 4
 
Internet technology unit 3
Internet technology unit 3Internet technology unit 3
Internet technology unit 3
 
Internet technology unit 2
Internet technology unit 2Internet technology unit 2
Internet technology unit 2
 
Internet technology unit 1
Internet technology unit 1Internet technology unit 1
Internet technology unit 1
 
Internet technology unit 6
Internet technology unit 6Internet technology unit 6
Internet technology unit 6
 
Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)
Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)
Tycs sem 5 asp.net notes unit 1 2 3 4 (2017)
 
Tycs advance java sem 5 unit 1,2,3,4 (2017)
Tycs advance java sem 5 unit 1,2,3,4 (2017)Tycs advance java sem 5 unit 1,2,3,4 (2017)
Tycs advance java sem 5 unit 1,2,3,4 (2017)
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
 
Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1
 

Recently uploaded

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 

Recently uploaded (20)

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 

Data warehousing unit 2

  • 1. COURCES WE OFFER: BSC(IT) FY,SY,TY BSC(CS) FY,SY,TY BSC(IT/CS) PROJECTS MCA (ENTRANCE) ENGG(IT/ELECTRONICS/EXTC) ADDRESS: 302 PARANJPE UDYOG BHAVAN, NEAR KHANDELWAL SWEETS, THANE STATION, THANE WEST. TEL: 8097071144/55 STAY CONNECTED FOR MORE UPDATES AND STUDY NOTES FACEBOOK : https://www.facebook.com/weittutorial EMAIL: weit.tutorials@gmail.com WE-ITTUTORIAL. PHNO:8097071144/55
  • 3. 1.An Introduction to Oracle Warehouse Builder  Installation of the database and OWB, About hardware and operating systems, Installing Oracle database software, Configuring the listener, Creating the database, Installing the OWB standalone software, OWB components and architecture, Configuring the repository and workspaces. WE-ITTUTORIAL. PHNO:8097071144/55
  • 4. Where does OWB fit in?  The Oracle Warehouse Builder is a tool provided by Oracle, which can be used at every stage of the implementation of a data warehouse, from initial design and creation of the table structure to the ETL process and data-quality auditing. WE-ITTUTORIAL. PHNO:8097071144/55
  • 5. Installation of the database and OWB  Installing Oracle database software 1. run the setup.exe  This will launch the Oracle Universal Installer program  One of the first questions the installer will ask us is about setting up our ORACLE_HOME—the destination to install the software on the system and the name of the home location.  default—OraDb11g_home1 WE-ITTUTORIAL. PHNO:8097071144/55
  • 7.  click on the Next button to continue and the install program will perform its prerequisite checks to ensure our system is capable of running the database  That should show a status of Succeeded for all the checks WE-ITTUTORIAL. PHNO:8097071144/55
  • 8.  The install screens will proceed to the Summary screen where we can verify the options that we selected for the installation before actually doing it . WE-ITTUTORIAL. PHNO:8097071144/55
  • 9. WHAT WE ARE INTRESTED IN click on the Install button to proceed with the installation WE-ITTUTORIAL. PHNO:8097071144/55
  • 11. Configuring the listener  Run Net Configuration Assistant to configure the listener. WE-ITTUTORIAL. PHNO:8097071144/55
  • 15. Creating the database  We can install a new database using Database Configuration Assistant, which Oracle provides to walk us step-by-step through the process of creating a database. WE-ITTUTORIAL. PHNO:8097071144/55
  • 17. Create a Database option in Step 1. WE-ITTUTORIAL. PHNO:8097071144/55
  • 18. 2.We will be creating a database using an existing template. WE-ITTUTORIAL. PHNO:8097071144/55
  • 19. We are going to choose the Data Warehouse option WE-ITTUTORIAL. PHNO:8097071144/55
  • 20. 3.This step of the database creation will ask for a database name.  Since we're creating this database for the data warehouse of ACMEToys and Gizmos Company, we'll choose a name that reflects this—ACME for the company name and DW for data warehouse, resulting in a database name of ACMEDW. WE-ITTUTORIAL. PHNO:8097071144/55
  • 22. 4.This step of the database creation process asks whether we want to configure Enterprise Manager. The box is checked by default and leave it as is. WE-ITTUTORIAL. PHNO:8097071144/55
  • 23.  There are two options for controlling a database: registering with Grid Control or local management  Grid Control is Oracle's centralized feature for controlling a grid, a network of loosely coupled modular hardware and software components that can be joined and rejoined together on demand to meet business needs.  That is what the "g" in Oracle Database 11g stands for WE-ITTUTORIAL. PHNO:8097071144/55
  • 24. 5. can set the database passwords  On this screen (step 5) we can set the database passwords on the system accounts using a different one for each account, or by choosing one password for all four.  Click on the option to Use the Same Administrative Password forAll Accounts and enter a password. WE-ITTUTORIAL. PHNO:8097071144/55
  • 26. 6.This step is about storage.  We'll leave it at the default of File System for storage management. WE-ITTUTORIAL. PHNO:8097071144/55
  • 27. 7.The next screen is for configuring recovery options WE-ITTUTORIAL. PHNO:8097071144/55
  • 28. 8.create some sample schemas in the database  This step is where we can have the installation program create some sample schemas in the database for our reference, and specify any custom scripts to run.  The text on the screen can be read to decide whether they are needed or not. We don't need either of these for this book, so it doesn't matter which option we choose. WE-ITTUTORIAL. PHNO:8097071144/55
  • 30. 9.Initialization Parameters  The next screen is for Initialization Parameters. These are the settings that are put in place to define various options for the database such as Memory options  We're just going to leave the defaults set on this screen, which will set the basic parameters for us based on the amount of memory and disk space detected on our machine. WE-ITTUTORIAL. PHNO:8097071144/55
  • 31. 10.Database Storage  locations where database files are to be created WE-ITTUTORIAL. PHNO:8097071144/55
  • 32. 11.Creation options any or all can be selected WE-ITTUTORIAL. PHNO:8097071144/55
  • 36. Password Management  Click on the Password Management button and on the resulting Password Management screen, we'll scroll down until we see the OWBSYS schema and click on the check box to uncheck it (indicating we want it unlocked) and then type in a password and confirm it. WE-ITTUTORIAL. PHNO:8097071144/55
  • 38. Installing the OWB standalone software  If we are going to run the OWB client on the same computer as we just installed the Oracle database on, we don't need any more installations. WE-ITTUTORIAL. PHNO:8097071144/55
  • 39. OWB components and architecture  OracleWarehouse Builder is composed on  the client of the Design Center (including the Control Center Manager) and the Repository Browser.  The server components are the Control Center Service, the Repository (includingWorkspaces), and theTarget Schema. WE-ITTUTORIAL. PHNO:8097071144/55
  • 41.  The Design Center is the main client graphical interface for designing our data warehouse.  This is where we will spend a good deal of time to define our sources and targets, and describe the extract, transform, and load (ETL) processes we use to load the target from the sources.  We will use the Control Center Manager for managing the creation of that physical implementation by deploying the designs we've created into theTarget Schema.  TheTarget Schema is where OWB will deploy the objects to, and where the execution of the ETL processes that load our data warehouse will take place.  The Repository is the schema that hosts the design metadata definitions we create for our sources, targets, and ETL processes.  The Repository is aWarehouse Builder software component for which a separate schema is created when the database is installed—OWBSYS.  The Repository is created in the OWBSYS schema during the database installation.  Repository information and workspaces no longer requires SYSDBA privileges for the user to install the Repository. WE-ITTUTORIAL. PHNO:8097071144/55
  • 42. Configuring the repository and workspaces  RepositoryAssistant application to configure the repository, create a workspace, and create the objects in the repository that are needed for OWB to run. WE-ITTUTORIAL. PHNO:8097071144/55
  • 44. The steps for configuration WE-ITTUTORIAL. PHNO:8097071144/55
  • 45. Step 1. launch the Repository Assistant application on the server WE-ITTUTORIAL. PHNO:8097071144/55
  • 48. Determining what port your listener is listening on. WE-ITTUTORIAL. PHNO:8097071144/55
  • 49. Finding your database instance name WE-ITTUTORIAL. PHNO:8097071144/55
  • 50. Step 2.  what option we'd like to perform WE-ITTUTORIAL. PHNO:8097071144/55
  • 51. Step 3.  what we'd like to do with workspaces WE-ITTUTORIAL. PHNO:8097071144/55
  • 52. Step 4.  specify an owner for the workspace WE-ITTUTORIAL. PHNO:8097071144/55
  • 53.  To perform the first option, we will need to specify a database user who has DBA privileges that are required to be able to create a new user in the database.  The second option is to specify an existing database user to become the owner of the workspace.This user must have the OWB_USER role assigned to be able to successfully designate it as a workspace owner.  We'll specify a new user for theACMEToys and Gizmo's warehouse, since we've just installed this database and no other users are created yet. WE-ITTUTORIAL. PHNO:8097071144/55
  • 54. Step 5.  If we are creating a new user, it will ask us for an existing user with DBA privileges in the database.  The SYSTEM account is the default provided there WE-ITTUTORIAL. PHNO:8097071144/55
  • 55.  Since we're specifying a new user, we will put in the password for the system user and proceed to the next step. WE-ITTUTORIAL. PHNO:8097071144/55
  • 56. STEP 6.  Enable optional features WE-ITTUTORIAL. PHNO:8097071144/55
  • 57. Step 7.  specify the new username, password, and workspace name SIDDHU SIDDHU WE-ITTUTORIAL. PHNO:8097071144/55
  • 58. Step 8.  This step will ask for the password for the OWBSYS user siddhu WE-ITTUTORIAL. PHNO:8097071144/55
  • 59. Step 9.  tablespace names for the OWBSYS schema. WE-ITTUTORIAL. PHNO:8097071144/55
  • 60. Step 10.  select a base language for the repository, so we'll make the appropriate selection.  The Repository Assistant will automatically assign the base language depending on the locale that is assigned to the computer we're installing on. WE-ITTUTORIAL. PHNO:8097071144/55
  • 62. Step 11.  is the optional step 10 to specify any workspace users from existing database users WE-ITTUTORIAL. PHNO:8097071144/55
  • 64.  Click on the Finish button and it will begin the installation, presenting us with a scroll bar moving to the right as it progresses through the installation.The very first time it runs, it will take around 5 to 10 minutes to run before reporting the success pop up, as it has to initialize the repository in the OWBSYS schema. WE-ITTUTORIAL. PHNO:8097071144/55
  • 65. 2. Defining and Importing Source Data Structures An overview ofWarehouse Builder Design Center, Importing/defining source metadata, Creating a project, Creating a module, Creating an Oracle Database module, Creating a SQL Server database module, Importing source metadata from a database, Defining source metadata manually with the Data Object Editor, Importing source metadata from files. WE-ITTUTORIAL. PHNO:8097071144/55
  • 66. NEEDS to begin building our data warehouse  format in which the data is currently stored and where it is stored.  Whether the database is an Oracle database or another vendor's database such as Microsoft SQL Server.  Whether there are any flat files of information saved.(CSV file, ) WE-ITTUTORIAL. PHNO:8097071144/55
  • 67. Preliminary analysis  The analysis will tell us where the data is located, and in what format, so that we can begin to define our source data structures in the Warehouse Builder  The high-priority information that they would like to see from this data warehouse project is sales-related data for all their stores  They don't have an idea about the comparative sales in the various stores, so they need some way to view all that data together to do an analysis that shows how well, or poorly, the stores are doing  In the future, they would also like to be able to compare store sales with their web site sales, but that will not be required for this first data warehouse we build WE-ITTUTORIAL. PHNO:8097071144/55
  • 68. ACME Toys and Gizmos source data  This system maintains data in a Microsoft SQL Server database namedACME_POS, and tracks individual sales transactions that occur for all ofACME's toys and gizmos.  IT department that runs the web site forACMEToys and Gizmos has its own database that supports the web site order management process.  Scripts have been provided on the Packt web site at http://www.packtpub.com/files/code/5746_Code.zip.  We also have a CSV file in this code bundle that will be required to import metadata.We have a script to install the SQL Server database. Instructions to use these files can be found with the code bundle. WE-ITTUTORIAL. PHNO:8097071144/55
  • 69. The POS transactional source database  The DBA (Database Administrator—the person responsible for the maintenance and administration of the database) is in charge of the POS transactional database.  The DBA has provided an Entity-Relationship (ER) diagram of the database to help us understand the database and the relationships between the various tables.  The diagram is in the UML (Universal Modeling Language) notation.  The cardinality indicates how the records in one table relate to records in the other. WE-ITTUTORIAL. PHNO:8097071144/55
  • 70. The web site order management database section. WE-ITTUTORIAL. PHNO:8097071144/55
  • 71.  The DBA in charge of the Oracle database for the web site order management system has provided us with its ER diagram for our information.As with the POS transaction database, an ER diagram is provided here in a shortened version to give us an idea of the tables involved and their relationships with each other. WE-ITTUTORIAL. PHNO:8097071144/55
  • 72. ER diagram is provided here in a shortened version of web site order management WE-ITTUTORIAL. PHNO:8097071144/55
  • 73. Warehouse Builder Design Center  The Design Center is the main graphical interface that we will be using to design our data warehouse, but we also use it to define our data sources.  The Design Center must connect to a workspace in our repository  The repository is located in the OWBSYS schema that was the pre-installed schema the database installation provided for us.  The user name chosen was acmeowb and the workspace name was acme_ws.  Now it's time to make use of this user and workspace. WE-ITTUTORIAL. PHNO:8097071144/55
  • 78.  Three windows in the main Design Center screen.They are as follows:  Project Explorer  Connection Explorer  Global Explorer WE-ITTUTORIAL. PHNO:8097071144/55
  • 79. Project Explorer window  The Project Explorer window is where we will work on the objects that we are going to design for our data warehouse.  we will need to design an object under the Databases node to model that source database. If we expand the Databases node in the tree, we will notice that it includes both Oracle and Non-Oracle databases. WE-ITTUTORIAL. PHNO:8097071144/55
  • 80. Connection Explorer  The Connection Explorer is where the connections are defined to our various objects in the Project Explorer.The workspace has to know how to connect to the various databases, files, and applications we may have defined in our Project Explorer.  Connections are applicable for the entire workspace,and not just the project we are working on. WE-ITTUTORIAL. PHNO:8097071144/55
  • 81. Global Explorer  Global Explorer is used to manage these objects. It includes objects such as PublicTransformations or Public Data Rules.  A transformation is a function, procedure, or package defined in the database in Oracle's procedural SQL language called PL/SQL.  Data rules are rules that can be implemented to enforce certain formats in our data. WE-ITTUTORIAL. PHNO:8097071144/55
  • 82. Importing/defining source metadata  Metadata is data that describes our data.  We are going to tell theWarehouse Builder what our source data looks like and where it is located, so that it can build the code necessary to retrieve that data when we design and run mappings to populate our data warehouse. WE-ITTUTORIAL. PHNO:8097071144/55
  • 83.  right-click on the project name in the Project Explorer and select Rename  We'll name the projectACME_DW_PROJECT. Creating a project WE-ITTUTORIAL. PHNO:8097071144/55
  • 84. Creating a module  before we can define or import a source data definition, we must create a module to hold it.  A module is an object in the Design Center that acts as a storage location for the various definitions and helps us logically group them.  We have to create an Oracle module for the ACME_WS_ORDERS database for the web site orders, and a non-Oracle module for the ACME_POS SQL Server database. WE-ITTUTORIAL. PHNO:8097071144/55
  • 85. Creating an Oracle Database module  right-click on the Databases | Oracle node in the Project Explorer ofWarehouse Builder and select New WE-ITTUTORIAL. PHNO:8097071144/55
  • 89. Creating a SQL Server database module  create one for the SQL Server POS transactional database: ACME_POS WE-ITTUTORIAL. PHNO:8097071144/55
  • 90.  Oracle makes use of Oracle Heterogeneous Services to make connections to other databases  The agent facilitates the communication with the external non-Oracle database. That agent can take one of these two forms:  A transparent gateway agent that is tailored specifically to the database being accessed.(must be purchased and installed separately )  A generic connectivity agent that is included with the Oracle Database and which can be used for any external database.(comes free with the Oracle Database ) WE-ITTUTORIAL. PHNO:8097071144/55
  • 91. On Microsoft Windows, we configure DSNs in the ODBC Data Source Administrator. The following are the steps for configuring DSN:  Start | Control Panel |AdministrativeTools menu.The application is called Data Sources (ODBC).  In ODBC Data Source Administrator, click on the System DSN tab, and then click on theAdd button to add a new system DSN.  The first screen asks you to select which driver you want to use for your data source. Scroll down the list until you see the SQL Server entry and click on it. Now click on the Finish button. WE-ITTUTORIAL. PHNO:8097071144/55
  • 96. Configure Oracle to connect to SQL Server  The following are the two steps involved here:  Create a heterogeneous service configuration file.  Edit the listener.ora file. WE-ITTUTORIAL. PHNO:8097071144/55
  • 97. Creating a heterogeneous service configuration file. WE-ITTUTORIAL. PHNO:8097071144/55
  • 98.  open the file named initdg4odbc.ora  Change the configuration  HS_FDS_CONNECT_INFO = <odbc data_source_name>  HS_FDS_TRACE_LEVEL = <trace_level>  HS_FDS_CONNECT_INFO = ACME_POS  HS_FDS_TRACE_LEVEL = 0  save it as initacmepos.ora. WE-ITTUTORIAL. PHNO:8097071144/55
  • 99. Editing the listener.ora file WE-ITTUTORIAL. PHNO:8097071144/55
  • 100.  Load the listener.ora file into a text editor  Add the following lines to the file SID_LIST_LISTENER= (SID_LIST= (SID_DESC= (SID_NAME=acmepos) (ORACLE_HOME=C:appAdministratorproduct11.2.0dbhome_1) (PROGRAM=dg4odbc) ) ) WE-ITTUTORIAL. PHNO:8097071144/55
  • 101.  After we save the listener.ora file, we must restart the listener for the change to take effect.  We can restart it by navigating to Start | Control Panel | AdministrativeTools and then clicking on Services.  scroll down until you see the service for your database listener, which will be named starting with Oracle and ending inTNSListener (if it is 11g name is OracleOraDb11g_home1TNSListener ) WE-ITTUTORIAL. PHNO:8097071144/55
  • 103. Creating the Warehouse Builder ODBC module for SQL Server  Right-click on the ODBC node in the Project Explorer of Design Center, and select New... from the pop-up menu.The first screen that will appear is theWelcome screen, so just click on the Next button to continue. ACME_POS WE-ITTUTORIAL. PHNO:8097071144/55
  • 107. Importing source metadata from a database  We are now at the point where we can finally import our metadata. WE-ITTUTORIAL. PHNO:8097071144/55
  • 108.  We are going to begin by right-clicking on the ACME_WS_ORDERS module name under the Databases | Oracle node in the Project Explorer and selecting Import... from the pop-up menu. We will have all these options for an Oracle database, but for our ODBC connection to the SQL Server database, it will have checkboxes for just Table andView. WE-ITTUTORIAL. PHNO:8097071144/55
  • 110.  Summary and Import page where it will summarize the selections we've made and tell us the action it is going to take for each selection—whether to create or re-import the object. WE-ITTUTORIAL. PHNO:8097071144/55
  • 111.  Clicking on the Advanced Import Options uncheck the preserve checkboxes so our manual edits are replaced with a clean copy WE-ITTUTORIAL. PHNO:8097071144/55
  • 112. •A Save button which will allow us to save an MDL file of the activity we just accomplished. •An MDL is a file the Warehouse Builder can save that contains information from the model that can be imported later. The OK button will save the changes to the module in Project Explorer from which we performed the import.WE-ITTUTORIAL. PHNO:8097071144/55
  • 113. Defining source metadata manually with the Data Object Editor  The tool theWarehouse Builder provides for creating source metadata is the Data Object Editor, which is the tool we can use to create any object in the Warehouse Builder that holds data such as database tables 1. Navigate to the Databases | Non-Oracle | ODBC node, and then select the ACME_POS module under this node. 2. right-click on this node and select New, from the pop- up menu . we are presented with the Data Object Editor screen. WE-ITTUTORIAL. PHNO:8097071144/55
  • 115.  Let's click on the Columns tab next and enter the information that describes the columns of the Items table.  Items source table in the POS 1. ITEMS_KEY number(22) 2. ITEM_NAME varchar2(50) 3. ITEM_CATEGORY varchar2(50) 4. ITEM_VENDOR number(22) 5. ITEM_SKU varchar2(50) 6. ITEM_BRAND varchar2(50) 7. ITEM_LIST_PRICE number(6,2) 8. ITEM_DEPT varchar2(50) WE-ITTUTORIAL. PHNO:8097071144/55
  • 116. When completed, our column list should look like this We can save our work at this point and close the Data Object Editor window now before proceeding. So we'll select Diagram | Save All from the toolbar menu of the Data Object Editor, or press the Ctrl + S key combination to save our work. WE-ITTUTORIAL. PHNO:8097071144/55
  • 117.  We now have to continue this process to define the metadata for the remaining SQL Server tables that we'll need. REGIONS REGIONS_KEY number(22) REGION_NAME varchar2(50) CONTINENT varchar2(50) COUNTRY varchar2(50) STORES STORES_KEY number(22) STORE_NAME varchar2(50) STORE_ADDRESS1 varchar2(60) STORE_ADDRESS2 varchar2(60) STORE_CITY varchar2(50) STORE_STATE varchar2(50) STORE_ZIP varchar2(50) REGION_LOCATED_IN number(22) STORE_NUMBER varchar2(10) REGISTERS REGISTERS_KEY number(22) REGISTER_MANUFACTURER varchar2(60) MODEL varchar2(50) LOCATION number(22) SERIAL_NO varchar2(50) POS_TRANSACTIONS POS_TRANS_KEY number(22) SALES_QUANTITY number(22) SALES_ASSOCIATE number(22) REGISTER number(22) ITEM_SOLD number(22) DATE_SOLD date AMOUNT number(10,2) WE-ITTUTORIAL. PHNO:8097071144/55
  • 118. Importing source metadata from files  One final object type we need to discuss before we wrap up the source metadata importing and defining is the import of metadata from a file.  The file format must be delimited, usually with commas separating each column and a carriage return at the end of a record (CSV file)  The process of creating the module and importing the metadata for a flat file is still the same as importing from Oracle or non-Oracle databases, but there are some minor differences WE-ITTUTORIAL. PHNO:8097071144/55
  • 119. The steps involved in creating the module and importing the metadata for a flat file 1. Project Explorer under our project 2. Files node right below the Databases node 3. We will launch the Create ModuleWizard 4. but we'll do it on the Files node and not the Databases node.We'll right-click on the Files node and select New from the pop-up menu to launch the wizard. 1. click on the Next button on theWelcome screen 2. The Step 1 of the Create Module wizard only asks for a name and description 3. enter a name of ACME_FILES and click on the Next button WE-ITTUTORIAL. PHNO:8097071144/55
  • 120. 1. We need to edit the connection in Step 2 just as we did for the database previously. 2. So we'll click on the Edit button Give path of .csv file click on the OK buttonWE-ITTUTORIAL. PHNO:8097071144/55
  • 121.  We'll then check the box for Import after finish and click on the Finish button  The Import MetadataWizard appears next WE-ITTUTORIAL. PHNO:8097071144/55
  • 122.  The next screen is the Object Selection screen select the counties.csv file, click on the right arrow (>), and then move on to the Next step WE-ITTUTORIAL. PHNO:8097071144/55
  • 123. red X in the Status column. It contains no other information that could describe to the ImportWizard what these column names are called, or what kind of data the columns hold use the Sample button to enter that information WE-ITTUTORIAL. PHNO:8097071144/55
  • 124. This is Flat File Sample Wizard, which has now been started. WE-ITTUTORIAL. PHNO:8097071144/55
  • 125. carriage return <CR> character will indicate the end of a row WE-ITTUTORIAL. PHNO:8097071144/55
  • 127. The records are all of a Single Record type. So leaving that checked as the default, WE-ITTUTORIAL. PHNO:8097071144/55
  • 128. Check the box that says Use the first record as the field names Change the default types to appropriate one WE-ITTUTORIAL. PHNO:8097071144/55
  • 129.  Click on Next to get a summary screen of what the wizard will do, or just click on the Finish button to continue.  This will take us back to the Import MetadataWizard screen where we can see that the red X has now changed to a green check mark.  It will create our file module under the Files node and we will be able to access it in the Project Explorer  We can see that the imported file is displayed as COUNTIES_CSV  We'll make sure to select Save All from the Design menu in Design Center to save the metadata we just entered. WE-ITTUTORIAL. PHNO:8097071144/55
  • 130. END OF UNIT 2 DATAWAREHOUSE WE-ITTUTORIAL. PHNO:8097071144/55