Real-World Performance Training Star Query Edge Conditions and Extreme Performance

Size: px
Start display at page:

Download "Real-World Performance Training Star Query Edge Conditions and Extreme Performance"

Transcription

1

2 Real-World Performance Training Star Query Edge Conditions and Extreme Performance Real-World Performance Team

3 Dimensional Queries The Dimensional Model and Star Queries Star Query Execution Star Query Prescription Edge Conditions and Extreme Performance

4 Edge Conditions Snowflake Schema product customer region product cust_mv date sales sales month supplier cal_mv supplier year Collapse your dimension tables into materialized views

5 Edge Conditions Relationships between Dimensions product customer product customer sales sales calendar supplier calendar supplier Examine data model, collapse your dimension tables into materialized views

6 Edge Conditions Common Join Columns product customer product customer part sales sales calendar supplier calendar supplier Examine data model, look to see if there are missing columns

7 Edge Conditions Not Completing Joins calendar sales supplier customer region SELECT GROUP BY ORDER BY d.year, s.nation, c.nation, SUM(l.extendedprice) FROM lineorder l JOIN calendar d ON l.lo_orderdate = d_datekey JOIN supplier s ON l.lo_suppkey = s.suppkey JOIN customer c ON l.lo_suppkey = c.custkey JOIN region r ON s.region_id = r.region_id WHERE d.year IN (1993, 1994, 1995) AND r.region_code = ASIA AND c.region_id = s.region_id d.year, s.nation, c.nation, d.year, s.nation, c.nation; Snowflake schema with queries providing filter predicates once for both dimension joins and not completing joins

8 Edge Conditions Completing Joins calendar sales supplier region SELECT GROUP BY ORDER BY d.year, s.nation, c.nation, SUM(l.extendedprice) FROM lineorder l JOIN calendar d ON l.lo_orderdate = d_datekey JOIN supplier s ON l.lo_suppkey = s.suppkey JOIN customer c ON l.lo_suppkey = c.custkey JOIN region r1 ON s.region_id = r1.region_id JOIN region r2 ON c.region_id = r2.region_id WHERE d.year IN (1993, 1994, 1995) AND r1.region_code = ASIA AND r2.region_code = ASIA d.year, s.nation, c.nation, d.year, s.nation, c.nation; customer region Join each dimension to outer table in snowflake schema

9 Finesse Moves Materialized Views product calendar sales customer supplier Operation Object Name Predicate information SELECT STATEMENT SORT GROUP BY HASH JOIN TABLE ACCESS STORAGE FULL HASH JOIN SUPPLIER LO_SUPPKEY = S_SUPPKEY JOIN FILTER CREATE :BF0001 PART JOIN FILTER CREATE :BF0000 LO_ORDERDATE = D_DATEKEY TABLE ACCESS STORAGE FULL CALENDAR D_YEAR IN ( 1993, 1994, 1995 ) HASH JOIN JOIN FILTER CREATE :BF0002 LO_PARTKEY = P_PARTKEY TABLE ACCESS STORAGE FULL PRODUCT P_CONTAINER = 'JUMBO PACK' JOIN FILTER USE JOIN FILTER USE :BF0001 :BF0002 PARTITION RANGE JOIN-FILTER TABLE ACCESS STORAGE FULL SALES :BF0000

10 Finesse Moves Materialized Views product customer sales SALES_MV calendar supplier CREATE MATERIALIZED VIEW SALES_MV [storage options] [rewrite options] AS SELECT [columns from dimension tables and fact tables] FROM sales JOIN customer ON c_custkey = sales_custkey JOIN supplier ON s_suppkey = sales_suppkey JOIN product ON p_partkey = sales_partkey JOIN calendar ON s_suppkey = sales_suppkey [GROUP BY clause, if possible/necessary]

11 Finesse Moves Materialized Views sales_mv Operation Object Name Predicate information SELECT STATEMENT SORT GROUP BY MAT_VIEW REWRITE ACCESS STORAGE FULL SALES_MV P_CONTAINER = 'JUMBO PACK D_YEAR IN ( 1993, 1994, 1995 )

12 Finesse Moves Clustering Mechanisms of co-locating data with common values within a table If you co-locate data you can retrieve them with the minimal amount of IO Sometimes data is naturally clustered due to the method of loading (eg transaction data loaded by day will naturally be grouped by that day) Other methods can be used to guarantee the co-location of the data

13 Finesse Moves Techniques Used for Clustering Sorting the data before/during loading means that the data will be naturally sorted around the sort key, reducing the number of physical I/Os required to retrieve rows with the predicate based on the sort key if retrieving data via indexes or storage indexes Clusters Groups of one or more tables that are clustered around a common key which can be accessed via index or hash If we access rows on the key then we can retrieve all the related data with less I/Os

14 Finesse Moves Partitioning to Cluster Data Divide data based on the partitioning column Only need to access required partitions when data is queried by the partitioning key For Example List Partitioning based on country, all the orders for a country would be in a single partition might lead to asymmetric sizes though UK USA GERMANY KOREA ITALY SPAIN CHINA

15 Finesse Moves Attribute Clustering New in Sorts the data as it is loaded or reorganised on the clustering key The rows with a given value of the clustering column are stored using a small number of blocks Used in conjunction with Zone Maps to reduce the amount of IO needed to scan a table while searching for clustering column values Will improve the efficiency of DBIM queries on the clustering column

16 Category Attribute Clustering Category Boys Boys Boys Boys Girls Country AR JP SA US AR AR Women Interleaved-Ordered Table JP Women Country SA Women US Women Linear-Ordered Table Girls Girls Girls JP SA US AR Men JP Men SA Men US Men Men Men Men Men AR JP SA US AR Girls JP Girls SA Girls US Girls Women Women Women AR JP SA AR Boys JP Boys SA Boys US Boys Women US

17 Star Query Multi-User Demo Part II

18 Multi User Demo Recall Star Schema Benchmark Data Model Four racers, B*Tree Indexes, Bitmap Indexes, Exadata, and In-Memory Each racer executes as many randomized queries as it can during the same interval Begin with four users and increase

19 Multi-User Race Demo Prior Configuration, 32 users Queries running in parallel with DoP=2 32 concurrent users B*Tree Indexes with Nested Loop Joins Quick config Bitmap Indexes with Star Transformation Exadata with Smart Scan Oracle Database In-Memory

