T2 Architecture of Data Warehousing
T2 Architecture of Data Warehousing
Data warehouse architecture refers to the design of an organization’s data collection and storage
framework. Because data needs to be sorted, cleaned, and properly organized to be useful, data
warehouse architecture focuses on finding the most efficient method of taking information from a raw
set and placing it into an easily digestible structure that provides valuable BI insights.
Since a data warehouse can gather information quickly and efficiently, it can
enhance business productivity.
A data warehouse also helps in bringing down the costs by tracking trends,
patterns over a long period in a consistent and reliable manner.
Meta Data
Metadata describes other data. It provides information about a certain item's content.
For example, an image may include metadata that describes how large the picture is, the
color depth, the image resolution, when the image was created, and other data.
A text document's metadata may contain information about how long the document is,
who the author is, when the document was written, and a short summary of the
document.
• Descriptive metadata:
Describes a resource for purposes such as discovery and identification. It can include
elements such as title, abstract, author, and keywords.
• Structural metadata:
These indicates how compound objects are put together, for example, how pages are
ordered to form chapters.
• Administrative metadata:
They provide information to help manage a resource, such as when and how it was
created, file type and other technical information, and who can access it.
There are several subsets of administrative data; two that are sometimes listed as
separate metadata types are:
Metadata functions
Resource discovery
o Allowing resources to be found by relevant criteria;
o Identifying resources;
o Bringing similar resources together;
o Distinguishing dissimilar resources;
o Giving location information.
Organizing e-resources
o Organizing links to resources based on audience or topic.
o Building these pages dynamically from metadata stored in databases.
Facilitating interoperability
o Using defined metadata schemes, shared transfer protocols, and
crosswalks between schemes, resources across the network can be
searched more seamlessly.
Cross-system search, e.g., using Z39.50 protocol;
Metadata harvesting, e.g., OAI protocol.
Digital identification
o Elements for standard numbers, e.g., ISBN
o The location of a digital object may also be given using:
a file name
a URL
some persistent identifiers, e.g., PURL (Persistent URL); DOI
(Digital Object Identifier)
o Combined metadata to act as a set of identifying data, differentiating one
object from another for validation purposes.
To design an effective and efficient data warehouse, we need to understand and analyze
the business needs and construct a business analysis framework. Each person has
different views regarding the design of a data warehouse. These views are as follows −
The top-down view − This view allows the selection of relevant information
needed for a data warehouse.
The data source view − This view presents the information being captured, stored,
and managed by the operational system.
The data warehouse view − This view includes the fact tables and dimension
tables. It represents the information stored inside the data warehouse.
The business query view − It is the view of the data from the viewpoint of the
end-user.
Bottom Tier − The bottom tier of the architecture is the data warehouse database
server. It is the relational database system. We use the back end tools and utilities
to feed data into the bottom tier. These back end tools and utilities perform the
Extract, Clean, Load, and refresh functions.
Middle Tier − In the middle tier, we have the OLAP Server that can be
implemented in either of the following ways.
Top-Tier − This tier is the front-end client layer. This layer holds the query tools
and reporting tools, analysis tools and data mining tools.
Virtual Warehouse
Data mart
Enterprise Warehouse
Virtual Warehouse
The view over an operational data warehouse is known as a virtual warehouse. It is easy
to build a virtual warehouse. Building a virtual warehouse requires excess capacity on
operational database servers.
Data Mart
Data mart contains a subset of organization-wide data. This subset of data is valuable
to specific groups of an organization.
For example, the marketing data mart may contain data related to items, customers,
and sales. Data marts are characterized by.
The implementation data mart cycles is measured in short periods of time, i.e., in
weeks rather than months or years.
The life cycle of a data mart may be complex in long run, if its planning and design
are not organization-wide.
Enterprise Warehouse
An enterprise warehouse collects all the information and the subjects spanning an
entire organization
Load Manager
This component performs the operations required to extract and load process.
The size and complexity of the load manager varies between specific solutions from one
data warehouse to other.
Perform simple transformations into structure similar to the one in the data
warehouse.
Fast Load
In order to minimize the total load window the data need to be loaded into the
warehouse in the fastest possible time.
The transformations affects the speed of data processing.
It is more effective to load the data into relational database prior to applying
transformations and checks.
Gateway technology proves to be not suitable, since they tend not be performant
when large data volumes are involved.
Simple Transformations
While loading it may be required to perform simple transformations. After this has been
completed we are in position to do the complex checks. Suppose we are loading the
EPOS sales transaction we need to perform the following checks:
Strip out all the columns that are not required within the warehouse.
Convert all the values to required data types.
Warehouse Manager
A warehouse manager is responsible for the warehouse management process. It consists
of third-party system software, C programs, and shell scripts.
The size and complexity of warehouse managers varies between specific solutions.
Creates indexes, business views, partition views against the base data.
Transforms and merges the source data into the published data warehouse.
Archives the data that has reached the end of its captured life.
Query Manager
Query manager is responsible for directing the queries to the suitable tables.
By directing the queries to appropriate tables, the speed of querying and response
generation can be increased.
Query manager is responsible for scheduling the execution of the queries posed
by the user.