An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

Size: px
Start display at page:

Download "An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database"

Transcription

1 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database Stephan Müller, Hasso Plattner Enterprise Platform and Integration Concepts Hasso Plattner Institute, Potsdam (Germany) DOLAP 0 November nd

2 Agenda Data aggregation Aggregations in Hyrise Cost factors and benchmarks Summary and future work DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

3 Motivation Aggregation Abstractions for conceptualizing the real world Resource-intensive operation in OLAP workloads Columnar in-memory databases Optimized for set processing Enables reunification of OLTP and OLAP [] [] H. Plattner. A common database approach for OLTP and OLAP using an in-memory column database. In SIGMOD, 009. DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

4 Data Aggregation SELECT product, SUM (amount) AS revenue FROM sales WHERE year=0 GROUP BY product Two phases Grouping (hash-based, sorting, nested loops) Calculation DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

5 Data Aggregation in Hyrise Columnar Storage Dictionary compression id fruit amount id fruit amount 6 7 apples bananas cherries apples cherries melons bananas "fruit" dictionary apples bananas cherries grapes melons 8 grapes 0 8 DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

6 Data Aggregation Grouping table id fruit amount position on "fruit" 0,, 6, dictionary apples bananas cherries grapes melons 8 DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

7 Data Aggregation - Calculation id table fruit amount "amount" dictionary position on "fruit" 0,, 6, fruit apples bananas cherries grapes melons sum(amount) DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

8 Cost Modeling in IMDBs Cost model based on cache misses [] Basic patterns for each cache level Combine patterns to model complex operations [] Manegold, S. et al. 00. Generic database cost models for hierarchical memory systems. VLDB. (00). DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

9 Cost Modeling of the Aggregation DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

10 Cost Factors Data-dependent Dataset size Distinct grouping values Distinct grouping values distribution Sorting of grouping values Data-independent Aggregation function Hash implementation DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

11 Hash Implementations Ordering Sorted tree (std::map) Unsorted hash table (std::unordered_map) Pre-allocation strategies Naïve implementation (automatic growth) Distinct value setup (scaffold of hash map) Histogram-based setup (scaffold and position list) DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

12 Data Set Size Number of bytes processed during query Input table data Intermediate result data Final result data Influencing factors Relation size Relational expression Grouping attributes Aggregation attributes Aggregation functions DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

13 Distinct Values L Cache Misses DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

14 Distinct Values CPU Cycles DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

15 Distinct Values Distribution Number of cache misses 0e+00 e+06 e+06 6e+06 8e+06 Uniform L cache misses Exponential L cache misses Uniform L cache misses Exponential L cache misses Number of distinct values DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

16 Impact of Sorted Attributes L Misses DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

17 Hash Implementations L Misses DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

18 Hash Implementations CPU Cycles DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

19 Summary High impact of aggregation operation in a mixed OLTP and OLAP workload Data characteristics influence aggregation performance Hash implementation choice matters Pre-allocation can reduce cache misses Future work Multithreaded aggregations Extension of existing cost models DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

20 0 Thank you! DOLAP 0 An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

In-Memory Data Management

In-Memory Data Management In-Memory Data Management Martin Faust Research Assistant Research Group of Prof. Hasso Plattner Hasso Plattner Institute for Software Engineering University of Potsdam Agenda 2 1. Changed Hardware 2.

More information

HYRISE In-Memory Storage Engine

HYRISE In-Memory Storage Engine HYRISE In-Memory Storage Engine Martin Grund 1, Jens Krueger 1, Philippe Cudre-Mauroux 3, Samuel Madden 2 Alexander Zeier 1, Hasso Plattner 1 1 Hasso-Plattner-Institute, Germany 2 MIT CSAIL, USA 3 University

More information

Column-Oriented Database Systems. Liliya Rudko University of Helsinki

Column-Oriented Database Systems. Liliya Rudko University of Helsinki Column-Oriented Database Systems Liliya Rudko University of Helsinki 2 Contents 1. Introduction 2. Storage engines 2.1 Evolutionary Column-Oriented Storage (ECOS) 2.2 HYRISE 3. Database management systems