20 Multi-User Race Demo Previous results with 32 Users (DoP=2)

21 Multi-User Race Demo Previous results with 32 Users (DoP=2) Exadata and Indexes access methods constrained on I/O In-Memory was nearly all CPU

22 Multi-User Race Demo Previous results with 32 Users (DoP=2) Exadata has reached its limits

23 Multi-User Demo Exadata vs. Database In-Memory Most of the queries in the demo were I/O intensive By using Hybrid Columnar Compression and a sound partitioning strategy, you can reduce the I/O load on Exadata and get better throughput

24 Multi-User Race Demo Configuration, 32 users Queries running in parallel with DoP=2 32 concurrent users B*Tree Indexes with Nested Loop Joins Quick config Bitmap Indexes with Star Transformation Exadata Partitioned with HCC Oracle DBIM and Partitioning

25 Multi-User Race Demo 32 Users, Partitioning (Exa & DBIM) and HCC (Exa) Without compression or partitioning Exadata with HCC query high and partitioning on both Exa & DBIM Exadata with HCC Query High and Partitioning provided almost 5x throughput compared to uncompressed and no partitioning DBIM was also better (2275 vs. 1932)

26 Multi-User Race Demo 32 Users, Partitioning and HCC (DoP=2) Exadata without compression or partitioning Exadata with HCC and partitioning

27 Multi-User Demo Materialized Views and Clustering Let s expand on the previous test by testing with In-Memory Materialized Views We ll have attribute clustered In- Memory MVs and partitioned In- Memory MVs with attributing clustering

28 Multi-User Race Demo Configuration, 32 users Queries running in parallel with DoP=2 32 concurrent users Exadata Partitioned with HCC Quick config Oracle DBIM and Partitioning MVs In-Memory Attributed Clustered Partitioned In-Memory MVs with Attribute Clustering

29 Multi-User Race Demo 32 Users, Partitioning, HCC, In-Memory MVs, Attribute Clustering Exadata Partitioned HCC In-Memory Partitioned In-Memory MVs with Attribute Clustering Partitioned In-Memory MVs with Attribute Clustering

30 Multi-User Demo Lessons Learned Partitioning and compression on Exadata is important Materialized Views can make a difference Clustering can make a difference Already have good performance? You can probably do better

31 Reference Section

32 Star Query Exceptions

33 Demo: Dimensional Query Exceptions Snowflake schemas Dimension table joins Snowflake without completing predicates Common dimension joins to fact table Meta-model

34 Exceptions Low cardinality snowflake query

35 Exceptions High cardinality snowflake query

36 Exceptions Low cardinality snowflake 7 seconds elapsed Filtering on partition JOIN filter from DAY_DIM and join filter from CAT_DIM/PART_DI M join Filters 300m rows down to 25m after applying Bloom Filters Spends time doing large hash joins

37 Exceptions High cardinality snowflake 12 seconds elapsed Filters on date dimensions and no others Filters 300m rows down to 46m after applying Bloom Filters Spends time doing large hash joins

38 Exceptions Low cardinality snowflake with dimensions collapsed 0.1 seconds elapsed Filters on DAY_DIM_MV and PART_DIM_MV, yielding only 42k rows from fact table after filter Because we filtering early, downstream cost of joins is reduced

39 Exceptions High cardinality snowflake with dimensions collapsed 1 second elapsed Filters on DAY_DIM_MV and CUSTOMER table Able to filter much more data from fact table

40 Exceptions Dimension Table Joins

41 Exceptions Dimension Table Joins 15 seconds elapsed Filtering on SUPPLIER Bloom Filter Significant time completing hash join to CUSTOMER

42 Exceptions No Dimension Table Joins Before Join each dimension to fact Apply predicates directly to dimension

43 Exceptions Dimension Table Joins 3 seconds elapsed Able to use vector transformation

44 Exceptions Snowflake without completing predicates supp day_dim lo region cust Only apply predicate to REGION on CUSTOMER join

45 Exceptions Snowflake without completing predicates 34 seconds Only filtering on DAY_DIM

46 Exceptions Snowflake with completing predicates supp region day_dim lo cust region Apply predicates on both REGION dimensions

47 Exceptions Snowflake with completing predicates 9 seconds Filtering on both DAY_DIM and SUPP 21m rows after filtering compared to 131m without completing predicates

48 Exceptions Snowflake with complete predicates and MVs supp region day_dim lo cust region

49 Exceptions Snowflake with complete predicates and MVs 4 seconds More filtering

50 Exceptions Common Dimension Joins to Fact PART_EXT is an extension of PART Apply some filter predicates against PART and some against PART_EXT

51 Exceptions Common Dimension Joins to Fact Although inherently correlated, PART and PART_EXT filters are applied independently to fact table Fact table is filtered using predicates & Bloom Filters from DATE_DIM and PART_EXT, but not PART This leads to under-estimate of join cardinality downstream Since the correlation is across tables, we can t apply extended stats techniques

52 Exceptions No Common Dimension Joins to Fact Here, PART has all the columns we need All PART filters applied against same table, allowing is to be able to understand correlation

53 Exceptions No Common Dimension Joins to Fact Now we can filter optimally and achieve the right cardinality estimates Extract 700k rows from fact table after filters applied

54 Exceptions Meta-model lineorder (fact) part_meta part_lookups

55 Exceptions Meta-model lineorder (fact) part_meta part_lookups

56 Exceptions Meta-model 42 seconds elapsed Bloom filter on PART% joins, not on DATE_DIM or SUPPLIER Low cardinality estimates on PART_LOOKUPS/PART_ META joins cause NL joins to DATE_DIM and SUPPLIER, after LINEORDER is scanned with poor filtering

57 Exceptions Meta-model using Materialized View to Flatten lineorder (fact) part_meta part_lookups

58 Exceptions Meta-model with MV to Flatten 3 seconds elapsed Right-deep bloom filters from PART_META_MV, SUPPLIER, and DATE_DIM. Filters ~299m rows (early)

59 Star Query Finesse

60 Finesse Moves Demo Exadata & DBIM Partitioning Zonemaps & Attribute Clustering Materialized Views In-Memory Aggregation Fixed-With Bitmap Indexes

