Red Stack Tech Ltd James Anthony Technology Director. Oracle 12c InMemory. A brief introduction

Size: px
Start display at page:

Download "Red Stack Tech Ltd James Anthony Technology Director. Oracle 12c InMemory. A brief introduction"

Transcription

1 Red Stack Tech Ltd James Anthony Technology Director Oracle 12c InMemory A brief introduction 1

2 Introduction I m pretty sure a LOT is going to be written about the InMemory option for 12c released in July this year. We at Red Stack Tech have been lucky enough to be part of the beta programme and therefore have been using it for a few months now, and I ve got to say it s pretty awesome! In my mind this is the biggest thing to happen to the database since RAC arrived. I was asked to put this article together to give an intro to the InMemory option, the concepts and some of the performance gains. If you re interested to know more, or even want to try it out, drop me a line at james.anthony@redstk.com. Before I start a quick word of warning there is a lot left unsaid in this article, and it s definitely not a deep dive. I was asked to keep this article short, and failed, but even so a lot of pruning has had to go off! It s all about columns! I remember a few years back a lot of fuss was being made about column store database in the warehousing space, but much of that came to nothing when people started getting impacted by the column cliff. Oracle themselves introduced HCC to provide some of the benefits of columnar storage (namely the fact that compression works better in column storage than traditional row storage). In the last couple of years in memory has become an increasing trend, driven by ever falling RAM prices and the ability of modern CPUs to address increased amounts of main memory. The 12c InMemory option merges these two concepts, because at heart it s an in memory column store. Simply put the RDBMS engine will maintain a separate pivoted view of your data in memory, and hold this in column format.. and don t worry, through a journaling process the row cache (your current buffer cache in the SGA) and the column store are kept in sync. The (incredibly simplified) figure 1 shows this, with an amount of data being held in a block shown with the dotted boxes. You can see on the left a traditional row storage format, that would (and still is) held in the buffer cache, each row is then pivoted and the data held within the column store. 2

3 Figure 1 1 When a predicate is applied (for example order_value > x) the column store can then be queried, with the optimizer only required to scan the values for a single column in comparison to the row store where to filter on that predicate the other columns must also be superfluously read. Enhancements such as SIMD processing, compression and min/max pruning (covered later) provided significant speed up to this processing. At this stage you re possibly thinking well if I have xgb of data that means I need xgb for the column store, but that s not the end of the story. For starters (and crucially) the InMemory option does NOT require all of a table be within the column store! The optimizer can seamlessly work with a query where part of the data is within the column store and part of it resides on disk still (indeed on initial querying the data may not yet be in the column store and this is exactly what will happen whilst the store is background populated). It s worth noting as well that you can choose just to put given partitions into the column store. Multiple Predicates So what happens when we have multiple predicates? Remember those bloom filters that got talked about when they first appeared in the Oracle optimizer? They perform an incredibly efficient job here. Multiple columns can be scanned and predicate filtration applied, with the resultant bloom filters merged to provide the desired result set. I wrote a paper on bloom filters some time ago that you can find on the Red Stack Tech site, so won t cover them here for the sake of brevity. Predicate Filtering based on Min/Max values Anyone who has worked on Exadata will know just how powerful the storage indexes maintained at the cell level are. InMemory brings a similar capability. For InMemory the min and max values are stored for each InMemory Compression Unit (IMCU), these IMCUs are the storage format (similar to an Oracle block but much larger) within the column store. 3

4 Dropping indexes/removing reporting databases/operational efficiencies Whilst a lot of the headlines around InMemory will be clearly around what are going to be some extraordinary performance gains for reporting/analytical workloads it s worth noting the impact on OLTP and general efficiencies. Within a typical database a large portion of the space used will be for indexing (go on, just do a quick query on dba_extents and group it by object type to figure out your value). These indexes both increase the size of the database, but also slow down OLTP operations as they need maintaining (especially where we are inserting new rows). 12c InMemory gives us the opportunity to totally remove the indexes need to service reporting, querying workloads, allowing our databases to be smaller (backing up, recovering and cloning faster, and aggregating gains across non-production environments), but also accelerating OLTP by reducing the index maintenance operations. By the same means we see a lot of organisations who run separate reporting databases, or ODS systems to offload reporting from the production. I firmly believe that InMemory is going to chance the game here, allowing organisations to report from the real time data (eliminating lag), shifting the compute power and Oracle licencing from these reporting databases etc. to the production system, and reducing the amount of operational work the DBAs and administrators must do to manage these ancillary datastores. Pipelining and SIMD Vector Processing Pipelining is a process designed to improve the throughput of an operation (as opposed to the speed of an individual operation). Pipelining breaks a single operation into multiple micro-operations, and each micro-operation is joined to the next in the manner of a pipe carrying water. Modern CPUs the clock cycle are exactly that, with an internal clock signal causing the CPU memory to store a new value, in between clock cycles the logic occurs. By breaking the operation into smaller micro-operations, the overall performance is bound by the time taken to complete the longest running microoperation, and no wasted time occurs between memory operations. 4