More information

Hyrise - a Main Memory Hybrid Storage Engine

Hyrise - a Main Memory Hybrid Storage Engine Hyrise - a Main Memory Hybrid Storage Engine Philippe Cudré-Mauroux exascale Infolab U. of Fribourg - Switzerland & MIT joint work w/ Martin Grund, Jens Krueger, Hasso Plattner, Alexander Zeier (HPI) and

More information

In-Memory Data Management for Enterprise Applications. BigSys 2014, Stuttgart, September 2014 Johannes Wust Hasso Plattner Institute (now with SAP)

In-Memory Data Management for Enterprise Applications. BigSys 2014, Stuttgart, September 2014 Johannes Wust Hasso Plattner Institute (now with SAP) In-Memory Data Management for Enterprise Applications BigSys 2014, Stuttgart, September 2014 Johannes Wust Hasso Plattner Institute (now with SAP) What is an In-Memory Database? 2 Source: Hector Garcia-Molina

More information

Data Structures for Mixed Workloads in In-Memory Databases

Data Structures for Mixed Workloads in In-Memory Databases Data Structures for Mixed Workloads in In-Memory Databases Jens Krueger, Martin Grund, Martin Boissier, Alexander Zeier, Hasso Plattner Hasso Plattner Institute for IT Systems Engineering University of

More information

Data Blocks: Hybrid OLTP and OLAP on compressed storage

Data Blocks: Hybrid OLTP and OLAP on compressed storage Data Blocks: Hybrid OLTP and OLAP on compressed storage Ben Brümmer Technische Universität München Fürstenfeldbruck, 26. November 208 Ben Brümmer 26..8 Lehrstuhl für Datenbanksysteme Problem HDD/Archive/Tape-Storage

More information

Generic Business Simulation Using an In-Memory Column Store

Generic Business Simulation Using an In-Memory Column Store Generic Business Simulation Using an InMemory Column Store Lars Butzmann 1, Stefan Klauck 1, Stephan Müller 1, Matthias Uflacker 1, Werner Sinzig 2, and Hasso Plattner 1 1 Hasso Plattner Institute, University

More information

In-Memory Data Structures and Databases Jens Krueger

In-Memory Data Structures and Databases Jens Krueger In-Memory Data Structures and Databases Jens Krueger Enterprise Platform and Integration Concepts Hasso Plattner Intitute What to take home from this talk? 2 Answer to the following questions: What makes

More information

Fast Column Scans: Paged Indices for In-Memory Column Stores

Fast Column Scans: Paged Indices for In-Memory Column Stores Fast Column Scans: Paged Indices for In-Memory Column Stores Martin Faust (B), David Schwalb, and Jens Krueger Hasso Plattner Institute, University of Potsdam, Prof.-Dr.-Helmert-Str. 2-3, 14482 Potsdam,

More information

Beyond Relational Databases: MongoDB, Redis & ClickHouse. Marcos Albe - Principal Support Percona

