2Presentation plan Introduction Modeling issues Conclusions Data Warehouse ArchitectureConcepts of dimensional modelHistory of Data WarehouseModeling issuesConclusions
3DW and OLAP – general concepts Data Warehouses – contain historical data for supporting decision-making processOn-Line Analytical Processing systems - facilitate manipulation of DW dataDW and OLAP require clear definition of facts, dimensions, and hierarchiesDW logical level design based on star/snowflake schema
4Data Warehouse Architecture Data Flow ArchitecturesSingle DDSNDS+DDSODS+DDSSystem ArchitectureFederated ArchitecturesETL Architectures
5Extract and transform and Load (ETL) then bring data from various source system into a stage area. ETL Integrate and transform stage’s data then load it to dimensional data store (DDS).when loading data into DDS ,(DQETL) do various rules to check data then bad data push into DQ data base for reporting and correcting .Bad data Automatically be corrected or tolerated if it can be needed.User Can get data via several front-end tools and applications.Some Application operate on Multidimensional format. So data in the DDS is Loaded to Multidimensional database( MDB ).Multidimensional is a form of database that data is stored like a cub. Cells of cube represent number of variable which is called Dimensions. Value of dimension show when and where business event happened.ETL system is managed by Control system based on the rules in the metadata.Metadata is a database that contain information about the data structure data usage-quality rules and other information about data.Audit system is used for understanding what happen during ETL process and then logs system oprenation into Metadata database.The Data is examined to realize characteristic of data by data Profiler.Data profiler analyze data to find out that for example how many row does Table has? And which one is Null and so on.SpreadsheetSource system are OLTP system that contain data which is loaded to DW .OLTP : Capture and store Business Transaction online.Pivot tablesAd Hoc queryMetadataData ProfilerControlsystem+AuditreportsSourceSystemETLstageDDSDQETLMDBanalyticreportsDQcorrectionData MiningOther BIApplicationreports
7Single DDSExtract data from several source systemPush it in stage area Stage area could be a database or files system.Stage is necessary because of lacking memory space and so on .ApplicationMetadataControlsystem+Audits1DDSSourceSystemETL+DQAdvantage of Single DDS is simple to design , because the data from the stage is loaded straight into the dimensional data store, without going to any kind of normalized store. It is good for system which has just one source or just has one dimension.The main ِDisadvantage is that it is more difficult, in this architecture, to create a second DDS. The DDS in the single DDS architecture is the master data store.s2StageMDBControl system + Audit manage ETL system concurrently .Log ETL process to Metadata file or databaseMetadata contain Data Structure and data processing within data warehouseSecond ETL package pick up data from Stage and Integrates them.Apply some Data Quality rulesPuts consolidated data into a DDSApplication
8NDS + DDS Data storage = Stage, NDS & DDS Controlsystem+AuditMetadataApplicationData storage = Stage, NDS & DDSCore DW Store = Normalized & Dimensional FormatData Marts = 1 to N Data Marts in each DDSETL Engine = 4 ETL PackageNDS Contain Master table and transaction TableMaster Table Dimensions in DDSTransaction table Facts in DDSs1DDSs2NDS-ETL+DQNDSDDS-ETLDDSs2StageApplicationMDBNDS is the in front of DDS and NDS is our master data .Master data contain all historical nad structral data .DDS is our Transactional data and just could contain Single years of data .Application
9ODS is hybrid data store so User can access data from ODS ODS + DDSWe have gotData storage = Stage, ODS & DDSCore DW Store = Normalized & Dimensional FormatData Marts = 1 to N Data Marts in each DDSETL Engine = 4 ETL PackageODS Contain Master table and transaction Table but it is not Master data storeMaster Table Dimensions in DDSTransaction table Facts in DDSThe advantage of this architecture is that The third normal form is slimmer than the NDS because it contains only current values.In this architecture we have a central place to integrate, maintain, and publish master data.The normalized relational store is updatable by the user application.The main ِDisadvantage is that it is more difficult, in this architecture, to create a second DDS. The DDS in the single DDS architecture is the master data store.Controlsystem+AuditMetadataApplications1DDSs2ODS-ETL+DQODSDDS-ETLDDSs2StageApplicationMDBApplicationODS is hybrid data store so User can access data from ODS
10Federated DW FDW FDW FDW Application Application Application ETL EII DM3DW2DW1DW2DW3DM2DW1DM1Relational DWEII(Extract Information Integration)is a method to integrate data by accessing different source systems online and aggregating the outputs on the fly before bringing the end result to the user.All 3 DWs must be standardized as the same structure.Third normalized DWData marts in the same Data warehouse is nonintegrated data marts.They can be dimensional, normalized, or neitherDimensional DWThe FDW ETL needs to match the Updating time frequency of the source DWs.The FDW ETL needs to integrate the data from source DWs based on business rules.Duplicate records need to be merged.Subject area in here is very narrow that the source DWs.
13There are two different types of database software Main Issues that must be consideredThere are two different types of database softwareSymmetric multi processing(SMP)It is a databas system that runs on one or more machines with several identical processors sharing the same disk storage. The database is physically located in a single disk storage system. Examples of SMP database systems are SQL Server, Oracle, DB/2, Informix, and Sybase2. Massively parallel processing (MPP)It is a database system that 20uns on more than one machine where each machine has its own disk storage. The database is physically located in several disk storage systems that are interconnected to each other. An Examples of MPP database systems are Teradata, Neoview, Netezza.MPP database system is faster and more scalable than an SMP database system. In an MPP database system, a table is physically located in several nodes, each with its own storage.
14Research challenges (1) Spatial measure aggregations consideringTheir typesDistributive – reuse of aggregates, e.g., spatial unionAlgebraic – additional treatments for reusing aggregates, e.g., center of n pointsHolistic - new calculation with a row data, e.g., equi-partitionTopological relationships between hierarchy levelsTypes of hierarchies