61 Finesse Moves Query Display 4th quarter 1995 sales to customers in Asia that post no sales in 1st quarter 1996

62 Finesse Moves 1) Exadata Baseline 30S seconds elapsed 60 GB of IO

63 Finesse Moves 2) Exadata with HCC 30S seconds elapsed 16 GB of IO

64 Finesse Moves 3) Exadata with Partitioning and HCC Query Low 3 seconds elapsed 915 MB of IO

65 Finesse Moves 4) Exadata with Zonemaps (No compression or partitioning) 26 seconds elapsed 44 GB of IO Zonemap pruning

66 Finesse Moves 5) Exadata with Zonemaps and HCC (no partitioning) 27 seconds elapsed 16 GB of IO Zonemap pruning

67 Finesse Moves 6) Exadata with Zonemaps, Partitioning, and HCC 2 seconds elapsed 915 MB of IO Zonemap & partition pruning

68 Finesse Moves 7) Exadata with MV 9 seconds elapsed

69 Finesse Moves 8) Exadata with MV and HCC 3 seconds elapsed

70 Finesse Moves 9) Exadata with MV with Attribute Clustering (no HCC) 1 second elapsed

71 Finesse Moves 10) Exadata with MV with Attribute Clustering and HCC 2 seconds elapsed

72 Finesse Moves 11) Exadata with MV with Partitioning, Attribute Clustering and HCC 1 second elapsed

73 Finesse Moves 12) DBIM Baseline 28 seconds elapsed Same as Exadata

74 Finesse Moves 13) DBIM with Partitioning 3 seconds elapsed

75 Finesse Moves 14) DBIM with Zonemaps (unpartitioned) 4 seconds elapsed Zonemap pruning and Bloom filtering

76 Finesse Moves 15) DBIM with Partitioning and Zonemaps 3 seconds elapsed Zonemap pruning, Bloom pruning, and Bloom filtering

77 Finesse Moves 16) DBIM with MV 2 seconds elapsed

78 Finesse Moves 17) DBIM with MV and Attribute Clustering 1 second elapsed

79 Finesse Moves 18) DBIM with Partitioned MV and Attribute Clustering 0.58 seconds

80 Finesse Moves 19) DBIM without In-Memory Aggregation 5 seconds elapsed 67% of time completing joins and aggregation

81 Finesse Moves 20) DBIM with In-Memory Aggregation 2 seconds elapsed All time on scan, filtering, and VGBY transformation

82 Finesse Moves 21) Bitmap indexes with Star Transformation 16 GB of IO 1.7 seconds database time and 49k buffer gets

83 Finesse Moves 22) Bitmap Fixed Width (Hakan) with Star Transformation 1.1 seconds database time and 47k buffer gets

84

Real-World Performance Training Star Query Prescription

Real-World Performance Training Star Query Prescription Real-World Performance Training Star Query Prescription Real-World Performance Team Dimensional Queries 1 2 3 4 The Dimensional Model and Star Queries Star Query Execution Star Query Prescription Edge

More information

1/3/2015. Column-Store: An Overview. Row-Store vs Column-Store. Column-Store Optimizations. Compression Compress values per column

1/3/2015. Column-Store: An Overview. Row-Store vs Column-Store. Column-Store Optimizations. Compression Compress values per column //5 Column-Store: An Overview Row-Store (Classic DBMS) Column-Store Store one tuple ata-time Store one column ata-time Row-Store vs Column-Store Row-Store Column-Store Tuple Insertion: + Fast Requires

More information

Real-World Performance Training Dimensional Queries

Real-World Performance Training Dimensional Queries Real-World Performance Training al Queries Real-World Performance Team Agenda 1 2 3 4 5 The DW/BI Death Spiral Parallel Execution Loading Data Exadata and Database In-Memory al Queries al Queries 1 2 3

More information

Data Modeling and Databases Ch 7: Schemas. Gustavo Alonso, Ce Zhang Systems Group Department of Computer Science ETH Zürich

Data Modeling and Databases Ch 7: Schemas. Gustavo Alonso, Ce Zhang Systems Group Department of Computer Science ETH Zürich Data Modeling and Databases Ch 7: Schemas Gustavo Alonso, Ce Zhang Systems Group Department of Computer Science ETH Zürich Database schema A Database Schema captures: The concepts represented Their attributes

More information

Real-World Performance Training SQL Performance

Real-World Performance Training SQL Performance Real-World Performance Training SQL Performance Real-World Performance Team Agenda 1 2 3 4 5 6 SQL and the Optimizer You As The Optimizer Optimization Strategies Why is my SQL slow? Optimizer Edges Cases

More information

Column-Stores vs. Row-Stores: How Different Are They Really?

Column-Stores vs. Row-Stores: How Different Are They Really? Column-Stores vs. Row-Stores: How Different Are They Really? Daniel J. Abadi, Samuel Madden and Nabil Hachem SIGMOD 2008 Presented by: Souvik Pal Subhro Bhattacharyya Department of Computer Science Indian

More information

Real-World Performance Training SQL Performance

Real-World Performance Training SQL Performance Real-World Performance Training SQL Performance Real-World Performance Team Agenda 1 2 3 4 5 6 The Optimizer Optimizer Inputs Optimizer Output Advanced Optimizer Behavior Why is my SQL slow? Optimizer

More information

Oracle Database In-Memory By Example

Oracle Database In-Memory By Example Oracle Database In-Memory By Example Andy Rivenes Senior Principal Product Manager DOAG 2015 November 18, 2015 Safe Harbor Statement The following is intended to outline our general product direction.

More information

Using Druid and Apache Hive

Using Druid and Apache Hive 3 Using Druid and Apache Hive Date of Publish: 2018-07-12 http://docs.hortonworks.com Contents Accelerating Hive queries using Druid... 3 How Druid indexes Hive data... 3 Transform Apache Hive Data to

More information

Real-World Performance Training Exadata and Database In-Memory

Real-World Performance Training Exadata and Database In-Memory Real-World Performance Training Exadata and Database In-Memory Real-World Performance Team Agenda 1 2 3 4 5 The DW/BI Death Spiral Parallel Execution Loading Data Exadata and Database In-Memory Dimensional