Beyond Relational Databases: MongoDB, Redis & ClickHouse. Marcos Albe - Principal Support Percona Beyond Relational Databases: MongoDB, Redis & ClickHouse Marcos Albe - Principal Support Engineer @ Percona Introduction MySQL everyone? Introduction Redis? OLAP -vs- OLTP Image credits: 451 Research (https://451research.com/state-of-the-database-landscape)

More information

Data Structures for Mixed Workloads in In-Memory Databases

Data Structures for Mixed Workloads in In-Memory Databases Data Structures for Mixed Workloads in In-Memory Databases Jens Krueger, Martin Grund, Martin Boissier, Alexander Zeier, Hasso Plattner Hasso Plattner Institute for IT Systems Engineering University of

More information

MemTest: A Novel Benchmark for In-memory Database

MemTest: A Novel Benchmark for In-memory Database MemTest: A Novel Benchmark for In-memory Database Qiangqiang Kang, Cheqing Jin, Zhao Zhang, Aoying Zhou Institute for Data Science and Engineering, East China Normal University, Shanghai, China 1 Outline

More information

Cache Management for Aggregates in Columnar In-Memory Databases

Cache Management for Aggregates in Columnar In-Memory Databases Cache Management for Aggregates in Columnar In-Memory Databases Stephan Müller, Ralf Diestelkämper, Hasso Plattner Hasso Plattner Institute University of Potsdam Potsdam, Germany Email: {stephan.mueller,

More information

In-Memory Columnar Databases - Hyper (November 2012)

In-Memory Columnar Databases - Hyper (November 2012) 1 In-Memory Columnar Databases - Hyper (November 2012) Arto Kärki, University of Helsinki, Helsinki, Finland, arto.karki@tieto.com Abstract Relational database systems are today the most common database

More information

A Comparison of Memory Usage and CPU Utilization in Column-Based Database Architecture vs. Row-Based Database Architecture

A Comparison of Memory Usage and CPU Utilization in Column-Based Database Architecture vs. Row-Based Database Architecture A Comparison of Memory Usage and CPU Utilization in Column-Based Database Architecture vs. Row-Based Database Architecture By Gaurav Sheoran 9-Dec-08 Abstract Most of the current enterprise data-warehouses

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

Composite Group-Keys

Composite Group-Keys Composite Group-Keys Space-efficient Indexing of Multiple Columns for Compressed In-Memory Column Stores Martin Faust, David Schwalb, and Hasso Plattner Hasso Plattner Institute for IT Systems Engineering

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

In-Memory Data Management Jens Krueger

In-Memory Data Management Jens Krueger In-Memory Data Management Jens Krueger Enterprise Platform and Integration Concepts Hasso Plattner Intitute OLTP vs. OLAP 2 Online Transaction Processing (OLTP) Organized in rows Online Analytical Processing

More information

Track Join. Distributed Joins with Minimal Network Traffic. Orestis Polychroniou! Rajkumar Sen! Kenneth A. Ross

Track Join. Distributed Joins with Minimal Network Traffic. Orestis Polychroniou! Rajkumar Sen! Kenneth A. Ross Track Join Distributed Joins with Minimal Network Traffic Orestis Polychroniou Rajkumar Sen Kenneth A. Ross Local Joins Algorithms Hash Join Sort Merge Join Index Join Nested Loop Join Spilling to disk

More information

Technical Deep-Dive in a Column-Oriented In-Memory Database

Technical Deep-Dive in a Column-Oriented In-Memory Database Technical Deep-Dive in a Column-Oriented In-Memory Database Carsten Meyer, Martin Lorenz carsten.meyer@hpi.de, martin.lorenz@hpi.de Research Group of Prof. Hasso Plattner Hasso Plattner Institute for Software

More information

I am: Rana Faisal Munir

I am: Rana Faisal Munir Self-tuning BI Systems Home University (UPC): Alberto Abelló and Oscar Romero Host University (TUD): Maik Thiele and Wolfgang Lehner I am: Rana Faisal Munir Research Progress Report (RPR) [1 / 44] Introduction

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

DAC: Database Application Context Analysis applied to Enterprise Applications

DAC: Database Application Context Analysis applied to Enterprise Applications Proceedings of the Thirty-Seventh Australasian Computer Science Conference (ACSC 2014), Auckland, New Zealand DAC: Database Application Context Analysis applied to Enterprise Applications Johannes Wust

More information

SAP IQ - Business Intelligence and vertical data processing with 8 GB RAM or less

SAP IQ - Business Intelligence and vertical data processing with 8 GB RAM or less SAP IQ - Business Intelligence and vertical data processing with 8 GB RAM or less Dipl.- Inform. Volker Stöffler Volker.Stoeffler@DB-TecKnowledgy.info Public Agenda Introduction: What is SAP IQ - in a

More information

Differentially Private H-Tree

Differentially Private H-Tree GeoPrivacy: 2 nd Workshop on Privacy in Geographic Information Collection and Analysis Differentially Private H-Tree Hien To, Liyue Fan, Cyrus Shahabi Integrated Media System Center University of Southern

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

Access Path Selection in Main-Memory Optimized Data Systems

Access Path Selection in Main-Memory Optimized Data Systems Access Path Selection in Main-Memory Optimized Data Systems Should I Scan or Should I Probe? Manos Athanassoulis Harvard University Talk at CS265, February 16 th, 2018 1 Access Path Selection SELECT x

More information

Main Memory Databases for Enterprise Applications

Main Memory Databases for Enterprise Applications Main Memory Databases for Enterprise Applications Jens Krueger, Florian Huebner, Johannes Wust, Martin Boissier, Alexander Zeier, Hasso Plattner Hasso Plattner Institute for IT Systems Engineering University

More information

Automating Information Lifecycle Management with

Automating Information Lifecycle Management with Automating Information Lifecycle Management with Oracle Database 2c The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Oracle Database In-Memory

Oracle Database In-Memory Oracle Database In-Memory Mark Weber Principal Sales Consultant November 12, 2014 Row Format Databases vs. Column Format Databases Row SALES Transactions run faster on row format Example: Insert or query

More information

Performance in the Multicore Era

Performance in the Multicore Era Performance in the Multicore Era Gustavo Alonso Systems Group -- ETH Zurich, Switzerland Systems Group Enterprise Computing Center Performance in the multicore era 2 BACKGROUND - SWISSBOX SwissBox: An

More information

In-Memory Technology in Life Sciences

In-Memory Technology in Life Sciences in Life Sciences Dr. Matthieu-P. Schapranow In-Memory Database Applications in Healthcare 2016 Apr Intelligent Healthcare Networks in the 21 st Century? Hospital Research Center Laboratory Researcher Clinician

More information

Oracle Database 12c Performance Management and Tuning

Oracle Database 12c Performance Management and Tuning Course Code: OC12CPMT Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 12c Performance Management and Tuning Overview In the Oracle Database 12c: Performance Management and Tuning course,

More information

Efficient Computation of Data Cubes. Network Database Lab

Efficient Computation of Data Cubes. Network Database Lab Efficient Computation of Data Cubes Network Database Lab Outlines Introduction Some CUBE Algorithms ArrayCube PartitionedCube and MemoryCube Bottom-Up Cube (BUC) Conclusions References Network Database

More information

SAP HANA for Next-Generation Business Applications and Real-Time Analytics

SAP HANA for Next-Generation Business Applications and Real-Time Analytics SAP HANA SAP HANA for Next-Generation Business Applications and Real-Time Analytics Explore and Analyze Vast Quantities of Data from Virtually Any Source at the Speed of Thought SAP HANA for Next-Generation

More information

Greenplum Architecture Class Outline

Greenplum Architecture Class Outline Greenplum Architecture Class Outline Introduction to the Greenplum Architecture What is Parallel Processing? The Basics of a Single Computer Data in Memory is Fast as Lightning Parallel Processing Of Data

More information

OLAP Introduction and Overview

OLAP Introduction and Overview 1 CHAPTER 1 OLAP Introduction and Overview What Is OLAP? 1 Data Storage and Access 1 Benefits of OLAP 2 What Is a Cube? 2 Understanding the Cube Structure 3 What Is SAS OLAP Server? 3 About Cube Metadata

More information

Hash Joins for Multi-core CPUs. Benjamin Wagner

Hash Joins for Multi-core CPUs. Benjamin Wagner Hash Joins for Multi-core CPUs Benjamin Wagner Joins fundamental operator in query processing variety of different algorithms many papers publishing different results main question: is tuning to modern

More information

1) Partitioned Bitvector

1) Partitioned Bitvector Topics 1) Partitioned Bitvector 2 Delta Dictionary U J D bravo charlie golf young 1 1 11 Delta Partition (Compressed) 1 1 1 11 bravo charlie golf charlie young 1 1 1 11 1 1 2) Vertical Bitvector 3 a) 3

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

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY [Agrawal, 2(4): April, 2013] ISSN: 2277-9655 IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY An Horizontal Aggregation Approach for Preparation of Data Sets in Data Mining Mayur

