Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology- Khan younis.

Similar presentations


Presentation on theme: "Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology- Khan younis."— Presentation transcript:

1 Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology- Khan younis Information Technology & Computer Science Dep. Part 8 Data Warehousing

2 Info sources for organizations 16 November 2015 Data Warehouse 2 HR Financial/ Accounting ERP CRM and eCRM Internet Procurement Call Center Inventory Islands of information

3 Applications reporting systems? 16 November 2015Data Warehouse 3 Ad- hoc Standard Reports ParameterizedReports

4 Data Warehousing 16 November 2015 Data Warehouse 4 Enterprise HR Financial/ Accounting ERP CRM and eCRM Internet Procurement Call Center Inventory

5 16 November 2015 Data Warehouse 5

6 16 November 2015 Data Warehouse 6

7 16 November 2015 Data Warehouse 7 Data Warehouse-- Defined Collection of Data in Support of Management Reporting Needs and Decision-Making Processes. Organized by subject areas (known as data marts) and structured for query. Integrated across subject areas. Associated with a point in time, such as pay period, fiscal year, semester. Query only, that is, the data does not change.

8 16 November 2015 Data Warehouse 8 A Data Warehouse Designer’s View of the Business MARKETMARKET P R O D U C T T I M E The three key words become the dimensions of the cube. The points inside the cube store the measurements of the business – a combination of Product, Market, and Time. These points are the business facts.

9 16 November 2015 Data Warehouse 9 Goals of the Data Warehouse Provide Access to various scattered Data. Include Business Descriptions of Data. Promote Consistency Across Subject Areas. Assure Data Quality. Support User Directed Analysis.

10 16 November 2015 Data Warehouse 10 Runs every night External Data Operational Data ExtractTransformLoad The Data Loading Process

11 16 November 2015 Data Warehouse 11 External Data ExtractTransformLoad Ready for Access and Query Operational Data Data Warehouse Business Descriptions The Data Loading Process

12 Characteristics of a Data Warehouse 16 November 2015 Data Warehouse 12 Subject oriented – organized based on use (on subject not on application). Integrated – inconsistencies removed. Nonvolatile – stored in read-only format (historical ). Time variant – data are normally time series. Summarized – in decision-usable format. Large volume – data sets are quite large. Non normalized – often redundant. Metadata – data about data are stored. Data sources – comes from nonintegrated sources.

13 Data Warehousing Architecture 16 November 2015 Data Warehouse 13 Data Marts ExtractTransformLoad External Sources Operational db systems Serve OLAP servers Analysis Query/ Reporting Data Mining

14 16 November 2015 Data Warehouse 14 Data Warehouse vs. Data Mart Source: adapted from Strange (1997).

15 Data Extraction 16 November 2015 Data Warehouse 15 Often performed by COBOL routines (not recommended because of high program maintenance and no automatically generated meta data). Sometimes source data is copied to the target database using the replication capabilities of standard RDMS (not recommended because of “dirty data” in the source systems). Increasing performed by specialized ETL software.

16 Reasons for “Dirty” Data 16 November 2015 Data Warehouse 16  Dummy Values.  Absence of Data.  Multipurpose Fields.  Cryptic Data.  Contradicting Data.  Inappropriate Use of Address Lines.  Violation of Business Rules.  Reused Primary Keys.  Non-Unique Identifiers.  Data Integration Problems.

17 Data Cleansing 16 November 2015 Data Warehouse 17 Source systems contain “dirty data” that must be cleansed. ETL software contains rudimentary data cleansing capabilities. Specialized data cleansing software is often used. Leading data cleansing vendors include Vality (Integrity), Harte-Hanks (Trillium), and Firstlogic (i.d.Centric)

18 Steps in Data Cleansing 16 November 2015 Data Warehouse 18  Parsing  Correcting  Standardizing  Matching  Consolidating

19 Parsing 16 November 2015 Data Warehouse 19 Parsing locates and identifies individual data elements in the source files and then isolates these data elements in the target files. Examples include parsing the first, middle, and last name; street number and street name; and city and state.

20 Correcting 16 November 2015 Data Warehouse 20 Corrects parsed individual data components using sophisticated data algorithms and secondary data sources. Example include replacing an incomplete address and adding a zip code.

21 Standardizing 16 November 2015 Data Warehouse 21 Standardizing applies conversion routines to transform data into its preferred (and consistent) format using both standard and custom business rules. Examples include adding a pre name, replacing a nickname, and using a preferred telephone.

22 Matching 16 November 2015 Data Warehouse 22 Searching and matching records within and across the parsed, corrected and standardized data based on predefined business rules to eliminate duplications. Examples include identifying similar names and addresses.

23 Consolidating 16 November 2015 Data Warehouse 23  Analyzing and identifying relationships between matched records and consolidating/merging them into ONE representation.

24 Data Staging 16 November 2015 Data Warehouse 24 Often used as an interim step between data extraction and later steps. Accumulates data from asynchronous sources using flat files, FTP sessions, or other processes. At a predefined cutoff time, data in the staging file is transformed and loaded to the warehouse. There is usually no end user access to the staging file. An operational data store may be used for data staging.

25 Data Transformation 16 November 2015 Data Warehouse 25 Transforms the data in accordance with the business rules and standards that have been established. Example include: format changes, deduplication, splitting up fields, replacement of codes, derived values, and aggregates.

26 Building The Warehouse Building The Warehouse Transforming Data 16 November 2015 Data Warehouse 26 Transform Change Combine Calculate buyer_name Barr, Adam Chai, Sean O’Melia, Erin... reg_id 2 4 6 total_sales 17.60 52.80 8.82... buyer_name Barr, Adam Chai, Sean O’Melia, Erin... reg_id 2 4 6 total_sales 17.60 52.80 8.82... buyer_name Barr, Adam Chai, Sean O’Melia, Erin... price.55 1.10.99... qty 32 48 9... buyer_name Barr, Adam Chai, Sean O’Melia, Erin... reg_id II IV VI... total_sales 17.60 52.80 8.82... buyer_name Barr, Adam Chai, Sean O’Melia, Erin... price.55 1.10.99... qty 32 48 9... total_sales 17.60 52.80 8.82... buyer_first Adam Sean Erin... buyer_last Barr Chai O’Melia... reg_id 2 4 6 total_sales 17.60 52.80 8.82...

27 Data Loading 16 November 2015 Data Warehouse 27 Data are physically moved to the data warehouse. The loading takes place within a “load window”. The trend is to near real time updates of the data warehouse as the warehouse is increasingly used for decisional activities that affect operations.

28 Meta Data 16 November 2015 Data Warehouse 28 Data about data. Needed by both information technology personnel and users. IT personnel need to know data sources and targets; database, table and column names; refresh schedules; data usage measures; etc. Users need to know entity/attribute definitions; reports/query tools available; report distribution information; help desk contact information, etc.

29 Reviewed By Mr. Mahmoud Rafeek Alfarra


Download ppt "Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology- Khan younis."

Similar presentations


Ads by Google