5 The following diagram illustrates this more clearly, showing the stages an instruction goes through in the CPU (fetch, decode, execute, store result) and how pipelining ensures that no idle time is encountered. In the first example (non-pipelined) you can see how each phase completes before the next begins, with each phase consuming a clock cycle. In the pipelined example below you can see how the different parts of the CPU are used in parallel to process more operations in a given space of time. Traditional Pipelined Figure 2 SIMD (Single Instruction Multiple Datapoint) Processing SIMD processing is particularly good for the type of columnar scans being performed in the 12c InMemory Database, allowing for the repetitive task of evaluating a predicate against several rows worth of data in a single pass operation as opposed to having each tuple evaluated separately in a scalar operation (one instruction to process one data value). One of the drawbacks of SIMD is that differing operations cannot be applied to the data values, but in this case SIMD works in this case as the same operation is being applied to each value. By using the Intel (and other) optimisations for SIMD vector processing the Oracle 12c InMemory code is able to scan a greater number of data values with each CPU operation, significantly improving throughput. 5

6 Simplicity Figure 3 Compression Levels Putting stuff into the InMemory column store couldn t be easier, we just alter the table using the inmemory clause as follows: alter table orders inmemory; We can also specify a subset of columns, for example in the following we put all columns of a table into memory except one: CREATE TABLE inmem_test (id NUMBER, vardata VARCHAR2(200), irrelevant_col VARCHAR2(200)) INMEMORY NOINMEMORY (irrelevant_col) I was asked to keep this article short, so I won t expand too much, but once this has been issued the first query against the table will begin the loading into memory. It s also possible to use the inmemory_priority attribute of a table to specify that it should be loaded into memory preferentially at database startup based on their priority level (LOW, MEDIUM, HIGH and CRITICAL) I m not going to labour too much on compression within Oracle, as it has been done to death in many articles. Suffice to say one of the key advantages of column storage is that compression levels through de-duplication are higher than that of row storage. The InMemory option allows for differing levels of compression to be applied (using the MEMCOMPRESS keyword). DEFAULT: 2-5x compression, optimised for throughput BALANCED: 3-10x compression, adds OZIP on top of throughput compression SPACE: 5-20x compression, some performance impact (CPU overhead on data in/out) 6

7 The Results! To give you an idea on compression rates we applied these to some data tables we use for demonstration purposes and got a 9.5x compression rate on a 23m row orders table, with some of the dimension tables getting 30x compression. As always your mileage will vary depending on the data (and often other ordering of the data), but running the following query will yield your compression ratios: select o.object_name object_name, i.bytes original_size, i.inmemory_size, i.bytes/ i.inmemory_size compress_ratio from v$im_segments i, user_objects o where i.segment_name = o.object_name; OBJECT_NAME ORIGINAL_SIZE INMEMORY_SIZE COMPRESS_RATIO H_LINEITEM NOTE : The results above used the default compression of FOR QUERY LOW enabling maximum throughput. So you re probably keen to see just how fast this makes it right! Well, going back to that 23m row table of orders and contrasting query performance against data held entirely in the SGA buffer cache (so no physical IO it s all logical IO) First an example of scanning an entire column. Remember in this case we will be able to just read the compressed lo_ordtotalprice column from the column store, but we won t be able to use any of the column index optimisations. SQL> select /* BUFFER_CACHE */ max(l_extendedprice) from h_lineitem; MAX(L_EXTENDEDPRICE) Elapsed: 00:00:01.89 And a quick look at some stats.. Statistics recursive calls 0 db block gets consistent gets 0 physical reads 204 redo size 557 bytes sent via SQL*Net to client 552 bytes received via SQL*Net from client 2 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 1 rows processed 7

