Presentation is loading. Please wait.

Presentation is loading. Please wait.

Resource Management in the Greenplum Parallel Database

Similar presentations


Presentation on theme: "Resource Management in the Greenplum Parallel Database"— Presentation transcript:

1 Resource Management in the Greenplum Parallel Database
Siva Narayanan Consultant Software Engineer, Query Processing, EMC Greenplum

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

3 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

4 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

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

6 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

7 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

8 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

9 Questions? We’re hiring!


Download ppt "Resource Management in the Greenplum Parallel Database"

Similar presentations


Ads by Google