More information

Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Copyright 2015, Oracle and/or its affiliates. All rights reserved. DB12c on SPARC M7 InMemory PoC for Oracle SPARC M7 Krzysztof Marciniak Radosław Kut CoreTech Competency Center 26/01/2016 Agenda 1 2 3 4 5 Oracle Database 12c In-Memory Option Proof of Concept what is

More information

COLUMN STORE DATABASE SYSTEMS. Prof. Dr. Uta Störl Big Data Technologies: Column Stores - SoSe

COLUMN STORE DATABASE SYSTEMS. Prof. Dr. Uta Störl Big Data Technologies: Column Stores - SoSe COLUMN STORE DATABASE SYSTEMS Prof. Dr. Uta Störl Big Data Technologies: Column Stores - SoSe 2016 1 Telco Data Warehousing Example (Real Life) Michael Stonebraker et al.: One Size Fits All? Part 2: Benchmarking

More information

7. Query Processing and Optimization

7. Query Processing and Optimization 7. Query Processing and Optimization Processing a Query 103 Indexing for Performance Simple (individual) index B + -tree index Matching index scan vs nonmatching index scan Unique index one entry and one

More information

Column-Stores vs. Row-Stores. How Different are they Really? Arul Bharathi

Column-Stores vs. Row-Stores. How Different are they Really? Arul Bharathi Column-Stores vs. Row-Stores How Different are they Really? Arul Bharathi Authors Daniel J.Abadi Samuel R. Madden Nabil Hachem 2 Contents Introduction Row Oriented Execution Column Oriented Execution Column-Store

More information

Exadata Implementation Strategy

Exadata Implementation Strategy Exadata Implementation Strategy BY UMAIR MANSOOB 1 Who Am I Work as Senior Principle Engineer for an Oracle Partner Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist

More information

Column Stores vs. Row Stores How Different Are They Really?

Column Stores vs. Row Stores How Different Are They Really? Column Stores vs. Row Stores How Different Are They Really? Daniel J. Abadi (Yale) Samuel R. Madden (MIT) Nabil Hachem (AvantGarde) Presented By : Kanika Nagpal OUTLINE Introduction Motivation Background

More information

Spark-GPU: An Accelerated In-Memory Data Processing Engine on Clusters

Spark-GPU: An Accelerated In-Memory Data Processing Engine on Clusters 1 Spark-GPU: An Accelerated In-Memory Data Processing Engine on Clusters Yuan Yuan, Meisam Fathi Salmi, Yin Huai, Kaibo Wang, Rubao Lee and Xiaodong Zhang The Ohio State University Paypal Inc. Databricks

More information

Oracle 1Z0-515 Exam Questions & Answers

Oracle 1Z0-515 Exam Questions & Answers Oracle 1Z0-515 Exam Questions & Answers Number: 1Z0-515 Passing Score: 800 Time Limit: 120 min File Version: 38.7 http://www.gratisexam.com/ Oracle 1Z0-515 Exam Questions & Answers Exam Name: Data Warehousing

More information

Oracle Database New Performance Features

Oracle Database New Performance Features Oracle Database 12.1.0.2 New Performance Features DOAG 2014, Nürnberg (DE) Christian Antognini BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA

More information

AUTOMATIC CLUSTERING PRASANNA RAJAPERUMAL I MARCH Snowflake Computing Inc. All Rights Reserved

AUTOMATIC CLUSTERING PRASANNA RAJAPERUMAL I MARCH Snowflake Computing Inc. All Rights Reserved AUTOMATIC CLUSTERING PRASANNA RAJAPERUMAL I MARCH 2019 SNOWFLAKE Our vision Allow our customers to access all their data in one place so they can make actionable decisions anytime, anywhere, with any number

More information

Introduction to column stores

Introduction to column stores Introduction to column stores Justin Swanhart Percona Live, April 2013 INTRODUCTION 2 Introduction 3 Who am I? What do I do? Why am I here? A quick survey 4? How many people have heard the term row store?

More information

Exadata Implementation Strategy

Exadata Implementation Strategy BY UMAIR MANSOOB Who Am I Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist since 2011 Oracle Database Performance Tuning Certified Expert Oracle Business Intelligence

More information

Real-World Performance Training Core Database Performance

Real-World Performance Training Core Database Performance Real-World Performance Training Core Database Performance Real-World Performance Team Agenda 1 2 3 4 5 6 Computer Science Basics Schema Types and Database Design Database Interface DB Deployment and Access

More information

Advanced Oracle SQL Tuning v3.0 by Tanel Poder

Advanced Oracle SQL Tuning v3.0 by Tanel Poder Advanced Oracle SQL Tuning v3.0 by Tanel Poder /seminar Training overview This training session is entirely about making Oracle SQL execution run faster and more efficiently, understanding the root causes

More information

HANA Performance. Efficient Speed and Scale-out for Real-time BI

HANA Performance. Efficient Speed and Scale-out for Real-time BI HANA Performance Efficient Speed and Scale-out for Real-time BI 1 HANA Performance: Efficient Speed and Scale-out for Real-time BI Introduction SAP HANA enables organizations to optimize their business

More information

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant Exadata X3 in action: Measuring Smart Scan efficiency with AWR Franck Pachot Senior Consultant 16 March 2013 1 Exadata X3 in action: Measuring Smart Scan efficiency with AWR Exadata comes with new statistics

More information

Oracle 1Z Oracle Database 11g Release 2- SQL Tuning. Download Full Version :

Oracle 1Z Oracle Database 11g Release 2- SQL Tuning. Download Full Version : Oracle 1Z0-117 Oracle Database 11g Release 2- SQL Tuning Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-117 OracleDatabase Data Warehousing Guide,Star Transformation with a Bitmap

More information

Principles of Data Management. Lecture #9 (Query Processing Overview)

Principles of Data Management. Lecture #9 (Query Processing Overview) Principles of Data Management Lecture #9 (Query Processing Overview) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Notable News v Midterm

More information

Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Copyright 2018, Oracle and/or its affiliates. All rights reserved. Oracle Database In- Memory Implementation Best Practices and Deep Dive [TRN4014] Andy Rivenes Database In-Memory Product Management Oracle Corporation Safe Harbor Statement The following is intended to

More information

Data Warehouse Performance - Selected Techniques and Data Structures