8 Now running the same query against the InMemory column store.. SQL> select max(l_extendedprice) from h_lineitem 2 / MAX(L_EXTENDEDPRICE) Elapsed: 00:00:00.02 Execution Plan Plan hash value: Id Operation Name Rows Bytes Cost (%CP U) Time TQ IN-OUT PQ Distrib SELECT STATEMENT ( 4) 00:00:01 1 SORT AGGREGATE PX COORDINATOR 3 PX SEND QC (RANDOM) :TQ Q1,00 P->S QC (RAND) 4 SORT AGGREGATE 1 6 Q1,00 PCWP 5 PX BLOCK ITERATOR 23M 137M 2152 ( 4) 00:00:01 Q1,00 PCWC 6 TABLE ACCESS INMEMORY FULL H_LINEITEM 23M 137M 2152 ( 4) 00:00:01 Q1,00 PCWP Statistics recursive calls 0 db block gets 75 consistent gets 0 physical reads 0 redo size That s a reduction in query time from 1.89 seconds to a meagre 0.02 seconds (to scan 23m records)... and that s memory vs. memory! Pretty impressive! The observant amongst you are probably right now suggesting it s not a fair test as we d have an index on that field. Well, yep I agree, but a) this is a very simple test with no predicate and b) a quick test showed the results vs an index on that column are almost identical, but the index consumes another 16% of the space already taken up by the table, dropping it (and any other indexes) has a big impact on database size (backup, recovery, cloning etc.) and OLTP insert/update performance. 8

9 Let s go with another example and this time add a predicate in there to allow us to accelerate with the ability to filter against the min/max values stored at IMCU level, again please note this is memory vs memory and all Logical IO, no physical, running against just over 375m rows in this case. SQL> SELECT /* BUFFER CACHE */ l_shipdate, l_suppkey, l_quantity FROM h_lineitem WHERE l_shipdate = '01-DEC-98' L_SHIPDAT L_SUPPKEY L_QUANTITY DEC DEC DEC Elapsed: 00:00:55.94 SQL> ALTER SESSION set inmemory_query = enable; Session altered. Elapsed: 00:00:00.00 SELECT l_shipdate, l_suppkey, l_quantity FROM h_lineitem WHERE l_shipdate = '01-DEC-98' L_SHIPDAT L_SUPPKEY L_QUANTITY DEC DEC DEC Elapsed: 00:00:00.63 So we ve dropped from seconds to 0.63 seconds! That s a reduction of 98.87% by time or an improvement of 8,879% (don t you just love statistics). Now imagine we were serving this data from disk (physical IO), and you can see the performance gains we are likely to get in the real world So how much impact did those minmax filtrations have? SELECT display_name, value FROM v$mystat m, v$statname n WHERE m.statistic# = n.statistic# AND display_name IN ('IM scan CUs optimized read', 'IM scan CUs pruned', 'IM scan CUs predicates optimized', 'IM scan segments minmax eligible' ) DISPLAY_NAME VALUE IM scan CUs predicates optimized 7 IM scan CUs optimized read 0 IM scan CUs pruned 7 IM scan segments minmax eligible 372 IM scan segments minmax eligible: shows the number of IMCUs that were scanned IM scan CUs optimized read: all rows passed the predicate IM scan CUs predicates optimized: A count of segments where either all rows, or no rows passed the filtration IM scan CUs pruned: The number of segments that the minmax values did not pass the predicate filtration 9

10 Let s run another example this time using the order value (against 96m rows in this case): SQL> select * from h_order where o_totalprice > ; O_ORDERKEY O_CUSTKEY O O_TOTALPRICE O_ORDERDA O_ORDERPRIORITY O_CLERK O_SHIPPRIORITY O_COMMENT F NOV-94 3-MEDIUM Clerk# cording to the furiously ironic requests maintain slyly along th O AUG-96 1-URGENT Clerk# timents. quickly final courts doze regularly DISPLAY_NAME VALUE IM scan CUs predicates optimized 72 IM scan CUs optimized read 0 IM scan CUs pruned 72 IM scan segments minmax eligible 91 From the stats above we can see that for my very simple query on a single run we only evaluated 19 of the 91 storage chunks in memory (known as an InMemory Column Unit or IM CUs), and eliminated 72 of them! So even though we know from the previous example we can scan columns quickly not reading just over 83% of the data is always going to help! Conclusion InMemory is certainly a powerful addition to the Oracle RDBMS. Is it going to be a magic bullet to solve all query performance issues? Obviously not, but I m extremely optimistic about its benefits on both analytical and OLTP workloads. What s more unlike other in memory solutions it s transparent to the application, so we don t have to set about re-coding. Sure we ve got to get to 12c to derive the benefit, and we have to pay the licence costs, but with 11gR2 being 5+ years old at time of writing this 12c adoption has to increase (you wouldn t buy a 5 year old piece of hardware so why implement 5 year old software). This article barely scratches the surface of our testing on InMemory, and I was asked to keep it short and I m failing to do that! So if you ve got any questions drop me a line at james.anthony@redstk.com. 10

