SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Doug Burns
    Introduction
    A Little History
    Exadata
    Oracle 11gR2
    Practicalities
    Summary




13/08/2012              Slide 2
    My real name is Douglas
      But only my family call me that


    My official intro is on the E4 website
      There is even a picture of a Cuddly Toy
      Please note that they are Cuddly not Plushy


    I'm from Scotland which is part of Great Britain
      Not Ireland
      Definitely not English


    Speaking of where I'm from …
13/08/2012                                              Slide 3
 Is         a liar

 Is   offering you a useful
     simplification

 Doesn't   have much faith in your
     knowledge of British geography
13/08/2012                            Slide 4
    From https://twitter.com/TheTumshie/status/227488415061508097/photo/1
13/08/2012                                                             Slide 5
13/08/2012   Slide 6
13/08/2012   Slide 7
    Because Tanel asked

    I've worked with Exadata V2 and X2 in high-throughput
     Production environments for the past two years
      2 x Half-Rack V2
      Full-Rack V2
      Lots of Quarter-Rack X2-2s on the way

    I have a long-standing interest in Parallel Execution
      Not that the two went together particularly well at this client


    It saved you all the bitter 'early V2 experiences' diatribe

13/08/2012                                                               Slide 8
    This presentation will include opinions

    I will not regurgitate large chunks of the documentation,
     Oracle White Papers or Expert Oracle Exadata

    Client use of Parallelism on Exadata has been more
     limited than I expected




13/08/2012                                                  Slide 9
    Introduction
    A Little History
    Exadata
    Oracle 11gR2
    Practicalities
    Summary




13/08/2012              Slide 10
    First time I heard of Oracle Parallel Query was in 1993
      Boss returned quite giddy from IOUG Conference


    Was a while longer before it was released in 7.1.6 and
     didn't hear much about it until 1996
      Dev DBA decided it would be a really cool thing to try out
      V7.3 time-frame
      Was switched off not long afterwards


    I've worked on many Data Warehouses so have been
     interested in Parallelism, Stats Collection etc for a long
     time
13/08/2012                                                          Slide 11
    Tuning Parallel Execution
         http://oracledoug.com/px.pdf
         Parallel Adaptive Multi-User debate with Tom Kyte

        SELECT name, value FROM v$sysstat WHERE name LIKE 'Parallel%';
        NAME                                                    VALUE
        --------------------------------------------------     ------
        Parallel operations not downgraded                     546353
        Parallel operations downgraded to serial                  432
        Parallel operations downgraded 75 to 99 pct               790
        Parallel operations downgraded 50 to 75 pct              1454
        Parallel operations downgraded 25 to 50 pct              7654
        Parallel operations downgraded 1 to 25 pct              11873


    ▪     Downgraded to serial could be a particular problem!
    ▪     PX is great at delivering blistering but inconsistent performance
13/08/2012                                                               Slide 12
    How Many Slaves?
      http://oracledoug.com/px_slaves.pdf
      Parallel Execution and the Magic of Two
      Inspired by Cary Millsap's work on the Magic of Two for batch-
         type processes
        Sharply diminishing returns with higher DOPs
        ISP4400 quad-socket server with 4 x SCSI Ultra 160
        E10k with 5 disk stripe-set on EMC array
        Had never seen many benefits of DOPs over 2-4, confirmed by
         feedback on the paper
        PX is great at uncovering storage bottlenecks


13/08/2012                                                         Slide 13
    Introduction
    A Little History
    Exadata
    Oracle 11gR2
    Practicalities
    Summary




13/08/2012              Slide 14
(Insert Mandatory slide here
                with a pretty picture of
                  a full-rack X2-2 and
                lots of very impressive
                 throughput numbers)

13/08/2012                                  Slide 15
    The most common real world Parallel Query limitation in
     my experience of numerous sites was storage
     bandwidth

    Exadata can certainly reduce that!
      Not necessarily better than other modern storage solutions
      Dedicated to Oracle and controlled by a dedicated team
      Smart Scan reduces bandwidth pressure by reducing traffic
      Balanced Configuration


    Despite Oracle and the market deciding it's a mixed-
     workload/consolidation platform, it excels as a DW one