More information

A Composite Benchmark for Online Transaction Processing and Operational Reporting

A Composite Benchmark for Online Transaction Processing and Operational Reporting A Composite Benchmark for Online Transaction Processing and Operational Reporting Anja Bog, Jens Krüger, Jan Schaffner Hasso Plattner Institute, University of Potsdam August-Bebel-Str 88, 14482 Potsdam,

More information

Recent Innovations in Data Storage Technologies Dr Roger MacNicol Software Architect

Recent Innovations in Data Storage Technologies Dr Roger MacNicol Software Architect Recent Innovations in Data Storage Technologies Dr Roger MacNicol Software Architect Copyright 2017, Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement The following is intended to

More information

Questions about the contents of the final section of the course of Advanced Databases. Version 0.3 of 28/05/2018.

Questions about the contents of the final section of the course of Advanced Databases. Version 0.3 of 28/05/2018. Questions about the contents of the final section of the course of Advanced Databases. Version 0.3 of 28/05/2018. 12 Decision support systems How would you define a Decision Support System? What do OLTP

More information

Data Warehouse Tuning. Without SQL Modification

Data Warehouse Tuning. Without SQL Modification Data Warehouse Tuning Without SQL Modification Agenda About Me Tuning Objectives Data Access Profile Data Access Analysis Performance Baseline Potential Model Changes Model Change Testing Testing Results

