Resource Management in the Greenplum Parallel Database

Slides:



Advertisements
Similar presentations
Virtual Memory (II) CSCI 444/544 Operating Systems Fall 2008.
Advertisements

Software Engineering 2003 Jyrki Nummenmaa 1 A BASIC OO SOFTWARE DEVELOPMENT PROCESS Earlier, we saw a number of different software lifecycle models.
Performance Evaluation of Open Virtual Routers M.Siraj Rathore
Balmukund Lakhani Technical Lead – SQL Support Team
Scheduling. Unix Scheduling Allocating CPU to a Process The amount of time that a process is allocated the CPU is called a time quantum Processes are.
The Banker’s Algorithm for A Single Resource
CHAPTER 15. QUERY EXECUTIOIN Parin Shah (ID : 207)
Case Study V: Help Desk Service CSCI 8710 Fall 2008.
Graeme Scott – Technology Solution Professional Reduce Infrastructure Costs & Increase Productivity with SQL Server 2008.
What is Concurrent Programming? Maram Bani Younes.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
1 Scheduling I/O in Virtual Machine Monitors© 2008 Diego Ongaro Scheduling I/O in Virtual Machine Monitors Diego Ongaro, Alan L. Cox, and Scott Rixner.
Chapter 8 Multi-Level Feedback Queue Chien-Chung Shen CIS, UD
DNN Performance & Scalability Planning, Evaluating & Improving : Part 2.
CPU Scheduling Chapter 6 Chapter 6.
Scheduling. Objectives – Fairness – Maximize throughput – Maximize the number of users receiving acceptable response times – Minimize overhead – Balance.
CS 111 – Nov. 19 Enterprise databases, continued –Review tables, joins, queries –Restricting one’s view of entire database –Design considerations –Concurrency.
Principles of Scalable HPC System Design March 6, 2012 Sue Kelly Sandia National Laboratories Abstract: Sandia National.
CS 346 – Chapter 1 Operating system – definition Responsibilities What we find in computer systems Review of –Instruction execution –Compile – link – load.
Querying Large Databases Rukmini Kaushik. Purpose Research for efficient algorithms and software architectures of query engines.
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
The Structure of Processes (Chap 6 in the book “The Design of the UNIX Operating System”)
A User-Lever Concurrency Manager Hongsheng Lu & Kai Xiao.
1© Copyright 2012 EMC Corporation. All rights reserved. EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache EMC.
A User-Lever Concurrency Manager Hongsheng Lu & Kai Xiao.
Job scheduling algorithm based on Berger model in cloud environment Advances in Engineering Software (2011) Baomin Xu,Chunyan Zhao,Enzhao Hua,Bin Hu 2013/1/251.
Page 1 Process Migration & Allocation Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this.
Virtual Memory 1 1.
Jason Wong Applications Manager DBA/Developer Programmer …. 20+ years IS&T, DEV,
Multithreaded Programing. Outline Overview of threads Threads Multithreaded Models  Many-to-One  One-to-One  Many-to-Many Thread Libraries  Pthread.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  What Operating Systems Do  Computer-System Organization  Computer-System Architecture  Operating-System Structure.
“Come out of the desert of ignorance to the OASUS of knowledge” Benchmarking and SAS Tom Kari, Tom Kari Consulting Ltd.
Overview About the company What is it? What it does? How does it affect us.
Topics in Memory System Design 2016/2/5\course\cpeg323-07F\Topic7.ppt1.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Concurrency (Threads) Threads allow you to do tasks in parallel. In an unthreaded program, you code is executed procedurally from start to finish. In a.
If you have a transaction processing system, John Meisenbacher
1© Copyright 2015 EMC Corporation. All rights reserved. NUMA(YEY) BY JACOB KUGLER.
Spark on Entropy : A Reliable & Efficient Scheduler for Low-latency Parallel Jobs in Heterogeneous Cloud Huankai Chen PhD Student at University of Kent.
Embedded Real-Time Systems
Scholastic Dishonesty
Chapter 1: Introduction
Interpreted languages Jakub Yaghob
Advanced Communication Skills Training
Validation October 13, 2017.
Hitting the SQL Server “Go Faster” Button
Copyright ©: Nahrstedt, Angrave, Abdelzaher
SQL Server Internals Overview
ENERGY 211 / CME 211 Lecture 25 November 17, 2008.
Chapter 8 Multi-Level Feedback Queue
CS 425 / ECE 428 Distributed Systems Fall 2017 Nov 16, 2017
Chapter 2 Scheduling.
Enterprise Resource Planning Process & Selection
Auburn University COMP7500 Advanced Operating Systems I/O-Aware Load Balancing Techniques (2) Dr. Xiao Qin Auburn University.
Hitting the SQL Server “Go Faster” Button
The Yin and Yang of Processing Data Warehousing Queries on GPUs
What is an Operating System?
LightRing with Tunable Transceivers
Operating Systems.
TEMPDB – INTERNALS AND USAGE
Direct Memory Access Disk and Network transfers: awkward timing:
Operating systems Process scheduling.
Admission Control and Request Scheduling in E-Commerce Web Sites
What is Concurrent Programming?
Android Topics UI Thread and Limited processing resources
Multithreaded Programming
Chien-Chung Shen CIS/UD
Scholastic Dishonesty
Dell EMC SQL Server Solutions Doug Bernhardt
Virtual Memory 1 1.
Presentation transcript:

Resource Management in the Greenplum Parallel Database Siva Narayanan (siva@greenplum.com) Consultant Software Engineer, Query Processing, EMC Greenplum

Why, you ask? Saturday, November 24, 2018Saturday, November 24, 2018

Problem Finite resources - CPU/memory/IO/network Concurrent activity Different business value (Loads/Reports/Analytics) Different system impact (Simple/Complex queries) How can a DBA manage the system and keep everyone happy? Saturday, November 24, 2018Saturday, November 24, 2018

Solution Determine business value of a query upon arrival Translate that to fair share of CPU and Memory Resource reservation / Admission control Are the resources available? Run-time resource allocation Ensure that reservations are honored Adjust behavior as necessary Saturday, November 24, 2018Saturday, November 24, 2018

CPU vs Memory Saturday, November 24, 2018Saturday, November 24, 2018

CPU Sharing Every query operator in a execution plan Continually measures its actual CPU usage and compares it with fair share If it uses too much, it sleeps for a short while Rinse, repeat I/O and network bandwidths are similar Saturday, November 24, 2018Saturday, November 24, 2018

Memory Sharing Every query operator in a execution plan Gets a portion of memory reserved for the entire query Memory intensive operators vs not Re-use memory between blocking operators If data is too large, they spill Net effect, every query uses up to its fair share Saturday, November 24, 2018Saturday, November 24, 2018

Summary Resource management is a big problem with big data Align resource allocation with business value Greenplum Parallel Database has mechanisms for CPU and Memory Saturday, November 24, 2018Saturday, November 24, 2018

Questions? We’re hiring! siva@greenplum.com