13/08/2012                                                          Slide 16
13/08/2012   Slide 17
    Introduction
    A Little History
    Exadata
    Oracle 11gR2
    Practicalities
    Summary




13/08/2012              Slide 18
    Exadata implies Oracle 11gR2
      Let's all try to forget 11.2.0.1 as soon as possible
      Assume 11.2.0.2


    Lots of new Parallel features
      Auto DOP
      Statement Queuing
      In-memory Parallel Query




13/08/2012                                                    Slide 19
    Let Oracle decide what is the most-appropriate Degree
     of Parallelism (DOP) for queries

    Set parallel_degree_policy to
      LIMITED – Calculates DOP where objects have PARALLEL set
       to DEFAULT
      AUTO – Calculates DOP for all objects, potentially


    Default parallel_min_time_threshold is 10 seconds
      Anything estimated to run for less time will not be considered


    Auto-DOP will not work until you have run CALIBRATE_IO
13/08/2012                                                              Slide 20
    Procedure in DBMS_RESOURCE_MANAGER
      Support Note 727062.1


    Oracle Best Practice advice in Support Note 1297112.1
     is to set MAX_PMBPS to 200 on Exadata
      Manual Update of resource_io_calibrate$
      Restart each Instance




13/08/2012                                             Slide 21
    Parallel_degree_limit

    Absolute DOP limit for an individual query

    Default is CPU
      parallel_threads_per_cpu * cpu_count * active_instance_count


    Can set it to a fixed value




13/08/2012                                                       Slide 22
    The problems with Parallel Adaptive Multi-User (PAMU)
      Aggressive
      DOP determined at run-time


    Alternative approach
      If slaves are available, then
         ▪ Use as many resources as possible
         ▪ Complete and let others in


      If slaves are unavailable then queue until they are


    Degraded DOP not decided at run-time

13/08/2012                                                   Slide 23
    Set parallel_degree_policy to
      AUTO


    But that includes Auto-DOP and In-Memory PQ
      _parallel_statement_queuing = TRUE


    Alternatively – enable/disable at query-level using hints
      /*+ NO_STMT_QUEUING */
      /*+ STMT_QUEUING */


    Waits on 'resmgr:pq queued' event (Scheduler)

13/08/2012                                                 Slide 24
    The flip-side of the fact we can now do Direct Path
     Reads for queries executed Serially

    Can now use reads into the Buffer Cache for Parallel
     Queries

    Uses aggregated Buffer Cache across RAC cluster
      But also works single-instance




13/08/2012                                                  Slide 25
13/08/2012   Slide 26
    Introduction
    A Little History
    Exadata
    Oracle 11gR2
    Practicalities
    Summary




13/08/2012              Slide 27
    Exadata nodes are not that powerful

    Exadata storage and Flash Cache are not necessarily
     state-of-the art

    Lots of quarter-racks out there
      Companies are cheap ;-)


    Kind of reasonable to partition workloads.
      Technically, separating heavy write and read workloads probably
        makes sense, but …


13/08/2012                                                        Slide 28
Node 2
                 Node 1
                               Read/Reporting Workload
             Write workload
                                       App A




                                       Node 4
            Node 3
                               Read/Reporting Workload
     Read/Reporting Workload
                                       App B
             App A
                                    plus Standby
13/08/2012                                           Slide 29
    Remember those users who hate inconsistent response
     times?

    Parallel Statement Queuing

    Some visibility in OEM Performance Pages

    Plenty of information in V$ views but not very useful to
     users!

    Support Note 1359043.1 contains queries to help
     monitor Statement Queuing
13/08/2012                                                 Slide 30
13/08/2012   Slide 31
    Well, we're not doing Direct Path Reads any more
      So we're not using Smart Scan any more


    Tricky to get working properly

    Needs to be pay-back

    If you get a lot of pay-back, is Exadata really the way to
     go? Aren't these two different kinds of system?