More information

Examples of Physical Query Plan Alternatives. Selected Material from Chapters 12, 14 and 15

Examples of Physical Query Plan Alternatives. Selected Material from Chapters 12, 14 and 15 Examples of Physical Query Plan Alternatives Selected Material from Chapters 12, 14 and 15 1 Query Optimization NOTE: SQL provides many ways to express a query. HENCE: System has many options for evaluating

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

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

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

Workload-Driven Horizontal Partitioning and Pruning for Large HTAP Systems

Workload-Driven Horizontal Partitioning and Pruning for Large HTAP Systems Workload-Driven Horizontal and Pruning for Large HTAP Systems Martin Boissier Hasso Plattner Institute University of Potsdam, Germany martin.boissier@hpi.de Daniel Kurzynski 1 SAP SE Potsdam, Germany daniel.kurzynski@sap.com

More information

Jignesh M. Patel. Blog:

Jignesh M. Patel. Blog: Jignesh M. Patel Blog: http://bigfastdata.blogspot.com Go back to the design Query Cache from Processing for Conscious 98s Modern (at Algorithms Hardware least for Hash Joins) 995 24 2 Processor Processor

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

OLAP Theory-English version On-Line Analytical processing (Buisness Intzlligence)

OLAP Theory-English version On-Line Analytical processing (Buisness Intzlligence) OLAP Theory-English version On-Line Analytical processing (Buisness Intzlligence) [Ing.Skorkovský,CSc] KPH_ESF_MU Agenda The Market Why OLAP Introduction to OLAP OLAP Terms and Concepts Summary OLAP market

More information

Self Test Solutions. Introduction. New Requirements for Enterprise Computing

Self Test Solutions. Introduction. New Requirements for Enterprise Computing 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

My grandfather was an Arctic explorer,

My grandfather was an Arctic explorer, Explore the possibilities A Teradata Certified Master answers readers technical questions. Carrie Ballinger Senior database analyst Teradata Certified Master My grandfather was an Arctic explorer, and

More information

Big and Fast. Anti-Caching in OLTP Systems. Justin DeBrabant

Big and Fast. Anti-Caching in OLTP Systems. Justin DeBrabant Big and Fast Anti-Caching in OLTP Systems Justin DeBrabant Online Transaction Processing transaction-oriented small footprint write-intensive 2 A bit of history 3 OLTP Through the Years relational model

More information

Reading Sample. Introduction to SAP BW on SAP HANA SAP HANA Architecture. Contents. Index. The Authors. Implementing SAP BW on SAP HANA

Reading Sample. Introduction to SAP BW on SAP HANA SAP HANA Architecture. Contents. Index. The Authors. Implementing SAP BW on SAP HANA First-hand knowledge. Reading Sample Before diving into the SAP BW on SAP HANA migration process, it s important to understand the type of architecture that SAP HANA brings to the table. Here is an overview

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