11 Contact Red Stack Tech for more information UK Headquarters: 3 rd Floor Farr House Railway Street Chelmsford Essex England CM1 1QS Main: Direct: Australia Headquarters: Suite 3 Level Queen Street Brisbane QLD 4000 Main: +61 (0) contactus@redstk.com Web: Follow Red Stack Tech on Media Enquiries: Elizabeth Spencer elizabeth.spencer@redstk.com Red Stack Tech Ltd 3 rd Floor Farr House Railway Street Chelmsford Essex England CM1 1QS 11

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

Oracle Database In-Memory

Oracle Database In-Memory Oracle Database In-Memory Under The Hood Andy Cleverly andy.cleverly@oracle.com Director Database Technology Oracle EMEA Technology Safe Harbor Statement The following is intended to outline our general

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

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 2014, Oracle and/or its affiliates. All rights reserved.

Copyright 2014, Oracle and/or its affiliates. All rights reserved. 1 Oracle Database 12c Preview In-Memory Column Store (V12.1.0.2) Michael Künzner Principal Sales Consultant The following is intended to outline our general product direction. It is intended for information

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

Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia

Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia Does Exadata Need Performance Tuning? Jože Senegačnik, Oracle ACE Director, Member of OakTable DbProf d.o.o. Ljubljana, Slovenia Keywords Exadata, Cost Based Optimization, Statistical Optimizer, Physical

More information

In-Memory is Your Data Warehouse s New BFF

In-Memory is Your Data Warehouse s New BFF In-Memory is Your Data Warehouse s New BFF Michelle Kolbe medium.com/@datacheesehead @MeKolbe linkedin.com/in/michelle.kolbe Michelle.Kolbe@RedPillAnalytics.com www.redpillanalytics.com info@redpillanalytics.com

More information

Database In-Memory: A Deep Dive and a Future Preview

Database In-Memory: A Deep Dive and a Future Preview Database In-Memory: A Deep Dive and a Future Preview Tirthankar Lahiri, Markus Kissling Oracle Corporation Keywords: Database In-Memory, Oracle Database 12c, Oracle Database 12.2 1. Introduction The Oracle

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

Exadata. Presented by: Kerry Osborne. February 23, 2012

Exadata. Presented by: Kerry Osborne. February 23, 2012 Exadata Presented by: Kerry Osborne February 23, 2012 whoami Worked with Oracle Since 1982 (V2) Working with Exadata since early 2010 Work for Enkitec (www.enkitec.com) (Enkitec owns a Half Rack V2/X2)

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

Parallel Execution Plans