Data Warehouse Performance - Selected Techniques and Data Structures Data Warehouse Performance - Selected Techniques and Data Structures Robert Wrembel Poznań University of Technology, Institute of Computing Science, Poznań, Poland Robert.Wrembel@cs.put.poznan.pl Abstract.

More information

Columnstore and B+ tree. Are Hybrid Physical. Designs Important?

Columnstore and B+ tree. Are Hybrid Physical. Designs Important? Columnstore and B+ tree Are Hybrid Physical Designs Important? 1 B+ tree 2 C O L B+ tree 3 B+ tree & Columnstore on same table = Hybrid design 4? C O L C O L B+ tree B+ tree ? C O L C O L B+ tree B+ tree

More information

Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig?

Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig? Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig? About me Infrastructure at your Service. Clemens Bleile Senior Consultant Oracle Certified Professional DB 11g,

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 19 Query Optimization Introduction Query optimization Conducted by a query optimizer in a DBMS Goal: select best available strategy for executing query Based on information available Most RDBMSs

More information

Benchmark TPC-H 100.

Benchmark TPC-H 100. Benchmark TPC-H 100 vs Benchmark TPC-H Transaction Processing Performance Council (TPC) is a non-profit organization founded in 1988 to define transaction processing and database benchmarks and to disseminate

More information

Column-Stores vs. Row-Stores How Different Are They Really?

Column-Stores vs. Row-Stores How Different Are They Really? Column-Stores vs. Row-Stores How Different Are They Really? Volodymyr Piven Wilhelm-Schickard-Institut für Informatik Eberhard-Karls-Universität Tübingen 2. Januar 2 Volodymyr Piven (Universität Tübingen)

More information

Oracle Database In-Memory Hands-on Lab

Oracle Database In-Memory Hands-on Lab Table of Contents HOL Overview... 3 Setup... 4 Part 1: Monitoring the In-Memory Column Store... 4 Part 2: Querying In-Memory Column Store Tables... 14 Part 3: In-Memory Joins and Aggregation... 33 Page

More information

Oracle Database In-Memory

Oracle Database In-Memory Oracle Database In-Memory A Focus On The Technology Andy Rivenes Database In-Memory Product Management Oracle Corporation Email: andy.rivenes@oracle.com Twitter: @TheInMemoryGuy Blog: blogs.oracle.com/in-memory

More information

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK Top 7 Plan Stability Pitfalls & How to Avoid Them Neil Chandler Chandler Systems Ltd UK Keywords: SQL Optimizer Plan Change Stability Outlines Baselines Plan Directives Introduction When you write some

More information

Building Workload Optimized Solutions for Business Analytics

Building Workload Optimized Solutions for Business Analytics René Müller IBM Research Almaden 23 March 2014 Building Workload Optimized Solutions for Business Analytics René Müller, IBM Research Almaden muellerr@us.ibm.com GPU Hash Joins with Tim Kaldewey, John

More information

Spring 2017 QUERY PROCESSING [JOINS, SET OPERATIONS, AND AGGREGATES] 2/19/17 CS 564: Database Management Systems; (c) Jignesh M.

Spring 2017 QUERY PROCESSING [JOINS, SET OPERATIONS, AND AGGREGATES] 2/19/17 CS 564: Database Management Systems; (c) Jignesh M. Spring 2017 QUERY PROCESSING [JOINS, SET OPERATIONS, AND AGGREGATES] 2/19/17 CS 564: Database Management Systems; (c) Jignesh M. Patel, 2013 1 Joins The focus here is on equijoins These are very common,

More information

Evaluation of Relational Operations: Other Techniques. Chapter 14 Sayyed Nezhadi