A high performance database kernel for query-intensive applications. Peter Boncz

A high performance database kernel for query-intensive applications. Peter Boncz MonetDB: A high performance database kernel for query-intensive applications Peter Boncz CWI Amsterdam The Netherlands boncz@cwi.nl Contents The Architecture of MonetDB The MIL language with examples Where

More information

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

1 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 Engineered Systems - Exadata Juan Loaiza Senior Vice President Systems Technology October 4, 2012 2 Safe Harbor Statement "Safe Harbor Statement: Statements in this presentation relating to Oracle's

More information

HyPer-sonic Combined Transaction AND Query Processing

HyPer-sonic Combined Transaction AND Query Processing HyPer-sonic Combined Transaction AND Query Processing Thomas Neumann Technische Universität München October 26, 2011 Motivation - OLTP vs. OLAP OLTP and OLAP have very different requirements OLTP high

More information

Oracle Database 11g : Performance Tuning DBA Release2

Oracle Database 11g : Performance Tuning DBA Release2 Oracle Database 11g : Performance Tuning DBA Release2 Target Audience : Technical Consultant/L2/L3 Support DBA/Developers Course Duration : 5 days Day 1: Basic Tuning Tools Monitoring tools overview Enterprise

More information

Martin Cairney SPLIT, MERGE & ELIMINATE. SQL Saturday #572 : Oregon : 22 nd October, 2016

Martin Cairney SPLIT, MERGE & ELIMINATE. SQL Saturday #572 : Oregon : 22 nd October, 2016 Martin Cairney SPLIT, MERGE & ELIMINATE AN INTRODUCTION TO PARTITIONING SQL Saturday #572 : Oregon : 22 nd October, 2016 Housekeeping Mobile Phones please set to stun during the session Connect with the

More information

In-Memory Data Management Research. Martin Boissier, Markus Dreseler

