ADVANCED TOPICS IN RELATIONAL DATABASES Spring 2011 Instructor: Hassan Khosravi.

Slides:



Advertisements
Similar presentations
Data Warehousing and Data Mining J. G. Zheng May 20 th 2008 MIS Chapter 3.
Advertisements

Business Intelligence Simon Pease. Experience with BI Developing end-to-end BI prototype for Plan International Developing end-to-end BI prototype for.
Jennifer Widom On-Line Analytical Processing (OLAP) Introduction.
Dimensional Modeling Business Intelligence Solutions.
ICS 421 Spring 2010 Data Warehousing (1) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 3/18/20101Lipyeow.
Data Warehousing - 2 ISYS 650. Data Warehouse Design - Star Schema - Dimension tables – contain descriptions about the subjects of the business such as.
Decision Support and Data Warehouse. Decision supports Systems Components Data management function –Data warehouse Model management function –Analytical.
OLAP. Overview Traditional database systems are tuned to many, small, simple queries. Some new applications use fewer, more time-consuming, analytic queries.
Business Intelligence. On-Line Analytical Processing (OLAP) Tools The use of a set of graphical tools that provides users with multidimensional views.
Data Warehousing. On-Line Analytical Processing (OLAP) Tools The use of a set of graphical tools that provides users with multidimensional views of their.
DATA WAREHOUSE (Muscat, Oman).
On-Line Application Processing Warehousing Data Cubes Data Mining 1.
Business Intelligence Instructor: Bajuna Salehe Web:
Business Intelligence. Topics Chart Online Analytical Process, OLAP – Excel’s Pivot table – Data visualization with dashboard Data warehousing Data Mining.
©Silberschatz, Korth and Sudarshan18.1Database System Concepts - 5 th Edition, Aug 26, 2005 Buzzword List OLTP – OnLine Transaction Processing (normalized,
On-Line Analytic Processing Chetan Meshram Class Id:221.
DW-1: Introduction to Data Warehousing. Overview What is Database What Is Data Warehousing Data Marts and Data Warehouses The Data Warehousing Process.
OnLine Analytical Processing (OLAP)
Presented By: Muhammad Rizvi Raghuram Vempali Surekha Vemuri.
1 Data Warehouses BUAD/American University Data Warehouses.
Data Warehousing.
Ahsan Abdullah 1 Data Warehousing Lecture-10 Online Analytical Processing (OLAP) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center.
BUSINESS ANALYTICS AND DATA VISUALIZATION
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
Section D.  OLAP (or Online Analytical Processing) has been growing in popularity due to the increase in data volumes and the recognition of the business.
Winter 2006Winter 2002 Keller, Ullman, CushingJudy Cushing 19–1 Warehousing The most common form of information integration: copy sources into a single.
Ayyat IT Group Murad Faridi Roll NO#2492 Muhammad Waqas Roll NO#2803 Salman Raza Roll NO#2473 Junaid Pervaiz Roll NO#2468 Instructor :- “ Madam Sana Saeed”
Fox MIS Spring 2011 Data Warehouse Week 8 Introduction of Data Warehouse Multidimensional Analysis: OLAP.
UNIT-II Principles of dimensional modeling
1 On-Line Analytic Processing Warehousing Data Cubes.
On-Line Application Processing Warehousing Data Cubes (Data Mining) (slides borrowed from Stanford)
Building a Data Warehouse for Business Reporting Presented by – Arpit Desai Faculty Advisor – Dr. Meiliu Lu CSC Department – Spring 2006 California State.
Business Intelligence. Topics Chart Online Analytical Process, OLAP – Excel’s Pivot table – Data visualization with dashboard Scenario Management Data.
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
OLAP On Line Analytic Processing. OLTP On Line Transaction Processing –support for ‘real-time’ processing of orders, bookings, sales –typically access.
What is OLAP?.
CSE 5331/7331 F'071 CSE 5331/7331 Fall 2007 Dimensional Modeling Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University.
Data Warehousing.
Business Intelligence Training Siemens Engineering Pakistan Zeeshan Shah December 07, 2009.
The Data Warehouse Chapter Operational Databases = transactional database  designed to process individual transaction quickly and efficiently.
Security and User Authorization in SQL CIS 4301 Lecture Notes Lecture /18/2006.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support.
By A Sai Krishna Geethika Lokanadham Mithun Rajanna KV Kumar Data warehousing for Risk Analysis.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support Chapter 25.
Data Warehouses and OLAP 1.  Review Questions ◦ Question 1: OLAP ◦ Question 2: Data Warehouses ◦ Question 3: Various Terms and Definitions ◦ Question.
Databases 2 On-Line Application Processing: Warehousing, Data Cubes, Data Mining.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Data Warehousing and OLAP Outline u Models & operations u Implementing a warehouse u Future directions.
Jennifer Widom Authorization. Jennifer Widom Authorization Database Authorization  Make sure users see only the data they’re supposed to see  Guard.
CSE6011 Implementing a Warehouse  Monitoring: Sending data from sources  Integrating: Loading, cleansing,...  Processing: Query processing, indexing,...
Prof. HeleMai Haav: CSC 230 Spring *03 Overview: Databases.
On-Line Application Processing
BTM 382 Database Management Chapter 13: Business intelligence and data warehousing Chapter 14-4: Data analytics Chitu Okoli Associate Professor in Business.
Data warehouse.
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
Data Warehouse.
On-Line Analytic Processing
Data warehouse and OLAP
Data Warehouse.
On-Line Analytical Processing (OLAP)
Data Warehouse and OLAP
Authorization.
Session #, Speaker Name Database Privileges 11/29/2018.
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009
On-Line Application Processing
Analytics, BI & Data Integration
Data Warehouse and OLAP
Data Warehousing.
Presentation transcript:

ADVANCED TOPICS IN RELATIONAL DATABASES Spring 2011 Instructor: Hassan Khosravi

4.2 AUTHORIZATION

4.3 Database Authorization Make sure users see only the data they are supposed to see. Guard the database against modifications by malicious users. Users have privileges Can only operate on data for which they are authorized Select on R Insert on R Update on R Delete on R

4.4 Example Apply(dec), Select(Sid) Student select(SID,GPA)

4.5

4.6 How can we give the following privilege Select students info for Stanford applications only Delete Berkeley applications only

4.7 Obtaining Privileges Relation creator is owner Owner has all privileges and may grant privileges Grant privs on R to users  [with grant option]

4.8 Revoking Privileges Cascade: also revoke privileges granted from privileges being revoked transitively, unless also granted from another source Restrict: disallow if cascade would revoke any other privileges

4.9 ON-LINE ANALYTICAL PROCESSING (OLAP)

4.10 Two broad types of database activities OLTP: Online Transaction Processing  Short transactions  Simple queries  Touch small portion of data  Frequent updates OLAP: Online Analytical Processing  Long transactions  Complex queries  Touch large portions of data  Infrequent updates

4.11 Data warehousing Bring data from operational OLPT sources into a single warehouse for OLAP analysis Decision Support System Data warehouse tuned for OLAP

4.12 Star Schema Fact table (relationships) Updated frequently, very large  Sales transaction, course enrollment Dimension tables (entities, objects) Stores, items, customers Students, courses

4.13 Example

4.14 Performance Inherently very slow:  Special indexes  Extensive use of materialized views

4.15 DATA CUBES

4.16 Multi-dimensional OLAP Data Cube Dimension data form axes of Cube Fact data in cells Item Stores Customers

4.17 Assuming one quantity for that Item Stores Customers Qty and price for I32, C4, s17

4.18 Usually have defined aggregate functions that are meaningful Sum(qty * price) Item Stores Customers Aggregate over all items for C5, s11

4.19 Usually have defined aggregate functions that are meaningful Sum(qty * price) Item Stores Customers Aggregate over all stores for I 61, C5, C21

4.20 Usually have defined aggregate functions that are meaningful Sum(qty * price) Item Stores Customers Aggregate over all customers for I 5, s13

4.21 Usually have defined aggregate functions that are meaningful Sum(qty * price) Item Stores Customers Aggregate over all customers and Items for s2 Aggregate over all stores and Items for c63 Aggregate over all stores and customers for I 52

4.22 Usually have defined aggregate functions that are meaningful Sum(qty * price) Item Stores Customers Full aggregation

4.23 Example

4.24

4.25 Drill Down Add for category to the group by and selection

4.26 Roll Up