13/08/2012                                                  Slide 32
    Introduction
    A Little History
    Exadata
    Oracle 11gR2
    Practicalities
    Summary




13/08/2012              Slide 33
    Exadata is very likely to be better than previous solution

    The bigger the rack, the better

    Cross-instance Parallelism for truly impressive results

    One method of driving towards Direct Path Reads to
     take advantage of Smart Scan




13/08/2012                                                  Slide 34
    Auto-DOP

    Statement Queuing

    Balance cache benefits of In-Memory PQ against initial
     read overhead




13/08/2012                                               Slide 35
    "Oracle Database Parallel Execution Fundamentals"
      Oracle Corp. White Paper – 11gR2 focus


    Oracle Support Notes
      1297112.1 – Best Practices for DW on X2-2
         727062.1 – CALIBRATE_IO
        1264548.1 – New 11gR2 Parallel Query Parameters
        1269321.1 – Auto-DOP
        1340180.1 – Recommended patches for PX Statement Queuing
        1359043.1 – Configure Statement Queuing for mixed workloads

    Chapter 6 of Expert Oracle Exadata
13/08/2012                                                       Slide 36
    To various people at Oracle who keep working
     on improving this stuff

    To Enkitec for taking such good care of the
     speakers

    To you, for your time

    P.S. If you really want me to explain what's going on with the toys ...


13/08/2012                                                             Slide 37
Mail: dougburns@yahoo.com
Twitter: @orcldoug
Web: http://oracledoug.com

Weitere ähnliche Inhalte

Was ist angesagt?

監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜Michitoshi Yoshida
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksMarkus Michalewicz
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cZohar Elkayam
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
Same plan different performance
Same plan different performanceSame plan different performance
Same plan different performanceMauro Pagano
 
A Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in ExadataA Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in ExadataEmre Baransel
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder
 
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ OracleUnderstanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ OracleGuatemala User Group
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsJohn Beresniewicz
 
Adapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12cAdapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12cMauro Pagano
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN Riyaj Shamsudeen
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
バックアップ時の問題から学んだDBエンジニアに必要なスキルとは
バックアップ時の問題から学んだDBエンジニアに必要なスキルとはバックアップ時の問題から学んだDBエンジニアに必要なスキルとは
バックアップ時の問題から学んだDBエンジニアに必要なスキルとはTakeshiYamamoto2049
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 

Was ist angesagt? (20)

監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜
 
AWR and ASH Deep Dive
AWR and ASH Deep DiveAWR and ASH Deep Dive
AWR and ASH Deep Dive
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Same plan different performance
Same plan different performanceSame plan different performance
Same plan different performance
 
A Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in ExadataA Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in Exadata
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
 
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ OracleUnderstanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Adapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12cAdapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12c
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
バックアップ時の問題から学んだDBエンジニアに必要なスキルとは
バックアップ時の問題から学んだDBエンジニアに必要なスキルとはバックアップ時の問題から学んだDBエンジニアに必要なスキルとは
バックアップ時の問題から学んだDBエンジニアに必要なスキルとは
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 

Andere mochten auch

R programming for psychometrics
R programming for psychometricsR programming for psychometrics
R programming for psychometricsDiane Talley
 
Oracle Exadata - Issues and Challenges
Oracle Exadata - Issues and ChallengesOracle Exadata - Issues and Challenges
Oracle Exadata - Issues and Challengescomahony
 
SAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA TutorialSAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA TutorialZaranTech LLC
 
Think Exa!
Think Exa!Think Exa!
Think Exa!Enkitec
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)Gustavo Rene Antunez
 
Netezza vs Teradata vs Exadata
Netezza vs Teradata vs ExadataNetezza vs Teradata vs Exadata
Netezza vs Teradata vs ExadataAsis Mohanty
 

Andere mochten auch (6)

R programming for psychometrics
R programming for psychometricsR programming for psychometrics
R programming for psychometrics
 