Evaluation of Relational Operations: Other Techniques. Chapter 14 Sayyed Nezhadi Evaluation of Relational Operations: Other Techniques Chapter 14 Sayyed Nezhadi Schema for Examples Sailors (sid: integer, sname: string, rating: integer, age: real) Reserves (sid: integer, bid: integer,

More information

The DB2Night Show Episode #89. InfoSphere Warehouse V10 Performance Enhancements

The DB2Night Show Episode #89. InfoSphere Warehouse V10 Performance Enhancements The DB2Night Show Episode #89 InfoSphere Warehouse V10 Performance Enhancements Pat Bates, WW Technical Sales for Big Data and Warehousing, jpbates@us.ibm.com June 27, 2012 June 27, 2012 Multi-Core Parallelism

More information

Triangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017

Triangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017 Triangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017 Joe Sack, Principal Program Manager, Microsoft Joe.Sack@Microsoft.com Adaptability Adapt based on customer

More information

10/29/2013. Program Agenda. The Database Trifecta: Simplified Management, Less Capacity, Better Performance

10/29/2013. Program Agenda. The Database Trifecta: Simplified Management, Less Capacity, Better Performance Program Agenda The Database Trifecta: Simplified Management, Less Capacity, Better Performance Data Growth and Complexity Hybrid Columnar Compression Case Study & Real-World Experiences

More information

Oracle Database In-Memory Hands-on Lab

Oracle Database In-Memory Hands-on Lab Andy Rivenes Database In-Memory Product Manager Systems Technology Group October 2018 Table of Contents HOL Overview... 3 Setup... 4 Part 1: Monitoring the In-Memory Column Store... 5 Part 2: Querying

More information

Query Optimization, part 2: query plans in practice

Query Optimization, part 2: query plans in practice Query Optimization, part 2: query plans in practice CS634 Lecture 13 Slides by E. O Neil based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Working with the Oracle query optimizer First

More information

COLUMN-STORES VS. ROW-STORES: HOW DIFFERENT ARE THEY REALLY? DANIEL J. ABADI (YALE) SAMUEL R. MADDEN (MIT) NABIL HACHEM (AVANTGARDE)

COLUMN-STORES VS. ROW-STORES: HOW DIFFERENT ARE THEY REALLY? DANIEL J. ABADI (YALE) SAMUEL R. MADDEN (MIT) NABIL HACHEM (AVANTGARDE) COLUMN-STORES VS. ROW-STORES: HOW DIFFERENT ARE THEY REALLY? DANIEL J. ABADI (YALE) SAMUEL R. MADDEN (MIT) NABIL HACHEM (AVANTGARDE) PRESENTATION BY PRANAV GOEL Introduction On analytical workloads, Column

More information

Key to A Successful Exadata POC

Key to A Successful Exadata POC BY UMAIR MANSOOB Who Am I Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist since 2011 Oracle Database Performance Tuning Certified Expert Oracle Business Intelligence

More information

Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house

Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house Oracle Exadata Implementation Strategy HHow to Implement Exadata In-house Introduction Oracle Exadata The Oracle Exadata is a database machine, which has now been present since 2008. A number of financial

More information

Scaling To Infinity: Making Star Transformations Sing. Thursday 15-November 2012 Tim Gorman

Scaling To Infinity: Making Star Transformations Sing. Thursday 15-November 2012 Tim Gorman Scaling To Infinity: Making Star Transformations Sing Thursday 15-November 2012 Tim Gorman www.evdbt.com Speaker Qualifications Co-author 1. Oracle8 Data Warehousing, 1998 John Wiley & Sons 2. Essential

More information

Evolving To The Big Data Warehouse

Evolving To The Big Data Warehouse Evolving To The Big Data Warehouse Kevin Lancaster 1 Copyright Director, 2012, Oracle and/or its Engineered affiliates. All rights Insert Systems, Information Protection Policy Oracle Classification from

More information

Introduction to Query Processing and Query Optimization Techniques. Copyright 2011 Ramez Elmasri and Shamkant Navathe

Introduction to Query Processing and Query Optimization Techniques. Copyright 2011 Ramez Elmasri and Shamkant Navathe Introduction to Query Processing and Query Optimization Techniques Outline Translating SQL Queries into Relational Algebra Algorithms for External Sorting Algorithms for SELECT and JOIN Operations Algorithms

More information

Programming GPUs for database operations

Programming GPUs for database operations Tim Kaldewey Oct 7 2013 Programming GPUs for database operations Tim Kaldewey Research Staff Member IBM TJ Watson Research Center tkaldew@us.ibm.com Disclaimer The author's views expressed in this presentation

More information

Interpreting Explain Plan Output. John Mullins

Interpreting Explain Plan Output. John Mullins Interpreting Explain Plan Output John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience

More information

Improving IBM Red Brick Warehouse Query Performance

Improving IBM Red Brick Warehouse Query Performance Improving IBM Red Brick Warehouse Query Performance Aman Sinha, Richard Taylor, Mandar Pimpale, David Wilhite, Cindy Fung European Red Brick Users Group Conference 2003 Milano, Italy September 9 September

More information

Evaluation of Relational Operations

Evaluation of Relational Operations Evaluation of Relational Operations Chapter 14 Comp 521 Files and Databases Fall 2010 1 Relational Operations We will consider in more detail how to implement: Selection ( ) Selects a subset of rows from

More information

Accelerating BI on Hadoop: Full-Scan, Cubes or Indexes?

Accelerating BI on Hadoop: Full-Scan, Cubes or Indexes? White Paper Accelerating BI on Hadoop: Full-Scan, Cubes or Indexes? How to Accelerate BI on Hadoop: Cubes or Indexes? Why not both? 1 +1(844)384-3844 INFO@JETHRO.IO Overview Organizations are storing more

More information

Physical Design. Elena Baralis, Silvia Chiusano Politecnico di Torino. Phases of database design D B M G. Database Management Systems. Pag.

Physical Design. Elena Baralis, Silvia Chiusano Politecnico di Torino. Phases of database design D B M G. Database Management Systems. Pag. Physical Design D B M G 1 Phases of database design Application requirements Conceptual design Conceptual schema Logical design ER or UML Relational tables Logical schema Physical design Physical schema

More information

Column Store Internals

Column Store Internals Column Store Internals Sebastian Meine SQL Stylist with sqlity.net sebastian@sqlity.net Outline Outline Column Store Storage Aggregates Batch Processing History 1 History First mention of idea to cluster

More information

Big Spatial Data Performance With Oracle Database 12c. Daniel Geringer Spatial Solutions Architect

Big Spatial Data Performance With Oracle Database 12c. Daniel Geringer Spatial Solutions Architect Big Spatial Data Performance With Oracle Database 12c Daniel Geringer Spatial Solutions Architect Oracle Exadata Database Machine Engineered System 2 What Is the Oracle Exadata Database Machine? Oracle

More information

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #10: Query Processing

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #10: Query Processing CS 4604: Introduction to Database Management Systems B. Aditya Prakash Lecture #10: Query Processing Outline introduction selection projection join set & aggregate operations Prakash 2018 VT CS 4604 2

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Database Systems: Fall 2015 Quiz I

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Database Systems: Fall 2015 Quiz I Department of Electrical Engineering and Computer Science MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.830 Database Systems: Fall 2015 Quiz I There are 12 questions and 13 pages in this quiz booklet. To receive

More information

Logical Design A logical design is conceptual and abstract. It is not necessary to deal with the physical implementation details at this stage.

Logical Design A logical design is conceptual and abstract. It is not necessary to deal with the physical implementation details at this stage. Logical Design A logical design is conceptual and abstract. It is not necessary to deal with the physical implementation details at this stage. You need to only define the types of information specified

More information

Oracle In-Memory & Data Warehouse: The Perfect Combination?

Oracle In-Memory & Data Warehouse: The Perfect Combination? : The Perfect Combination? UKOUG Tech17, 6 December 2017 Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Column-Stores vs. Row-Stores: How Different Are They Really?

Column-Stores vs. Row-Stores: How Different Are They Really? Column-Stores vs. Row-Stores: How Different Are They Really? Daniel Abadi, Samuel Madden, Nabil Hachem Presented by Guozhang Wang November 18 th, 2008 Several slides are from Daniel Abadi and Michael Stonebraker

More information

<Insert Picture Here> Controlling resources in an Exadata environment

<Insert Picture Here> Controlling resources in an Exadata environment Controlling resources in an Exadata environment Agenda Smart IO IO Resource Manager Compression Hands-on time Exadata Security Flash Cache Storage Indexes Parallel Execution Agenda

More information

Boosting DWH Performance with SQL Server ColumnStore Index

Boosting DWH Performance with SQL Server ColumnStore Index Boosting DWH Performance with SQL Server 2016 ColumnStore Index Thank you to our AWESOME sponsors! Introduction Markus Ehrenmüller-Jensen Business Intelligence Architect markus.ehrenmueller@gmail.com @MEhrenmueller

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Database Systems: Fall 2008 Quiz II

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Database Systems: Fall 2008 Quiz II Department of Electrical Engineering and Computer Science MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.830 Database Systems: Fall 2008 Quiz II There are 14 questions and 11 pages in this quiz booklet. To receive

More information

Query optimization. Elena Baralis, Silvia Chiusano Politecnico di Torino. DBMS Architecture D B M G. Database Management Systems. Pag.

Query optimization. Elena Baralis, Silvia Chiusano Politecnico di Torino. DBMS Architecture D B M G. Database Management Systems. Pag. Database Management Systems DBMS Architecture SQL INSTRUCTION OPTIMIZER MANAGEMENT OF ACCESS METHODS CONCURRENCY CONTROL BUFFER MANAGER RELIABILITY MANAGEMENT Index Files Data Files System Catalog DATABASE

More information

6.830 Problem Set 2 (2017)

6.830 Problem Set 2 (2017) 6.830 Problem Set 2 1 Assigned: Monday, Sep 25, 2017 6.830 Problem Set 2 (2017) Due: Monday, Oct 16, 2017, 11:59 PM Submit to Gradescope: https://gradescope.com/courses/10498 The purpose of this problem

More information

Multi-Vendor, Un-integrated

Multi-Vendor, Un-integrated ETL Tool OLAP Engine Analytic Apps Lineag e ETLTool Transformation Engine Transformation Engine Name/Address Scrubbing Database Mining Engine Reporting Engine Query & Analysis Enterprise Reporting P o

More information

Variations of the Star Schema Benchmark to Test the Effects of Data Skew on Query Performance

Variations of the Star Schema Benchmark to Test the Effects of Data Skew on Query Performance Variations of the Star Schema Benchmark to Test the Effects of Data Skew on Query Performance Tilmann Rabl Middleware Systems Reseach Group University of Toronto Ontario, Canada tilmann@msrg.utoronto.ca

More information

Clydesdale: Structured Data Processing on MapReduce

Clydesdale: Structured Data Processing on MapReduce Clydesdale: Structured Data Processing on MapReduce Tim Kaldewey, Eugene J. Shekita, Sandeep Tata IBM Almaden Research Center Google tkaldew@us.ibm.com, shekita@google.com, stata@us.ibm.com ABSTRACT MapReduce

More information

Faloutsos 1. Carnegie Mellon Univ. Dept. of Computer Science Database Applications. Outline

Faloutsos 1. Carnegie Mellon Univ. Dept. of Computer Science Database Applications. Outline Carnegie Mellon Univ. Dept. of Computer Science 15-415 - Database Applications Lecture #14: Implementation of Relational Operations (R&G ch. 12 and 14) 15-415 Faloutsos 1 introduction selection projection

More information

Answer: Reduce the amount of work Oracle needs to do to return the desired result.

Answer: Reduce the amount of work Oracle needs to do to return the desired result. SQL Tuning 101 excerpt: Explain Plan A Logical Approach By mruckdaschel@affiniongroup.com Michael Ruckdaschel Affinion Group International My Qualifications Software Developer for Affinion Group International

More information

Overview of Query Processing. Evaluation of Relational Operations. Why Sort? Outline. Two-Way External Merge Sort. 2-Way Sort: Requires 3 Buffer Pages

Overview of Query Processing. Evaluation of Relational Operations. Why Sort? Outline. Two-Way External Merge Sort. 2-Way Sort: Requires 3 Buffer Pages Overview of Query Processing Query Parser Query Processor Evaluation of Relational Operations Query Rewriter Query Optimizer Query Executor Yanlei Diao UMass Amherst Lock Manager Access Methods (Buffer

More information

Parser. Select R.text from Report R, Weather W where W.image.rain() and W.city = R.city and W.date = R.date and R.text.

Parser. Select R.text from Report R, Weather W where W.image.rain() and W.city = R.city and W.date = R.date and R.text. Select R.text from Report R, Weather W where W.image.rain() and W.city = R.city and W.date = R.date and R.text. Lifecycle of a Query CSE 190D Database System Implementation Arun Kumar Query Query Result

More information

On-Disk Bitmap Index Performance in Bizgres 0.9

On-Disk Bitmap Index Performance in Bizgres 0.9 On-Disk Bitmap Index Performance in Bizgres 0.9 A Greenplum Whitepaper April 2, 2006 Author: Ayush Parashar Performance Engineering Lab Table of Contents 1.0 Summary...1 2.0 Introduction...1 3.0 Performance

More information

Announcement. Reading Material. Overview of Query Evaluation. Overview of Query Evaluation. Overview of Query Evaluation 9/26/17

Announcement. Reading Material. Overview of Query Evaluation. Overview of Query Evaluation. Overview of Query Evaluation 9/26/17 Announcement CompSci 516 Database Systems Lecture 10 Query Evaluation and Join Algorithms Project proposal pdf due on sakai by 5 pm, tomorrow, Thursday 09/27 One per group by any member Instructor: Sudeepa

More information

Was ist dran an einer spezialisierten Data Warehousing platform?

Was ist dran an einer spezialisierten Data Warehousing platform? Was ist dran an einer spezialisierten Data Warehousing platform? Hermann Bär Oracle USA Redwood Shores, CA Schlüsselworte Data warehousing, Exadata, specialized hardware proprietary hardware Introduction

More information

Oracle Database 11g: SQL Tuning Workshop

Oracle Database 11g: SQL Tuning Workshop Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release

More information

Looking Ahead Makes Query Plans Robust

Looking Ahead Makes Query Plans Robust Looking Ahead Makes Query Plans Robust Making the Initial Case with In-Memory Star Schema Data Warehouse Workloads Jianqiao Zhu Navneet Potti Saket Saurabh Jignesh M. Patel Computer Sciences Department

More information

Relational Query Optimization. Overview of Query Evaluation. SQL Refresher. Yanlei Diao UMass Amherst October 23 & 25, 2007

Relational Query Optimization. Overview of Query Evaluation. SQL Refresher. Yanlei Diao UMass Amherst October 23 & 25, 2007 Relational Query Optimization Yanlei Diao UMass Amherst October 23 & 25, 2007 Slide Content Courtesy of R. Ramakrishnan, J. Gehrke, and J. Hellerstein 1 Overview of Query Evaluation Query Evaluation Plan:

More information

Evolution of Database Systems

Evolution of Database Systems Evolution of Database Systems Krzysztof Dembczyński Intelligent Decision Support Systems Laboratory (IDSS) Poznań University of Technology, Poland Intelligent Decision Support Systems Master studies, second

More information

Understanding Interleaved Sort Keys in Amazon Redshift

Understanding Interleaved Sort Keys in Amazon Redshift Understanding Interleaved Sort Keys in Amazon Redshift Introduction Recently, Amazon announced interleaved sort keys for Amazon Redshift. Until now, compound sort keys were the only option and, while

More information

Oracle Autonomous Database

Oracle Autonomous Database Oracle Autonomous Database Maria Colgan Master Product Manager Oracle Database Development August 2018 @SQLMaria #thinkautonomous Safe Harbor Statement The following is intended to outline our general

More information

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: 20762C Developing SQL 2016 Databases Module 1: An Introduction to Database Development Introduction to the

More information

Database In-Memory Workshop

Database In-Memory Workshop Database In-Memory Workshop Student Workshop Lab Guide Creation Date [September 2014] Last Modified Date - 11/10/2014 Comments? Questions? Stay Connected! osc_us@oracle.com #osc_us OracleSolutionCenter

More information

Oracle Database 11gR2 Optimizer Insights

Oracle Database 11gR2 Optimizer Insights Oracle Database 11gR2 Optimizer Insights Marcus Bender Distinguished Sales Consultant Presales Fellow Strategic Technical Support (STU) ORACLE Deutschland GmbH, Geschäftsstelle Hamburg Parallel Execution

More information

Algorithms for Query Processing and Optimization. 0. Introduction to Query Processing (1)

Algorithms for Query Processing and Optimization. 0. Introduction to Query Processing (1) Chapter 19 Algorithms for Query Processing and Optimization 0. Introduction to Query Processing (1) Query optimization: The process of choosing a suitable execution strategy for processing a query. Two

More information

Insider s Guide on Using ADO with Database In-Memory & Storage-Based Tiering. Andy Rivenes Gregg Christman Oracle Product Management 16 November 2016

Insider s Guide on Using ADO with Database In-Memory & Storage-Based Tiering. Andy Rivenes Gregg Christman Oracle Product Management 16 November 2016 Insider s Guide on Using ADO with Database In-Memory & Storage-Based Tiering Andy Rivenes Gregg Christman Oracle Product Management 16 November 2016 Safe Harbor Statement The following is intended to outline

More information

Data Modeling and Databases Ch 10: Query Processing - Algorithms. Gustavo Alonso Systems Group Department of Computer Science ETH Zürich

Data Modeling and Databases Ch 10: Query Processing - Algorithms. Gustavo Alonso Systems Group Department of Computer Science ETH Zürich Data Modeling and Databases Ch 10: Query Processing - Algorithms Gustavo Alonso Systems Group Department of Computer Science ETH Zürich Transactions (Locking, Logging) Metadata Mgmt (Schema, Stats) Application

More information

Self Test Solutions. Introduction. New Requirements for Enterprise Computing. 1. Rely on Disks Does an in-memory database still rely on disks?

Self Test Solutions. Introduction. New Requirements for Enterprise Computing. 1. Rely on Disks Does an in-memory database still rely on disks? Self Test Solutions Introduction 1. Rely on Disks Does an in-memory database still rely on disks? (a) Yes, because disk is faster than main memory when doing complex calculations (b) No, data is kept in

More information

Outline. Database Management and Tuning. Outline. Join Strategies Running Example. Index Tuning. Johann Gamper. Unit 6 April 12, 2012

Outline. Database Management and Tuning. Outline. Join Strategies Running Example. Index Tuning. Johann Gamper. Unit 6 April 12, 2012 Outline Database Management and Tuning Johann Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE Unit 6 April 12, 2012 1 Acknowledgements: The slides are provided by Nikolaus Augsten

More information

Data Modeling and Databases Ch 9: Query Processing - Algorithms. Gustavo Alonso Systems Group Department of Computer Science ETH Zürich

Data Modeling and Databases Ch 9: Query Processing - Algorithms. Gustavo Alonso Systems Group Department of Computer Science ETH Zürich Data Modeling and Databases Ch 9: Query Processing - Algorithms Gustavo Alonso Systems Group Department of Computer Science ETH Zürich Transactions (Locking, Logging) Metadata Mgmt (Schema, Stats) Application

More information

Syllabus. Syllabus. Motivation Decision Support. Syllabus

Syllabus. Syllabus. Motivation Decision Support. Syllabus Presentation: Sophia Discussion: Tianyu Metadata Requirements and Conclusion 3 4 Decision Support Decision Making: Everyday, Everywhere Decision Support System: a class of computerized information systems

More information

La Fragmentation Horizontale Revisitée: Prise en Compte de l Interaction de Requêtes

La Fragmentation Horizontale Revisitée: Prise en Compte de l Interaction de Requêtes National Engineering School of Mechanic & Aerotechnics 1, avenue Clément Ader - BP 40109-86961 Futuroscope cedex France La Fragmentation Horizontale Revisitée: Prise en Compte de l Interaction de Requêtes

More information

Implementation of Relational Operations. Introduction. CS 186, Fall 2002, Lecture 19 R&G - Chapter 12

Implementation of Relational Operations. Introduction. CS 186, Fall 2002, Lecture 19 R&G - Chapter 12 Implementation of Relational Operations CS 186, Fall 2002, Lecture 19 R&G - Chapter 12 First comes thought; then organization of that thought, into ideas and plans; then transformation of those plans into

More information

Why You Should Run TPC-DS: A Workload Analysis

Why You Should Run TPC-DS: A Workload Analysis Why You Should Run TPC-DS: A Workload Analysis Meikel Poess Oracle USA Raghunath Othayoth Nambiar Hewlett-Packard Company Dave Walrath Sybase Inc (in absentia) Agenda Transaction Processing Performance

More information

An Overview of Data Warehousing and OLAP Technology

An Overview of Data Warehousing and OLAP Technology An Overview of Data Warehousing and OLAP Technology CMPT 843 Karanjit Singh Tiwana 1 Intro and Architecture 2 What is Data Warehouse? Subject-oriented, integrated, time varying, non-volatile collection

More information