250 likes | 458 Views
Relational OLAP and Aggregate Navigators. Data Warehousing Lab. M.S. 2 Hyeyoung Cho. OLAP. OLAP(OnLine Analytical Processing) One technology for querying the warehouse Suited for summarizing and analyzing huge quantities of data 4 basic functions Multidimensionality Drill down
E N D
Relational OLAP and Aggregate Navigators Data Warehousing Lab. M.S. 2 Hyeyoung Cho
OLAP • OLAP(OnLine Analytical Processing) • One technology for querying the warehouse • Suited for summarizing and analyzing huge quantities of data • 4 basic functions • Multidimensionality • Drill down • Rotation • Multiple modes of view
OLAP basic functions • Multidimensionality • provide data about performance measures, broken down by one or more dimensions • dimensions • combine to describe measures • vary according to industry, strategy, kinds of information that systems capture • filtered by dimension and/or measure value
OLAP basic functions • Drill down • break a summary item into its detailed components • multiple parallel hierarchies • DATE dimension(year vs. seasonal year) both share a common atomic data element : day
OLAP basic functions • view highly summarized data and then navigate down to less summarized data • drill across:drill down into a different dimension • rolling up:drill from a detail back up to a total
OLAP basic functions • Rotation month on the Y-axis product on the X-axis rotation month on the X-axis product on the Y-axis
OLAP basic functions • change view perspective • drill down and rotation
OLAP basic functions • Multiple modes of view • View data in a variety of formats(graph,chart,etc.)
OLAP database technologies • OLAP • application for querying and viewing data • regardless of how that data is stored • ROLAP and MOLAP • ROLAP (Relational OLAP) :RDB기반 • MOLAP (Multidimensional OLAP) :MDDB기반 • data marts • tuned for specific subject areas • more normalized than simple star schema
OLAP database technologies • Cube(dataset to analyze) • three dimension : height,width,depth(dice) • Comprised of any number of dimensions
MDDB • Array • RDB : store data in tables and columns • MDDB : store data in large multidimensional arrays • Multidimensional Database Vendors • Oracle Express Server(OES) • Essbase(Hyperion Software) • Powerplay(Cognos) • Gentia(Gentia Software) • Suitable for analyzing narrowly focused sets of data
RDB • Aggregate Navigation • Oracle 8i ’s query rewrite capabilities • Materialized views in Oracle 8i • ease the construction and maintenance of the table • speed up query performance
RDB • aggregate navigators • select the best table for each query • know which summaries exist and the size
RDB • ROLAP Vs. Online Report Writing • support • Generate SQL calls, Format the results • not support • OLAP basic function, Aggregate navigation • ROLAP tool vendors • Oracle Discoverer • MicroStrategy DSS Agent, • Computer Associates DecisionBase
ROLAP Vs.MOLAP • query performance • query response time • precalculate all combinations and summaries of data • three dimensions: • 1개의 3D atomic level array • 3개의 2D atomic level array • 3개의 1D summary array broken by each dimension
ROLAP Vs.MOLAP • load performance • populate data structures and perform calculations time
ROLAP Vs.MOLAP • Analytic capability
ROLAP Vs.MOLAP • Dataset Sizes • Dimension Handling
ROLAP Vs.MOLAP • Maintenance Effort
ROLAP and MOLAP Harmony • Which technology wins? • relational database : a large, cross-functional, enterprise data warehouse • multidimensional database : a well-defined, highly targeted analysis-focused data mart limited dimensionality and little need for detailed, atomic-level data • A corporate data warehouse feeds smaller, narrowly focused or stand alone data marts → ROLAP and MOLAP are complementary!
ROLAP and MOLAP Harmony • drill through • integrate ROLAP and MOLAP technologies • drill down in the MDDB until reach in the lowest level of detail • query to RDB that contains very detailed atomic-level data • not perfect yet so require the custom code each drill-through query
Conclusion • OLAP is a user interface, not a data storage, concept • OLAP basic functions: multidimensionality, Drill down, Rotation, Multiple modes of view • ROLAP Vs. MOLAP • What is a best approach to OLAP?