Oracle Exadata - Issues and Challenges
Oracle Exadata - Issues and ChallengesOracle Exadata - Issues and Challenges
Oracle Exadata - Issues and Challenges
 
SAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA TutorialSAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA Tutorial
 
Think Exa!
Think Exa!Think Exa!
Think Exa!
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
Netezza vs Teradata vs Exadata
Netezza vs Teradata vs ExadataNetezza vs Teradata vs Exadata
Netezza vs Teradata vs Exadata
 

Ähnlich wie Parallel Query on Exadata

Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewMarkus Michalewicz
 
Trouble shooting Storage Area Networks for virtualisation deployments
Trouble shooting Storage Area Networks for virtualisation deploymentsTrouble shooting Storage Area Networks for virtualisation deployments
Trouble shooting Storage Area Networks for virtualisation deploymentsKevin Walker
 
My sql fabric webinar tw2
My sql fabric webinar tw2My sql fabric webinar tw2
My sql fabric webinar tw2Ivan Tu
 
Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014
Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014
Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014Dave Stokes
 
Open world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learnedOpen world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learnedchet justice
 
OSI_MySQL_Performance Schema
OSI_MySQL_Performance SchemaOSI_MySQL_Performance Schema
OSI_MySQL_Performance SchemaMayank Prasad
 
B7 accelerating your business with oracle data integration solutions
B7   accelerating your business with oracle data integration solutionsB7   accelerating your business with oracle data integration solutions
B7 accelerating your business with oracle data integration solutionsDr. Wilfred Lin (Ph.D.)
 
Architecting for a cost effective Windows Azure solution
Architecting for a cost effective Windows Azure solutionArchitecting for a cost effective Windows Azure solution
Architecting for a cost effective Windows Azure solutionMaarten Balliauw
 
Katello on TorqueBox
Katello on TorqueBoxKatello on TorqueBox
Katello on TorqueBoxlzap
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Connor McDonald
 
New PLSQL in Oracle Database 12c
New PLSQL in Oracle Database 12cNew PLSQL in Oracle Database 12c
New PLSQL in Oracle Database 12cConnor McDonald
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Ludovico Caldara
 
Oracle 12c Multi Process Multi Threaded
Oracle 12c Multi Process Multi ThreadedOracle 12c Multi Process Multi Threaded
Oracle 12c Multi Process Multi ThreadedMarkus Flechtner
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
 
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Performance Tuning Corporation
 
DPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. MeltonDPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. Meltonharryvanhaaren
 

Ähnlich wie Parallel Query on Exadata (20)

Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 
Trouble shooting Storage Area Networks for virtualisation deployments
Trouble shooting Storage Area Networks for virtualisation deploymentsTrouble shooting Storage Area Networks for virtualisation deployments
Trouble shooting Storage Area Networks for virtualisation deployments
 
My sql fabric webinar tw2
My sql fabric webinar tw2My sql fabric webinar tw2
My sql fabric webinar tw2
 
Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014
Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014
Scaling MySQl 1 to N Servers -- Los Angelese MySQL User Group Feb 2014
 
PostgreSQL replication
PostgreSQL replicationPostgreSQL replication
PostgreSQL replication
 
Open world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learnedOpen world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learned
 
OSI_MySQL_Performance Schema
OSI_MySQL_Performance SchemaOSI_MySQL_Performance Schema
OSI_MySQL_Performance Schema
 
B7 accelerating your business with oracle data integration solutions
B7   accelerating your business with oracle data integration solutionsB7   accelerating your business with oracle data integration solutions
B7 accelerating your business with oracle data integration solutions
 
Architecting for a cost effective Windows Azure solution
Architecting for a cost effective Windows Azure solutionArchitecting for a cost effective Windows Azure solution
Architecting for a cost effective Windows Azure solution
 
Katello on TorqueBox
Katello on TorqueBoxKatello on TorqueBox
Katello on TorqueBox
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
New PLSQL in Oracle Database 12c
New PLSQL in Oracle Database 12cNew PLSQL in Oracle Database 12c
New PLSQL in Oracle Database 12c
 
Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?Oracle Active Data Guard 12cR2. Is it the best option?
Oracle Active Data Guard 12cR2. Is it the best option?
 