Parallel Execution Plans Parallel Execution Plans jonathanlewis.wordpress.com www.jlcomp.demon.co.uk My History Independent Consultant 33+ years in IT 28+ using Oracle (5.1a on MSDOS 3.3 Strategy, Design, Review, Briefings, Educational,

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

Four Steps to Unleashing The Full Potential of Your Database

Four Steps to Unleashing The Full Potential of Your Database Four Steps to Unleashing The Full Potential of Your Database This insightful technical guide offers recommendations on selecting a platform that helps unleash the performance of your database. What s the

More information

Safe Harbor Statement

Safe Harbor Statement Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment

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

Arup Nanda Longtime Oracle DBA (and now DMA)

Arup Nanda Longtime Oracle DBA (and now DMA) Arup Nanda Longtime Oracle DBA (and now DMA) Why this Session? If you are an Oracle DBA Familiar with RAC, 11gR2 and ASM about to be a Database Machine Administrator (DMA) How much do you have to learn?

More information

Exadata for Oracle DBAs. Arup Nanda Longtime Oracle DBA (and now DMA)

Exadata for Oracle DBAs. Arup Nanda Longtime Oracle DBA (and now DMA) Arup Nanda Longtime Oracle DBA (and now DMA) Why this Session? If you are an Oracle DBA Familiar with RAC, 11gR2 and ASM about to be a Database Machine Administrator (DMA) How much do you have to learn?

More information

Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich

Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich Agenda Introduction Old Times Exadata Big Data Oracle In-Memory Headquarters Conclusions 2 sumit AG Consulting and

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

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

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

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option Kai Yu, Senior Principal Engineer Dell Oracle Solutions Engineering Dell, Inc. ABSTRACT By introducing the In-Memory

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

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 Exadata Performance

Oracle Exadata Performance Yes. You still need to tune. By Kathy Gibbs, Product Manager Presentation to NYOUG Winter General Meeting 12/2011 Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 www.confio.com Introduction

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

Oracle Database 18c New Performance Features

Oracle Database 18c New Performance Features Oracle Database 18c New Performance Features Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART

More information

Using the In-Memory Columnar Store to Perform Real-Time Analysis of CERN Data. Maaike Limper Emil Pilecki Manuel Martín Márquez

Using the In-Memory Columnar Store to Perform Real-Time Analysis of CERN Data. Maaike Limper Emil Pilecki Manuel Martín Márquez Using the In-Memory Columnar Store to Perform Real-Time Analysis of CERN Data Maaike Limper Emil Pilecki Manuel Martín Márquez About the speakers Maaike Limper Physicist and project leader Manuel Martín

More information

Table Compression in Oracle9i Release2. An Oracle White Paper May 2002

Table Compression in Oracle9i Release2. An Oracle White Paper May 2002 Table Compression in Oracle9i Release2 An Oracle White Paper May 2002 Table Compression in Oracle9i Release2 Executive Overview...3 Introduction...3 How It works...3 What can be compressed...4 Cost and

More information

Advanced Database Systems

Advanced Database Systems Lecture IV Query Processing Kyumars Sheykh Esmaili Basic Steps in Query Processing 2 Query Optimization Many equivalent execution plans Choosing the best one Based on Heuristics, Cost Will be discussed

More information

An Oracle White Paper June Exadata Hybrid Columnar Compression (EHCC)

An Oracle White Paper June Exadata Hybrid Columnar Compression (EHCC) An Oracle White Paper June 2011 (EHCC) Introduction... 3 : Technology Overview... 4 Warehouse Compression... 6 Archive Compression... 7 Conclusion... 9 Introduction enables the highest levels of data compression

More information

Oracle 12.2 My Favorite Top Five New or Improved Features. Janis Griffin Senior DBA / Performance Evangelist

Oracle 12.2 My Favorite Top Five New or Improved Features. Janis Griffin Senior DBA / Performance Evangelist Oracle 12.2 My Favorite Top Five New or Improved Features Janis Griffin Senior DBA / Performance Evangelist Who Am I Senior DBA / Performance Evangelist for SolarWinds Janis.Griffin@solarwindscom Twitter

More information

Bloom Filters DOAG Webinar, 12 August 2016 Christian Antognini Senior Principal Consultant

Bloom Filters DOAG Webinar, 12 August 2016 Christian Antognini Senior Principal Consultant DOAG Webinar, 12 August 2016 Christian Antognini Senior Principal Consultant BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH

More information

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

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 Oracle Partitioning für Einsteiger Hermann Bär Partitioning Produkt Management 2 Disclaimer The goal is to establish a basic understanding of what can be done with Partitioning I want you to start thinking

More information

Oracle Database In-Memory What s New and What s Coming

Oracle Database In-Memory What s New and What s Coming Oracle Database In-Memory What s New and What s Coming Andy Rivenes Product Manager for Database In-Memory Oracle Database Systems DOAG - May 10, 2016 #DBIM12c Safe Harbor Statement The following is intended

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

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

Copyright 2017, Oracle and/or its affiliates. All rights reserved. Using Oracle Columnar Technologies Across the Information Lifecycle Roger MacNicol Software Architect Data Storage Technology Safe Harbor Statement The following is intended to outline our general product

More information

The Arrival of Affordable In-Memory Database Management Systems

The Arrival of Affordable In-Memory Database Management Systems Research Report The Arrival of Affordable In-Memory Database Management Systems Executive Summary The enterprise computing marketplace is about to enter a new era of computing: the era of affordable in-memory

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

#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

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

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

Storage Optimization with Oracle Database 11g

Storage Optimization with Oracle Database 11g Storage Optimization with Oracle Database 11g Terabytes of Data Reduce Storage Costs by Factor of 10x Data Growth Continues to Outpace Budget Growth Rate of Database Growth 1000 800 600 400 200 1998 2000

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

The Role of Database Aware Flash Technologies in Accelerating Mission- Critical Databases

The Role of Database Aware Flash Technologies in Accelerating Mission- Critical Databases The Role of Database Aware Flash Technologies in Accelerating Mission- Critical Databases Gurmeet Goindi Principal Product Manager Oracle Flash Memory Summit 2013 Santa Clara, CA 1 Agenda Relational Database

More information

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option. Kai Yu Oracle Solutions Engineering Dell Inc

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option. Kai Yu Oracle Solutions Engineering Dell Inc Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option Kai Yu Oracle Solutions Engineering Dell Inc About Author Kai Yu, Senior Principal Architect, Dell Database Engineering

More information

Leveraging Oracle Database In-Memory to Accelerate Business Analytic Applications

Leveraging Oracle Database In-Memory to Accelerate Business Analytic Applications Leveraging Oracle Database In-Memory to Accelerate Business Analytic Applications MAY 16 & 17, 2018 CLEVELAND PUBLIC AUDITORIUM, CLEVELAND, OHIO WWW.NEOOUG.ORG/GLOC Kai Yu Technical Staff, Dell EMC Database

More information

Parallel Execution with Oracle Database 18c Fundamentals ORACLE WHITE PAPER FEBRUARY 2018

Parallel Execution with Oracle Database 18c Fundamentals ORACLE WHITE PAPER FEBRUARY 2018 Parallel Execution with Oracle Database 18c Fundamentals ORACLE WHITE PAPER FEBRUARY 2018 Table of Contents Introduction 1 Parallel Execution Concepts 2 Why use parallel execution? 2 The theory of parallel

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

CSE 544, Winter 2009, Final Examination 11 March 2009

CSE 544, Winter 2009, Final Examination 11 March 2009 CSE 544, Winter 2009, Final Examination 11 March 2009 Rules: Open books and open notes. No laptops or other mobile devices. Calculators allowed. Please write clearly. Relax! You are here to learn. Question

More information

Real Time Summarization. Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Real Time Summarization. Copyright 2014, Oracle and/or its affiliates. All rights reserved. Real Time Summarization Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract.

More information

Exadata with In-Memory Option the best of all?!?

Exadata with In-Memory Option the best of all?!? Exadata with In-Memory Option the best of all?!? Konrad HÄFELI Senior Solution Manager Infrastructure Engineering BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH

More information

Teradata. This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries.

Teradata. This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries. Teradata This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries. What is it? Teradata is a powerful Big Data tool that can be used in order to quickly

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 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

VLDB. Partitioning Compression

VLDB. Partitioning Compression VLDB Partitioning Compression Oracle Partitioning in Oracle Database 11g Oracle Partitioning Ten Years of Development Core functionality Performance Manageability Oracle8 Range partitioning

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

Oracle Enterprise Data Architecture

Oracle Enterprise Data Architecture Oracle Enterprise Data Architecture Data Lifecycle O R A C L E W H I T E P A P E R J A N U A R Y 2 0 1 9 Table of Contents 0 Disclaimer 1 Introduction 2 Enterprise Data Architecture 3 Oracle Technologies

More information

Data Vault Partitioning Strategies WHITE PAPER

Data Vault Partitioning Strategies WHITE PAPER Dani Schnider Data Vault ing Strategies WHITE PAPER Page 1 of 18 www.trivadis.com Date 09.02.2018 CONTENTS 1 Introduction... 3 2 Data Vault Modeling... 4 2.1 What is Data Vault Modeling? 4 2.2 Hubs, Links

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

<Insert Picture Here> Introducing Exadata X3

<Insert Picture Here> Introducing Exadata X3 Introducing Exadata X3 Exadata X3 Hardware Overview Overall Exadata Architecture remains the same - Working great, no need for change - DB Machine names change from X2 to X3 (e.g.

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

When, Where & Why to Use NoSQL?

When, Where & Why to Use NoSQL? When, Where & Why to Use NoSQL? 1 Big data is becoming a big challenge for enterprises. Many organizations have built environments for transactional data with Relational Database Management Systems (RDBMS),

More information

Crash Course in Modernization. A whitepaper from mrc

Crash Course in Modernization. A whitepaper from mrc Crash Course in Modernization A whitepaper from mrc Introduction Modernization is a confusing subject for one main reason: It isn t the same across the board. Different vendors sell different forms of

More information

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database option

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database option Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database option Prepared by: Kai Yu Senior Principal Architect, Dell Oracle Solutions Engineering @ky_austin REMINDER Check in

More information

Should You Drop Indexes on Exadata?

Should You Drop Indexes on Exadata? Should You Drop Indexes on Session 316 Arup Nanda Longtime Oracle DBA (and now DMA) REMINDER Check in on the COLLABORATE mobile app Disclaimer If you downloaded this slide deck, please note: These slides

More information

MAINVIEW Batch Optimizer. Data Accelerator Andy Andrews

MAINVIEW Batch Optimizer. Data Accelerator Andy Andrews MAINVIEW Batch Optimizer Data Accelerator Andy Andrews Can I push more workload through my existing hardware configuration? Batch window problems can often be reduced down to two basic problems:! Increasing

More information

An Oracle White Paper April 2010

An Oracle White Paper April 2010 An Oracle White Paper April 2010 In October 2009, NEC Corporation ( NEC ) established development guidelines and a roadmap for IT platform products to realize a next-generation IT infrastructures suited

More information

2.3 Algorithms Using Map-Reduce

2.3 Algorithms Using Map-Reduce 28 CHAPTER 2. MAP-REDUCE AND THE NEW SOFTWARE STACK one becomes available. The Master must also inform each Reduce task that the location of its input from that Map task has changed. Dealing with a failure

More information

Configuring Short RPO with Actifio StreamSnap and Dedup-Async Replication

Configuring Short RPO with Actifio StreamSnap and Dedup-Async Replication CDS and Sky Tech Brief Configuring Short RPO with Actifio StreamSnap and Dedup-Async Replication Actifio recommends using Dedup-Async Replication (DAR) for RPO of 4 hours or more and using StreamSnap for

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

Leveraging Oracle Database In- Memory to accelerate Oracle Business Intelligence Analytics Applications

Leveraging Oracle Database In- Memory to accelerate Oracle Business Intelligence Analytics Applications Leveraging Oracle Database In- Memory to accelerate Oracle Business Intelligence Analytics Applications Kai Yu Oracle Solutions Engineering Dell EMC Linkedin: https://www.linkedin.com/in/kaiyu1/ Twitter

More information

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing

Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Trouble-free Upgrade to Oracle Database 12c with Real Application Testing Kurt Engeleiter Principal Product Manager Safe Harbor Statement The following is intended to outline our general product direction.

More information

Scylla Open Source 3.0

Scylla Open Source 3.0 SCYLLADB PRODUCT OVERVIEW Scylla Open Source 3.0 Scylla is an open source NoSQL database that offers the horizontal scale-out and fault-tolerance of Apache Cassandra, but delivers 10X the throughput and

More information

Oracle Database Database In-Memory Guide. 12c Release 2 (12.2)

Oracle Database Database In-Memory Guide. 12c Release 2 (12.2) Oracle Database Database In-Memory Guide 12c Release 2 (12.2) E85772-05 January 2018 Oracle Database Database In-Memory Guide, 12c Release 2 (12.2) E85772-05 Copyright 2016, 2018, Oracle and/or its affiliates.

More information

Oracle Database In-Memory with Oracle Database 12c Release 2

Oracle Database In-Memory with Oracle Database 12c Release 2 Oracle Database In-Memory with Oracle Database 12c Release 2 Technical Overview O R A C L E W H I T E P A P E R A U G U S T 2 0 1 7 Table of Contents Executive Overview 1 Intended Audience 1 Introduction

More information

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables)

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) March 12, 2013 Michael Rosenblum Dulcian, Inc. www.dulcian.com 1 of 43 Who Am I? Misha Oracle ACE Co-author of 2 books PL/SQL