In-Memory Data Management Research. Martin Boissier, Markus Dreseler In-Memory Data Management Research Martin Boissier, Markus Dreseler October 2015 The Free Lunch Is Over Number of transistors per CPU increases Clock frequency stalls [Source: http://www.gotw.ca/publications/concurrency-ddj.htm]

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

Qlik Sense Enterprise architecture and scalability

Qlik Sense Enterprise architecture and scalability White Paper Qlik Sense Enterprise architecture and scalability June, 2017 qlik.com Platform Qlik Sense is an analytics platform powered by an associative, in-memory analytics engine. Based on users selections,

More information

Intro to Artificial Intelligence

Intro to Artificial Intelligence Intro to Artificial Intelligence Ahmed Sallam { Lecture 5: Machine Learning ://. } ://.. 2 Review Probabilistic inference Enumeration Approximate inference 3 Today What is machine learning? Supervised

More information

New Developments in Spark

New Developments in Spark New Developments in Spark And Rethinking APIs for Big Data Matei Zaharia and many others What is Spark? Unified computing engine for big data apps > Batch, streaming and interactive Collection of high-level

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

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2 Oracle University Contact Us: +65 6501 2328 Oracle Database 11g: Performance Tuning DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g Performance Tuning training starts with an

More information

Amusing algorithms and data-structures that power Lucene and Elasticsearch. Adrien Grand

Amusing algorithms and data-structures that power Lucene and Elasticsearch. Adrien Grand Amusing algorithms and data-structures that power Lucene and Elasticsearch Adrien Grand Agenda conjunctions regexp queries numeric doc values compression cardinality aggregation How are conjunctions implemented?

More information

Shark: SQL and Rich Analytics at Scale. Yash Thakkar ( ) Deeksha Singh ( )

Shark: SQL and Rich Analytics at Scale. Yash Thakkar ( ) Deeksha Singh ( ) Shark: SQL and Rich Analytics at Scale Yash Thakkar (2642764) Deeksha Singh (2641679) RDDs as foundation for relational processing in Shark: Resilient Distributed Datasets (RDDs): RDDs can be written at

More information

SAP HANA Scalability. SAP HANA Development Team

SAP HANA Scalability. SAP HANA Development Team SAP HANA Scalability Design for scalability is a core SAP HANA principle. This paper explores the principles of SAP HANA s scalability, and its support for the increasing demands of data-intensive workloads.

More information

Just In Time Compilation in PostgreSQL 11 and onward

Just In Time Compilation in PostgreSQL 11 and onward Just In Time Compilation in PostgreSQL 11 and onward Andres Freund PostgreSQL Developer & Committer Email: andres@anarazel.de Email: andres.freund@enterprisedb.com Twitter: @AndresFreundTec anarazel.de/talks/2018-09-07-pgopen-jit/jit.pdf

More information

Hardware Acceleration for Database Systems using Content Addressable Memories

Hardware Acceleration for Database Systems using Content Addressable Memories Hardware Acceleration for Database Systems using Content Addressable Memories Nagender Bandi, Sam Schneider, Divyakant Agrawal, Amr El Abbadi University of California, Santa Barbara Overview The Memory

More information

BDCC: Exploiting Fine-Grained Persistent Memories for OLAP. Peter Boncz

BDCC: Exploiting Fine-Grained Persistent Memories for OLAP. Peter Boncz BDCC: Exploiting Fine-Grained Persistent Memories for OLAP Peter Boncz NVRAM System integration: NVMe: block devices on the PCIe bus NVDIMM: persistent RAM, byte-level access Low latency Lower than Flash,

More information

Introduction to Column Stores with MemSQL. Seminar Database Systems Final presentation, 11. January 2016 by Christian Bisig

Introduction to Column Stores with MemSQL. Seminar Database Systems Final presentation, 11. January 2016 by Christian Bisig Final presentation, 11. January 2016 by Christian Bisig Topics Scope and goals Approaching Column-Stores Introducing MemSQL Benchmark setup & execution Benchmark result & interpretation Conclusion Questions

More information

An Adaptive Online System for Efficient Processing of Hierarchical Data

An Adaptive Online System for Efficient Processing of Hierarchical Data Dimitrios Tsoumakos Nectarios Koziris {nasia, dtsouma, nkoziris}@cslab.ece.ntua.gr Motivation (1) Efficient, on-line processing of bulk data Organized in concept hierarchies Over one or more dimensions

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

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

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2 Course Code: OC11PTDBAR2 Vendor: Oracle Course Overview Duration: 5 RRP: POA Oracle Database 11g: Performance Tuning DBA Release 2 Overview This course starts with an unknown database that requires tuning.

More information

V Conclusions. V.1 Related work

V Conclusions. V.1 Related work V Conclusions V.1 Related work Even though MapReduce appears to be constructed specifically for performing group-by aggregations, there are also many interesting research work being done on studying critical

More information

Distributed Data Analytics Introduction

Distributed Data Analytics Introduction G-3.1.09, Campus III Hasso Plattner Institut Information Systems Team Prof. Felix Naumann Dr. Ralf Krestel Tim Repke Diana Stephan project DuDe Duplicate Detection Data Fusion Sebastian Kruse Data Change

More information

The Effects of Virtualization on Main Memory Systems

The Effects of Virtualization on Main Memory Systems The Effects of Virtualization on Main Memory Systems Martin Grund, Jan Schaffner, Jens Krueger, Jan Brunnert, Alexander Zeier Hasso-Plattner-Institute at the University of Potsdam August-Bebel-Str. 88

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

#1290. Oracle Core: InMemory Column Performing Databases GmbH Mitterteich / Germany

#1290. Oracle Core: InMemory Column Performing Databases GmbH Mitterteich / Germany #1290 Oracle Core: InMemory Column Store Martin Klier Performing Databases GmbH Mitterteich / Germany 2/40 Speaker Martin Klier Solution Architect and Database Expert My focus Performance Optimization

More information

PS2 out today. Lab 2 out today. Lab 1 due today - how was it?

PS2 out today. Lab 2 out today. Lab 1 due today - how was it? 6.830 Lecture 7 9/25/2017 PS2 out today. Lab 2 out today. Lab 1 due today - how was it? Project Teams Due Wednesday Those of you who don't have groups -- send us email, or hand in a sheet with just your

More information

B.H.GARDI COLLEGE OF ENGINEERING & TECHNOLOGY (MCA Dept.) Parallel Database Database Management System - 2

B.H.GARDI COLLEGE OF ENGINEERING & TECHNOLOGY (MCA Dept.) Parallel Database Database Management System - 2 Introduction :- Today single CPU based architecture is not capable enough for the modern database that are required to handle more demanding and complex requirements of the users, for example, high performance,

More information

Query Optimization. Chapter 13

Query Optimization. Chapter 13 Query Optimization Chapter 13 What we want to cover today Overview of query optimization Generating equivalent expressions Cost estimation 432/832 2 Chapter 13 Query Optimization OVERVIEW 432/832 3 Query

More information

Computing Data Cubes Using Massively Parallel Processors

Computing Data Cubes Using Massively Parallel Processors Computing Data Cubes Using Massively Parallel Processors Hongjun Lu Xiaohui Huang Zhixian Li {luhj,huangxia,lizhixia}@iscs.nus.edu.sg Department of Information Systems and Computer Science National University

More information

Applying In-Memory Technology to Genome Data Analysis

Applying In-Memory Technology to Genome Data Analysis Applying In-Memory Technology to Genome Data Analysis Cindy Fähnrich Hasso Plattner Institute GLOBAL HEALTH 14 Tutorial Hasso Plattner Institute Key Facts Founded as a public-private partnership in 1998

More information

IBM DB2 Analytics Accelerator use cases

IBM DB2 Analytics Accelerator use cases IBM DB2 Analytics Accelerator use cases Ciro Puglisi Netezza Europe +41 79 770 5713 cpug@ch.ibm.com 1 Traditional systems landscape Applications OLTP Staging Area ODS EDW Data Marts ETL ETL ETL ETL Historical

More information

Parallel DBs. April 25, 2017

Parallel DBs. April 25, 2017 Parallel DBs April 25, 2017 1 Why Scale Up? Scan of 1 PB at 300MB/s (SATA r2 Limit) (x1000) ~1 Hour ~3.5 Seconds 2 Data Parallelism Replication Partitioning A A A A B C 3 Operator Parallelism Pipeline

More information

A Multi Join Algorithm Utilizing Double Indices

A Multi Join Algorithm Utilizing Double Indices Journal of Convergence Information Technology Volume 4, Number 4, December 2009 Hanan Ahmed Hossni Mahmoud Abd Alla Information Technology Department College of Computer and Information Sciences King Saud

More information

Relational Query Optimization

Relational Query Optimization Relational Query Optimization Module 4, Lectures 3 and 4 Database Management Systems, R. Ramakrishnan 1 Overview of Query Optimization Plan: Tree of R.A. ops, with choice of alg for each op. Each operator

More information

PERFORMANCE TUNING TRAINING IN BANGALORE

PERFORMANCE TUNING TRAINING IN BANGALORE PERFORMANCE TUNING TRAINING IN BANGALORE TIB ACADEMY #5/3 BEML LAYOUT, VARATHUR MAIN ROAD KUNDALAHALLI GATE, BANGALORE 560066 PH: +91-9513332301/2302 WWW.TRAINININGBANGALORE.COM Oracle Database 11g: Performance

More information

From SQL-query to result Have a look under the hood

From SQL-query to result Have a look under the hood From SQL-query to result Have a look under the hood Classical view on RA: sets Theory of relational databases: table is a set Practice (SQL): a relation is a bag of tuples R π B (R) π B (R) A B 1 1 2

More information

CPU MF Counters Enablement Webinar

CPU MF Counters Enablement Webinar Advanced Technical Skills (ATS) North America CPU MF Counters Enablement Webinar John Burg Kathy Walsh May 2, 2012 1 Announcing CPU MF Enablement Education Two Part Series Part 1 General Education Today

More information