





































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































































What does Data Warehouse (DW) mean? A data warehouse (DW) is a collection of corporate information and data derived from operational systems and external data sources. A data warehouse is designed to support business decisions by allowing data consolidation, analysis and reporting at different aggregate levels. Data is populated into the DW through the processes of extraction, transformation and loading. The data warehouse architecture was born in the 1980s as an architectural model designed to support the flow of data from operational systems to decision support systems. These systems require analysis of large amounts of heterogeneous data accumulated by companies over time. In a data warehouse, data from many heterogeneous sources is extracted into a single area, transformed according to the decision support system needs and stored into the warehouse. For example, a company stores information pertaining to its employees, their salaries, developed products, customer information, sales and invoices. The CEO might want to ask a question pertaining to the latest cost- reduction measures; the answers will involve analysis of all of this data. This is a main service of the data warehouse, i.e., allowing executives to reach business decisions based on all these disparate raw data items. Thus, a data warehouse contributes to future decision making. As in the above example, a firm administrator can query warehouse data to find out the market demand of a particular product, sales data by geographical region or answers other inquiries. This provides insight about required steps to more effectively market a particular product. Unlike an operational data store, a data warehouse contains aggregate historical data, which may be analyzed to reach critical business decisions. Despite associated costs and effort, most major corporations today use data warehouses. Characteristics of Data warehouse A data warehouse has following characteristics:
period and offers information from the historical point of view. It contains an element of time, explicitly or implicitly. One such place where Datawarehouse data display time variance is in in the structure of the record key. Every primary key contained with the DW should have either implicitly or explicitly an element of time. Like the day, week month, etc. Another aspect of time variance is that once data is inserted in the warehouse, it can't be updated or changed. Non-volatile Data warehouse is also non-volatile means the previous data is not erased when new data is entered in it. Data is read-only and periodically refreshed. This also helps to analyze historical data and understand what & when happened. It does not require transaction process, recovery and concurrency control mechanisms. Activities like delete, update, and insert which are performed in an operational application environment are omitted in Data warehouse environment. Only two types of data operations performed in the Data Warehousing are
Technology needed to support issues of transactions, data recovery, rollback, and resolution as its deadlock is quite complex. It offers relative simplicity in technology. Datawarehouse Components The data warehouse is based on an RDBMS server which is a central information repository that is surrounded by some key components to make the entire environment functional, manageable and accessible There are mainly five components of Data Warehouse:
These Extract, Transform, and Load tools may generate cron jobs, background jobs, Cobol programs, shell scripts, etc. that regularly update data in datawarehouse. These tools are also helpful to maintain the Metadata. These ETL Tools have to deal with challenges of Database & Data heterogeneity. Metadata The name Meta Data suggests some high- level technological concept. However, it is quite simple. Metadata is data about data which defines the data warehouse. It is used for building, maintaining and managing the data warehouse. In the Data Warehouse Architecture, meta-data plays an important role as it specifies the source, usage, values, and features of data warehouse data. It also defines how data can be changed and processed. It is closely connected to the data warehouse. For example, a line in sales database may contain: 4030 KJ732 299. This is a meaningless data until we consult the Meta that tell us it was
At its core, the data warehouse is a database that stores all enterprise data and makes it accessible for reporting in a simplified and optimized manner. Naturally, this means you need to decide on which type of database you will use to store your data warehouse. There are four basic types of databases you can for this purpose: Typical Relational Databases : These are the row-based databases you probably use on a day-to-day basis and include Microsoft SQL Server, SAP, Oracle, and IBM DB2. Common relational databases are usually used for transactional systems, but you can use multiple databases running in parallel to serve as collective storage for your data warehouse, making your repository highly scalable. Analytics Databases: These are databases, specifically designed for the storage of data to maintain and manage analytics, are commonly used as data warehouse storage. Major brand names in this category include Teradata and Greenplum. Data Warehouse Appliances: Not exactly a type of storage, numerous vendors now provide appliances which provide both software to manage the data warehouse and hardware for storage. These appliances come pre-installed with a database management system. Major brand names include SAP Hana, Oracle Exadata, and IBM Netezza. Cloud-hosted Databases: With the increasing focus on cloud, databases too can be hosted and accessed on the cloud, meaning that you don’t need to purchase hardware to install your data warehouse. Major brand names include Amazon Redshift, Microsoft Azure SQL, and Google BigQuery – although Amazon dominates the landscape, capturing over two-thirds of the market share. Check out Teradata’s comprehensive whitepaper if you’re having trouble deciding on which DBMS to choose for your data warehouse.
2. Extract-Transform-Load (ETL) Tools Often considered the backbone of data warehousing, you will need an ETL tool to extract data from disparate source systems across the enterprise, transform this data to convert it in a format suited for your data warehouse, and load it into your data warehouse. While that covers the broad strokes, your ETL tool of choice will determine: - The time you spent extracting data - Methods of extraction - Type of transformations you’ll apply and the ease with which you’ll do so - Business rule definition to validate your data and clean it, so the end-product analytics are enhanced
When starting a data warehouse project, you should ideally choose a solution that helps you bring together each component of the data warehouse to form a unified whole. From facilitating requirements gathering, prototyping of reports, ETL processes, data modeling, metadata management, to data visualization, your preferred tool should bring it all together, while providing automation to enhance the creation of your EDW. Data Warehouse Architecture Data warehouses and their architectures vary depending upon the situation:-
1. Three-Tier Data Warehouse Architecture Data warehouses often adopt a three – tier architecture, 1 Bottom tier 2 Middle tier 3 Top tier
Data Warehouse Architecture 1 Bottom tier The bottom tier of the architecture is the data warehouse database server.It is the relational database system. Data is feed into bottom tier by some back-end tools and utilities. Function performed by back end tools and utilities are:- 1 Data Extraction 2 Data Cleaning 3 Data Transformation 4 Load 5 Refresh 2 Middle tier
It consists of the Top, Middle and Bottom Tier.
Multidimensional schema is especially designed to model data warehouse systems. The schemas are designed to address the unique needs of very large databases designed for the analytical purpose (OLAP). Types of Data Warehouse Schema: Following are 3 chief types of multidimensional schemas each having its unique advantages.
What is a Snowflake Schema? A Snowflake Schema is an extension of a Star Schema, and it adds additional dimensions. It is called snowflake because its diagram resembles a Snowflake. The dimension tables are normalized which splits data into additional tables. In the following example, Country is further normalized into an individual table. Characteristics of Snowflake Schema:
Star Schema Snow Flake Schema Hierarchies for the dimensions are stored in the dimensional table. Hierarchies are divided into separate tables. It contains a fact table surrounded by dimension tables. One fact table surrounded by dimension table which are in turn surrounded by dimension table In a star schema, only single join creates the relationship between the fact table and any dimension tables. A snowflake schema requires many joins to fetch the data. Simple DB Design. Very Complex DB Design. Denormalized Data structure and query also run faster. Normalized Data Structure. High level of Data redundancy Very low-level data redundancy Single Dimension table contains aggregated data. Data Split into different Dimension Tables. Cube processing is faster. Cube processing might be slow because of the complex join. Offers higher performing queries using Star Join Query Optimization. Tables may be connected with multiple dimensions. The Snow Flake Schema is represented by centralized fact table which unlikely connected with multiple dimensions. What is a Galaxy schema?