More information

An Oracle White Paper October Advanced Compression with Oracle Database 11g

An Oracle White Paper October Advanced Compression with Oracle Database 11g An Oracle White Paper October 2011 Advanced Compression with Oracle Database 11g Oracle White Paper Advanced Compression with Oracle Database 11g Introduction... 3 Oracle Advanced Compression... 4 Compression

More information

This is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis.

This is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis. 1 This is the forth SAP MaxDB Expert Session and this session covers the topic database performance analysis. Analyzing database performance is a complex subject. This session gives an overview about the

More information

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option

Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option Optimize OLAP & Business Analytics Performance with Oracle 12c In-Memory Database Option Session ID: 1571 Prepared by: Kai Yu Senior Principal Engineer Dell Oracle Solutions Engineering Dell, Inc. @ky_austin1

More information

Introduction. Published in IOUG Select Magazine

Introduction. Published in IOUG Select Magazine Introduction Exadata Machine was first introduced by Oracle in 2008 and now it has become one of the most popular database platform to host Oracle databases. Exadata machine is like a mini data center

More information

An Oracle White Paper February Optimizing Storage for Oracle PeopleSoft Applications

An Oracle White Paper February Optimizing Storage for Oracle PeopleSoft Applications An Oracle White Paper February 2011 Optimizing Storage for Oracle PeopleSoft Applications Executive Overview Enterprises are experiencing an explosion in the volume of data required to effectively run