Oracle 12c Multi Process Multi Threaded
Oracle 12c Multi Process Multi ThreadedOracle 12c Multi Process Multi Threaded
Oracle 12c Multi Process Multi Threaded
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
 
DPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. MeltonDPDK Integration: A Product's Journey - Roger B. Melton
DPDK Integration: A Product's Journey - Roger B. Melton
 
Session 203 iouc summit database
Session 203 iouc summit databaseSession 203 iouc summit database
Session 203 iouc summit database
 

Mehr von Enkitec

Using Angular JS in APEX
Using Angular JS in APEXUsing Angular JS in APEX
Using Angular JS in APEXEnkitec
 
Controlling execution plans 2014
Controlling execution plans   2014Controlling execution plans   2014
Controlling execution plans 2014Enkitec
 
Engineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEngineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEnkitec
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneEnkitec
 
In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1Enkitec
 
Mini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingMini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingEnkitec
 
Profiling Oracle with GDB
Profiling Oracle with GDBProfiling Oracle with GDB
Profiling Oracle with GDBEnkitec
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeEnkitec
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
SQL Tuning Tools of the Trade
SQL Tuning Tools of the TradeSQL Tuning Tools of the Trade
SQL Tuning Tools of the TradeEnkitec
 
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityEnkitec
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceEnkitec
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture PerformanceEnkitec
 
APEX Security Primer
APEX Security PrimerAPEX Security Primer
APEX Security PrimerEnkitec
 
How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?Enkitec
 
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Enkitec
 
Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)Enkitec
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writerEnkitec
 
Fatkulin hotsos 2014
Fatkulin hotsos 2014Fatkulin hotsos 2014
Fatkulin hotsos 2014Enkitec
 
Combining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM StabilityCombining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM StabilityEnkitec
 

Mehr von Enkitec (20)

Using Angular JS in APEX
Using Angular JS in APEXUsing Angular JS in APEX
Using Angular JS in APEX
 
Controlling execution plans 2014
Controlling execution plans   2014Controlling execution plans   2014
Controlling execution plans 2014
 
Engineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEngineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service Demonstration
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry Osborne
 
In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1
 
Mini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingMini Session - Using GDB for Profiling
Mini Session - Using GDB for Profiling
 
Profiling Oracle with GDB
Profiling Oracle with GDBProfiling Oracle with GDB
Profiling Oracle with GDB
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
SQL Tuning Tools of the Trade
SQL Tuning Tools of the TradeSQL Tuning Tools of the Trade
SQL Tuning Tools of the Trade
 
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
 
APEX Security Primer
APEX Security PrimerAPEX Security Primer
APEX Security Primer
 
How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?
 
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
 
Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writer
 
Fatkulin hotsos 2014
Fatkulin hotsos 2014Fatkulin hotsos 2014
Fatkulin hotsos 2014
 
Combining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM StabilityCombining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM Stability
 