More information

Clean & Speed Up Windows with AWO

Clean & Speed Up Windows with AWO Clean & Speed Up Windows with AWO C 400 / 1 Manage Windows with this Powerful Collection of System Tools Every version of Windows comes with at least a few programs for managing different aspects of your

More information

Performance Innovations with Oracle Database In-Memory

Performance Innovations with Oracle Database In-Memory Performance Innovations with Oracle Database In-Memory Eric Cohen Solution Architect Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information

More information

Oracle Exadata: Strategy and Roadmap

Oracle Exadata: Strategy and Roadmap Oracle Exadata: Strategy and Roadmap - New Technologies, Cloud, and On-Premises Juan Loaiza Senior Vice President, Database Systems Technologies, Oracle Safe Harbor Statement The following is intended

More information

DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in

DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in versions 8 and 9. that must be used to measure, evaluate,

More information

Part 1: Indexes for Big Data

Part 1: Indexes for Big Data JethroData Making Interactive BI for Big Data a Reality Technical White Paper This white paper explains how JethroData can help you achieve a truly interactive interactive response time for BI on big data,

More information

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer ORACLG Oracle Press Oracle Database 12c Install, Configure & Maintain Like a Professional Ian Abramson Michael Abbey Michelle Malcher Michael Corey Mc Graw Hill Education New York Chicago San Francisco

More information

Historical Collection Best Practices. Version 2.0

Historical Collection Best Practices. Version 2.0 Historical Collection Best Practices Version 2.0 Ben Stern, Best Practices and Client Success Architect for Virtualization and Cloud bstern@us.ibm.com Copyright International Business Machines Corporation

More information

IBM DB2 BLU Acceleration vs. SAP HANA vs. Oracle Exadata

IBM DB2 BLU Acceleration vs. SAP HANA vs. Oracle Exadata Research Report IBM DB2 BLU Acceleration vs. SAP HANA vs. Oracle Exadata Executive Summary The problem: how to analyze vast amounts of data (Big Data) most efficiently. The solution: the solution is threefold:

More information

Oracle Performance Tuning. Overview of performance tuning strategies

Oracle Performance Tuning. Overview of performance tuning strategies Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use

More information

Automatic Parallel Execution Presented by Joel Goodman Oracle University EMEA

Automatic Parallel Execution Presented by Joel Goodman Oracle University EMEA Automatic Parallel Execution Presented by Joel Goodman Oracle University EMEA Copyright 2011, Oracle. All rights reserved. Topics Automatic Parallelism Parallel Statement Queuing In Memory Parallel Query

More information

Query Processing Models

Query Processing Models Query Processing Models Holger Pirk Holger Pirk Query Processing Models 1 / 43 Purpose of this lecture By the end, you should Understand the principles of the different Query Processing Models Be able

More information

Oracle Hyperion Profitability and Cost Management

Oracle Hyperion Profitability and Cost Management Oracle Hyperion Profitability and Cost Management Configuration Guidelines for Detailed Profitability Applications November 2015 Contents About these Guidelines... 1 Setup and Configuration Guidelines...

More information

An Introduction to Big Data Formats

An Introduction to Big Data Formats Introduction to Big Data Formats 1 An Introduction to Big Data Formats Understanding Avro, Parquet, and ORC WHITE PAPER Introduction to Big Data Formats 2 TABLE OF TABLE OF CONTENTS CONTENTS INTRODUCTION

More information

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

Copyright 2017, Oracle and/or its affiliates. All rights reserved. Using Oracle Columnar Technologies Across the Information Lifecycle Roger MacNicol Software Architect Data Storage Technology Safe Harbor Statement The following is intended to outline our general product

More information

Oracle Database In-Memory with Oracle Database 18c

Oracle Database In-Memory with Oracle Database 18c Oracle Database In-Memory with Oracle Database 18c Technical Overview ORACLE WHITE PAPER FEBRUARY 2018 Disclaimer The following is intended to outline our general product direction. It is intended for

More information