Kürzlich hochgeladen

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Parallel Query on Exadata

  • 2. Introduction  A Little History  Exadata  Oracle 11gR2  Practicalities  Summary 13/08/2012 Slide 2
  • 3. My real name is Douglas  But only my family call me that  My official intro is on the E4 website  There is even a picture of a Cuddly Toy  Please note that they are Cuddly not Plushy  I'm from Scotland which is part of Great Britain  Not Ireland  Definitely not English  Speaking of where I'm from … 13/08/2012 Slide 3
  • 4.  Is a liar  Is offering you a useful simplification  Doesn't have much faith in your knowledge of British geography 13/08/2012 Slide 4
  • 5. From https://twitter.com/TheTumshie/status/227488415061508097/photo/1 13/08/2012 Slide 5
  • 6. 13/08/2012 Slide 6
  • 7. 13/08/2012 Slide 7
  • 8. Because Tanel asked  I've worked with Exadata V2 and X2 in high-throughput Production environments for the past two years  2 x Half-Rack V2  Full-Rack V2  Lots of Quarter-Rack X2-2s on the way  I have a long-standing interest in Parallel Execution  Not that the two went together particularly well at this client  It saved you all the bitter 'early V2 experiences' diatribe 13/08/2012 Slide 8
  • 9. This presentation will include opinions  I will not regurgitate large chunks of the documentation, Oracle White Papers or Expert Oracle Exadata  Client use of Parallelism on Exadata has been more limited than I expected 13/08/2012 Slide 9
  • 10. Introduction  A Little History  Exadata  Oracle 11gR2  Practicalities  Summary 13/08/2012 Slide 10
  • 11. First time I heard of Oracle Parallel Query was in 1993  Boss returned quite giddy from IOUG Conference  Was a while longer before it was released in 7.1.6 and didn't hear much about it until 1996  Dev DBA decided it would be a really cool thing to try out  V7.3 time-frame  Was switched off not long afterwards  I've worked on many Data Warehouses so have been interested in Parallelism, Stats Collection etc for a long time 13/08/2012 Slide 11
  • 12. Tuning Parallel Execution  http://oracledoug.com/px.pdf  Parallel Adaptive Multi-User debate with Tom Kyte SELECT name, value FROM v$sysstat WHERE name LIKE 'Parallel%'; NAME VALUE -------------------------------------------------- ------ Parallel operations not downgraded 546353 Parallel operations downgraded to serial 432 Parallel operations downgraded 75 to 99 pct 790 Parallel operations downgraded 50 to 75 pct 1454 Parallel operations downgraded 25 to 50 pct 7654 Parallel operations downgraded 1 to 25 pct 11873 ▪ Downgraded to serial could be a particular problem! ▪ PX is great at delivering blistering but inconsistent performance 13/08/2012 Slide 12
  • 13. How Many Slaves?  http://oracledoug.com/px_slaves.pdf  Parallel Execution and the Magic of Two  Inspired by Cary Millsap's work on the Magic of Two for batch- type processes  Sharply diminishing returns with higher DOPs  ISP4400 quad-socket server with 4 x SCSI Ultra 160  E10k with 5 disk stripe-set on EMC array  Had never seen many benefits of DOPs over 2-4, confirmed by feedback on the paper  PX is great at uncovering storage bottlenecks 13/08/2012 Slide 13
  • 14. Introduction  A Little History  Exadata  Oracle 11gR2  Practicalities  Summary 13/08/2012 Slide 14
  • 15. (Insert Mandatory slide here with a pretty picture of a full-rack X2-2 and lots of very impressive throughput numbers) 13/08/2012 Slide 15
  • 16. The most common real world Parallel Query limitation in my experience of numerous sites was storage bandwidth  Exadata can certainly reduce that!  Not necessarily better than other modern storage solutions  Dedicated to Oracle and controlled by a dedicated team  Smart Scan reduces bandwidth pressure by reducing traffic  Balanced Configuration  Despite Oracle and the market deciding it's a mixed- workload/consolidation platform, it excels as a DW one 13/08/2012 Slide 16
  • 17. 13/08/2012 Slide 17
  • 18. Introduction  A Little History  Exadata  Oracle 11gR2  Practicalities  Summary 13/08/2012 Slide 18
  • 19. Exadata implies Oracle 11gR2  Let's all try to forget 11.2.0.1 as soon as possible  Assume 11.2.0.2  Lots of new Parallel features  Auto DOP  Statement Queuing  In-memory Parallel Query 13/08/2012 Slide 19
  • 20. Let Oracle decide what is the most-appropriate Degree of Parallelism (DOP) for queries  Set parallel_degree_policy to  LIMITED – Calculates DOP where objects have PARALLEL set to DEFAULT  AUTO – Calculates DOP for all objects, potentially  Default parallel_min_time_threshold is 10 seconds  Anything estimated to run for less time will not be considered  Auto-DOP will not work until you have run CALIBRATE_IO 13/08/2012 Slide 20
  • 21. Procedure in DBMS_RESOURCE_MANAGER  Support Note 727062.1  Oracle Best Practice advice in Support Note 1297112.1 is to set MAX_PMBPS to 200 on Exadata  Manual Update of resource_io_calibrate$  Restart each Instance 13/08/2012 Slide 21
  • 22. Parallel_degree_limit  Absolute DOP limit for an individual query  Default is CPU  parallel_threads_per_cpu * cpu_count * active_instance_count  Can set it to a fixed value 13/08/2012 Slide 22
  • 23. The problems with Parallel Adaptive Multi-User (PAMU)  Aggressive  DOP determined at run-time  Alternative approach  If slaves are available, then ▪ Use as many resources as possible ▪ Complete and let others in  If slaves are unavailable then queue until they are  Degraded DOP not decided at run-time 13/08/2012 Slide 23
  • 24. Set parallel_degree_policy to  AUTO  But that includes Auto-DOP and In-Memory PQ  _parallel_statement_queuing = TRUE  Alternatively – enable/disable at query-level using hints  /*+ NO_STMT_QUEUING */  /*+ STMT_QUEUING */  Waits on 'resmgr:pq queued' event (Scheduler) 13/08/2012 Slide 24
  • 25. The flip-side of the fact we can now do Direct Path Reads for queries executed Serially  Can now use reads into the Buffer Cache for Parallel Queries  Uses aggregated Buffer Cache across RAC cluster  But also works single-instance 13/08/2012 Slide 25
  • 26. 13/08/2012 Slide 26
  • 27. Introduction  A Little History  Exadata  Oracle 11gR2  Practicalities  Summary 13/08/2012 Slide 27
  • 28. Exadata nodes are not that powerful  Exadata storage and Flash Cache are not necessarily state-of-the art  Lots of quarter-racks out there  Companies are cheap ;-)  Kind of reasonable to partition workloads.  Technically, separating heavy write and read workloads probably makes sense, but … 13/08/2012 Slide 28
  • 29. Node 2 Node 1 Read/Reporting Workload Write workload App A Node 4 Node 3 Read/Reporting Workload Read/Reporting Workload App B App A plus Standby 13/08/2012 Slide 29
  • 30. Remember those users who hate inconsistent response times?  Parallel Statement Queuing  Some visibility in OEM Performance Pages  Plenty of information in V$ views but not very useful to users!  Support Note 1359043.1 contains queries to help monitor Statement Queuing 13/08/2012 Slide 30
  • 31. 13/08/2012 Slide 31
  • 32. Well, we're not doing Direct Path Reads any more  So we're not using Smart Scan any more  Tricky to get working properly  Needs to be pay-back  If you get a lot of pay-back, is Exadata really the way to go? Aren't these two different kinds of system? 13/08/2012 Slide 32
  • 33. Introduction  A Little History  Exadata  Oracle 11gR2  Practicalities  Summary 13/08/2012 Slide 33
  • 34. Exadata is very likely to be better than previous solution  The bigger the rack, the better  Cross-instance Parallelism for truly impressive results  One method of driving towards Direct Path Reads to take advantage of Smart Scan 13/08/2012 Slide 34
  • 35. Auto-DOP  Statement Queuing  Balance cache benefits of In-Memory PQ against initial read overhead 13/08/2012 Slide 35
  • 36. "Oracle Database Parallel Execution Fundamentals"  Oracle Corp. White Paper – 11gR2 focus  Oracle Support Notes  1297112.1 – Best Practices for DW on X2-2  727062.1 – CALIBRATE_IO  1264548.1 – New 11gR2 Parallel Query Parameters  1269321.1 – Auto-DOP  1340180.1 – Recommended patches for PX Statement Queuing  1359043.1 – Configure Statement Queuing for mixed workloads  Chapter 6 of Expert Oracle Exadata 13/08/2012 Slide 36
  • 37. To various people at Oracle who keep working on improving this stuff  To Enkitec for taking such good care of the speakers  To you, for your time  P.S. If you really want me to explain what's going on with the toys ... 13/08/2012 Slide 37