Die Wundertüte DBMS_STATS: Überraschungen in der Praxis
|
|
- Anis Newman
- 5 years ago
- Views:
Transcription
1 Die Wundertüte DBMS_STATS: Überraschungen in der Praxis, 14. Mai 2018 Dani Schnider, Trivadis danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
2 Dani Schnider Working for Trivadis in Glattbrugg/Zurich Senior Principal Consultant Data Warehouse Lead Architect Trainer of several Courses Co-Author of the books Data Warehousing mit Oracle Data Warehouse Blueprints Certified Data Vault Data Modeler Oracle danischnider.wordpress.com
3 DBMS_STATS
4 A Short History of DBMS_STATS 4 Oracle 8i Gather / Delete Object Statistics Set / Get Statistic Values Export / Import Statistics Oracle 9i Gather / Delete System Statistics Oracle 10g Automatic Statistics Gathering Job Dictionary / Fixed Objects Statistics Locking Statistics Statistics History Set / Get Parameters Oracle 11g Statistics Preferences Pending Statistics Extended Statistics Incremental Statistics Oracle 12c Additional Preferences New Synopsis Calculation (12.2) Optimizer Statistics Advisor (12.2)
5 Histograms
6 Histograms: Statistics about Data Distribution Useful for columns with skewed data distribution Histogram contains multiple buckets Until Oracle 11g: 254 Since Oracle 12c: 2048 Different histogram types Frequency histograms Rows AD BG CH DK GB HT JP MA NC PE RW SY UY Country Height-balanced histograms Top-frequency histograms Hybrid histograms
7 Histograms: Parameter METHOD_OPT Parameter to define histograms SIZE: number of buckets resp REPEAT AUTO SKEWONLY Example: dbms_stats.gather_table_stats ( ownname => USER, tabname => 'ADDRESSES', method_opt => 'FOR ALL COLUMNS SIZE SKEWONLY');
8 Histograms: Real-Life Example What is wrong here? DBMS_STATS.gather_schema_stats ( ownname => 'APPL_USER', estimate_percent => 5, method_opt => 'FOR ALL INDEXED COLUMNS SIZE 254', cascade => TRUE, degree => DBMS_STATS.default_degree );
9 Histograms: Real-Life Example What is wrong here? DBMS_STATS.gather_schema_stats ( ownname => 'APPL_USER', estimate_percent => 5 DBMS_STATS.auto_sample_size, method_opt => 'FOR ALL INDEXED COLUMNS SIZE 254' SKEWONLY', cascade => TRUE, degree => DBMS_STATS.default_degree );
10 Histograms: Lessons Learned Avoid FOR ALL INDEXED COLUMNS (or column statistics will be missing) Number of buckets can be less then SIZE number for frequency histograms SIZE AUTO (Default) works only on used columns User SIZE SKEWONLY if possible Oracle 12c: Use AUTO_SAMPLE_SIZE for new histogram types SIZE AUTO / SKEWONLY still create maximum of 254 buckets
11 Gathering Statistics in ETL Jobs
12 Statistics Gathering in ETL Job T1 T ETL Job T DBMS_STATS.gather_table_stats (ownname => 'DWH',tabname => 'T1'); DBMS_STATS.gather_table_stats (ownname => 'DWH',tabname => 'T2'); INSERT STATEMENT INSERT T HASH JOIN TABLE ACCESS FULL T TABLE ACCESS FULL T
13 Statistics Gathering in ETL Job The Next Day... T1 T2 2 ETL Job T3 DBMS_STATS.gather_table_stats (ownname => 'DWH',tabname => 'T1'); DBMS_STATS.gather_table_stats (ownname => 'DWH',tabname => 'T2'); INSERT STATEMENT 2 2 INSERT T3 2 3 NESTED LOOP 2 4 TABLE ACCESS FULL T1 2 5 TABLE ACCESS FULL T
14 Statistics Gathering in ETL Job Rerun T1 T ETL Job T3 DBMS_STATS.gather_table_stats (ownname => 'DWH',tabname => 'T1'); DBMS_STATS.gather_table_stats (ownname => 'DWH',tabname => 'T2'); INSERT STATEMENT 2 2 INSERT T3 2 3 NESTED LOOP 2 4 TABLE ACCESS FULL T1 2 5 TABLE ACCESS FULL T
15 Why is the Old Execution Plan Used? no_invalidate Does not invalidate the dependent cursors if set to TRUE. The procedure invalidates the dependent cursors immediately if set to FALSE. Use DBMS_STATS.AUTO_INVALIDATE to have Oracle decide when to invalidate dependent cursors. This is the default. Oracle Database PL/SQL Packages and Types Reference 11g Release 2 (11.2) DBMS_STATS.gather_table_stats (ownname => 'STG',tabname => 'T1',no_invalidate => FALSE); DBMS_STATS.gather_table_stats (ownname => 'STG',tabname => 'T2',no_invalidate => FALSE);
16 Gathering Statistics in ETL Jobs: Lessons Learned Object statistics should be gathered as part of every ETL job Loaded table can be used as input for next ETL jobs Disable automatic gathering job when ETL runs in the night Default behavior of NO_INVALIDATE not suitable for ETL jobs Recommendation: no_invalidate => FALSE Oracle 12c: Online Statistics Gathering used for CREATE TABLE AS SELECT Direct-Path INSERT into empty table (after TRUNCATE)
17 Incremental Statistics
18 Global Statistics Global statistics are essential for good execution plans num_distinct, low_value, high_value, density, histograms Gathering global statistics is time-consuming All partitions must be scanned Jan 18 Feb 18 Mar 18 Apr 18 Mai 18 Jun 18 Jul 18 Aug 18 Sep 18 Oct 18 gather statistics for current partition gather global statistics Data Dictionary
19 Incremental Global Statistics Synopsis-based gathering of statistics (since Oracle 11g) For each partition a synopsis is stored in SYSAUX tablespace Statistics metadata for partition and columns of partition Global statistics by aggregating the synopses from each partition Jan 18 Feb 18 Mar 18 Apr 18 Mai 18 Jun 18 Jul 18 Aug 18 Sep 18 Oct 18 gather statistics for current partition gather incremental global statistics synopsis
20 Synopsis Tables Two tables in SYSAUX tablespace: WRI$_OPTSTAT_SYNOPSIS_HEAD$ One row per table/partition/column WRI$_OPTSTAT_SYNOPSIS$ One row per distinct value Since Oracle 12.1, this table is LIST- HASH partitioned per table/partition In Oracle 12.2, this table is only used for backward compatibility (see later)
21 Some Key Figures of a Customer Data Warehouse Oracle Database Enterprise Edition on Exadata Data Warehouse with around 24 TB of data 891 partitioned tables, most of them with INTERVAL daily partitions Total of partitions (state end of November 2017) 21 Synopsis Table Rows Size WRI$_OPTSTAT_SYNOPSIS_HEAD$ MB WRI$_OPTSTAT_SYNOPSIS$ GB
22 Gathering Incremental Statistics Gathering statistics with DBMS_STATS is very slow This query was always on the Top Activity list of SQL statments SELECT DISTINCT BO#, GROUP# FROM SYS.WRI$_OPTSTAT_SYNOPSIS_HEAD$ H WHERE GROUP# <> 0 AND GROUP# NOT IN (SELECT T.OBJ# * 2 FROM SYS.TABPART$ T UNION ALL SELECT T.OBJ# * 2 FROM SYS.TABCOMPART$ T )
23 Bugs, Bugs, Bugs Examples: (13-OCT-2017) Patch : PERFORMANCE ISSUE WITH RECLAIM_SYNOPSIS_SPACE (01-NOV-2017) Patch : KN:LNX:PERFORMANCE ISSUE WHEN RUNNING GATHER TABLE STATS WITH INCREMENTAL STATS (10-OCT-2017) Patch : INCREMENTAL STATS GATHER REPEATEDLY GATHERING ON SAME PARTITIONS
24 Our Solution on Oracle 12.1 Disable Incremental Statistics Weekly job every Sunday to gather global statistics Waiting for Oracle 12.2 or Oracle 18c
25 Synopsis Calculation ( Oracle 12.1) Synopsis calculation with Adaptive Sampling Number of distinct values (NDV) stored in WRI$_OPTSTAT_SYNOPSIS$ Size of synopsis tables: WRI$_OPTSTAT_SYNOPSIS_HEAD$ rows = number of partitions number of columns WRI$_OPTSTAT_SYNOPSIS$ rows = ;<=>?@ AB CAD<=;E CADF G NDV(col)
26 Synopsis Calculation ( Oracle 12.2) Synopsis calculation with HyperLogLog (HLL) algorithm Approximate NDV stored in WRI$_OPTSTAT_SYNOPSIS_HEAD$ Size of synopsis tables: WRI$_OPTSTAT_SYNOPSIS_HEAD$ rows = number of partitions number of columns WRI$_OPTSTAT_SYNOPSIS$ rows =
27 Configuration of Synopsis Calculation in Oracle 12.2 Set Optimizer Statistics Preferences in DBMS_STATS DBMS_STATS.set_database_prefs('APPROXIMATE_NDV_ALGORITHM', '<value>') DBMS_STATS.set_global_prefs('APPROXIMATE_NDV_ALGORITHM', '<value>') DBMS_STATS.set_schema_prefs('<schema>', 'APPROXIMATE_NDV_ALGORITHM', '<value>') DBMS_STATS.set_table_prefs('<schema>','<table>','APPROXIMATE_NDV_ALGORITHM','<value>') Values for APPROXIMATE_NDV_ALGORITHM: 'REPEAT OR HYPERLOGLOG' 'ADAPTIVE SAMPLING' 'HYPERLOGLOG' Preserve format for existing tables, create new tables with HyperLogLog (Default) Adaptive sampling is used for all synopses HyperLogLog is used for all new and stale synopses
28 Incremental Statistics: Lessons Learned Incremental Statistics can be problematic for tables with very high number of partitions Oracle 12.2: Reduced space requirements in tablespace SYSAUX WRI$_OPTSTAT_SYNOPSIS$ not needed anymore WRI$_OPTSTAT_SYNOPSIS_HEAD$ grows (blob column SPARE2) Better performance for gathering incremental statistics Problems of Oracle 12.1 seem to be solved HyperLogLog algorithm is very efficient
29 Bonus Demo
30 Bonus Demo What do you expect after this DBMS_STATS call? BEGIN DBMS_STATS.gather_table_stats ( ownname => USER, tabname => 'ADDRESSES', estimate_percent => 0.01, method_opt => 'FOR ALL COLUMNS SIZE 2', cascade => FALSE ); END;
31 DBMS_STATS Preferences The behavior of DBMS_STATS and many parameters can be set with preferences: For all existing tables in the database DBMS_STATS.set_database_prefs('<preference>', '<value>') For all existing tables of a schema DBMS_STATS.set_schema_prefs('<schema>', '<preference>', '<value>') For a particular table DBMS_STATS.set_table_prefs('<schema>','<table>','<preference>','<value>') For all new objects in the database DBMS_STATS.set_global_prefs('<preference>', '<value>')
32 DBMS_STATS Preferences APPROXIMATE_NDV_ALGORITHM REPEAT OR HYPERLOGLOG Oracle 12.2 AUTO_STAT_EXTENSIONS OFF Oracle 12.2 CASCADE TRUE DBMS_STATS.AUTO_CASCADE Oracle 10.1 CONCURRENT OFF Oracle 12.1 DEGREE NULL Oracle 10.1 ESTIMATE_PERCENT DBMS_STATS.AUTO_SAMPLE_SIZE Oracle 10.1 GLOBAL_TEMP_TABLE_STATS SESSION Oracle 12.1 GRANULARITY AUTO Oracle 10.2 INCREMENTAL FALSE Oracle 11.1 INCREMENTAL_STALENESS ALLOW_MIXED_FORMAT Oracle 12.1 INCREMENTAL_LEVEL PARTITION Oracle 12.1 METHOD_OPT FOR ALL COLUMNS SIZE SKEWONLY AUTO Oracle 10.1 NO_INVALIDATE FALSE DBMS_STATS.AUTO_INVALIDATE Oracle 10.1 OPTIONS GATHER Oracle 12.1 PREFERENCE_OVERRIDES_PARAMETER TRUE FALSE Oracle 12.2 PUBLISH TRUE Oracle 11.1 STALE_PERCENT 10 Oracle 11.1 STAT_CATEGORY OBJECT_STATS Oracle 12.2 TABLE_CACHED_BLOCKS 1 Oracle 12.1 WAIT_TIME_TO_UPDATE_STATS 15 Oracle
33 Further Information Incremental Statistics A Real World Scenario ntal-statistics-a-real-world-scenario/ Online Statistics Gathering in Oracle 12c Avoid dbms_stats.auto_invalidate in ETL jobs danischnider.wordpress.com
34 Thank you. Dani Schnider, Trivadis danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Pitfalls & Surprises with DBMS_STATS: How to Solve Them
Pitfalls & Surprises with DBMS_STATS: How to Solve Them Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN
More informationOracle 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 informationOracle Optimizer: What s New in Oracle Database 12c? Maria Colgan Master Product Manager
Oracle Optimizer: What s New in Oracle Database 12c? Maria Colgan Master Product Manager PART 3 2 Program Agenda Adaptive Query Optimization Statistics Enhancements What s new in SQL Plan Management 3
More informationAnalytic Views: Use Cases in Data Warehouse. Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017
Analytic Views: Use Cases in Data Warehouse Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017 @dani_schnider DOAG2017 Our company. Trivadis is a market leader in IT consulting, system integration,
More informationData Vault Partitioning Strategies. Dani Schnider, Trivadis AG DOAG Conference, 23 November 2017
Data Vault Partitioning Strategies Dani Schnider, Trivadis AG DOAG Conference, 23 November 2017 @dani_schnider DOAG2017 Our company. Trivadis is a market leader in IT consulting, system integration, solution
More information1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.
1 Copyright 2011, Oracle and/or its affiliates. All rights 2 Copyright 2011, Oracle and/or its affiliates. All rights Optimizer Statistics CPU & IO DATA DICTIONARY OPTIMIZER STATISTICS Index Table Column
More informationQuery Optimizer MySQL vs. PostgreSQL
Percona Live, Frankfurt (DE), 7 November 2018 Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART
More informationQuery Optimizer MySQL vs. PostgreSQL
Percona Live, Santa Clara (USA), 24 April 2018 Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH
More informationCost Based Optimizer CBO: Configuration Roadmap
Cost Based Optimizer CBO: Configuration Roadmap Christian Antognini Sandro Crepaldi DOAG Regionaltreffen Hamburg/Nord 13.09.05, Hamburg Disclaimer > The CBO changes from release to release > It s difficult
More informationAdaptive
Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH @ChrisAntognini Senior
More informationCopyright 2012, Oracle and/or its affiliates. All rights reserved.
1 Oracle 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
More informationUnderstanding Optimizer Statistics With Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R M A R C H
Understanding Optimizer Statistics With Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R M A R C H 2 0 1 7 Table of Contents Introduction 1 What are Optimizer Statistics? 2 Statistics on Partitioned
More informationDesigning for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini
Designing for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN
More informationOracle Database New Performance Features
Oracle Database 12.1.0.2 New Performance Features DOAG 2014, Nürnberg (DE) Christian Antognini BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA
More informationIdentifying Performance Problems in a Multitenant Environment
Identifying Performance Problems in a Multitenant Environment Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE
More informationBloom 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 informationPartitionierungsstrategien für Data Vault. Dani Schnider, Trivadis AG DOAG Konferenz, 23. November 2017
Partitionierungsstrategien für Data Vault Dani Schnider, Trivadis AG DOAG Konferenz, 23. November 2017 @dani_schnider DOAG2017 Unser Unternehmen. Trivadis ist führend bei der IT-Beratung, der Systemintegration,
More information<Insert Picture Here> Inside the Oracle Database 11g Optimizer Removing the black magic
Inside the Oracle Database 11g Optimizer Removing the black magic Hermann Bär Data Warehousing Product Management, Server Technologies Goals of this session We will Provide a common
More informationOracle 11g Optimizer Statistics Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.
ORACLE 11G DATABASE STATISTICS Inderpal S. Johal, Data Softech Inc. OVERVIEW Oracle 10g have made lots of significant change so as to provide good performance to Oracle database. The important changes
More informationOracle 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 informationTop 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA
Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA Agenda Background ORACLE 12c FEATURES CONCLUSION 2 Top 10 Oracle 12c Features Feature 1: ADAPTIVE
More informationAnalytic Views: Einsatzgebiete im Data Warehouse. Dani Schnider, Trivadis AG DOAG Konferenz, 21. November 2017
Analytic Views: Einsatzgebiete im Data Warehouse Dani Schnider, Trivadis AG DOAG Konferenz, 21. November 2017 @dani_schnider DOAG2017 Unser Unternehmen. Trivadis ist führend bei der IT-Beratung, der Systemintegration,
More informationOracle 10g Dbms Stats Gather Table Stats Examples
Oracle 10g Dbms Stats Gather Table Stats Examples Summary of DBMS_COMPRESSION Subprograms Permissions for Managing and Querying Cube Materialized Views Example of SQL Aggregation Upgrading 10g Analytic
More informationAn Oracle White Paper April Best Practices for Gathering Optimizer Statistics
An Oracle White Paper April 2012 Best Practices for Gathering Optimizer Statistics Introduction... 2 How to gather statistics... 3 Automatic statistics gathering job... 3 Manually statistics collection...
More informationDatabase statistics gathering: Synopsis
Database statistics gathering: Synopsis Introduction It is known that having proper database statistics is crucial for query optimizer. Statistics should properly describe data within the database. To
More informationOnline Operations in Oracle 12.2
Online Operations in Oracle 12.2 New Features and Enhancements Christian Gohmann BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
More informationData Warehousing & Big Data at OpenWorld for your smartphone
Data Warehousing & Big Data at OpenWorld for your smartphone Smartphone and tablet apps, helping you get the most from this year s OpenWorld Access to all the most important information Presenter profiles
More informationApplication Containers an Introduction
Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE
More informationApplication Containers an Introduction
Application Containers an Introduction Oracle Database 12c Release 2 - Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN
More informationSlide 2 of 79 12/03/2011
Doug Burns Introduction Simple Fundamentals Statistics on Partitioned Objects The Quality/Performance Trade-off Aggregation Scenarios Alternative Strategies Incremental Statistics Conclusions and References
More informationBest Practices for Gathering Optimizer Statistics with Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R J U N E
Best Practices for Gathering Optimizer Statistics with Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R J U N E 2 0 1 7 Table of Contents Introduction 1 How to Gather Statistics 1 When to
More informationHow Autonomous is the Oracle Autonomous Data Warehouse?
How Autonomous is the Oracle Autonomous Data Warehouse? Christian Antognini / Dani Schnider @chrisantognini @dani_schnider antognini.ch/blog danischnider.wordpress.com BASLE BERN BRUGG DÜSSELDORF FRANKFURT
More informationRecovery without Backup. All Data Lost?
An Overview and Field Report Igor Romansky Peter Jensch Trivadis GmbH, Stuttgart DOAG Regio-Treffen Stuttgart, July 21th 2016 BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN
More informationOracle Database 11gR2 Optimizer Insights
Oracle Database 11gR2 Optimizer Insights Marcus Bender Distinguished Sales Consultant Presales Fellow Strategic Technical Support (STU) ORACLE Deutschland GmbH, Geschäftsstelle Hamburg Parallel Execution
More informationwww.informatik-aktuell.de IT-Tage Datenbanken in Frankfurt, 17. Dezember 2015 Christian Antognini Udo Fohrmann BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE
More informationEffect of Stats on Two Columns Optimizer Statistics on tables and indexes are vital. Arup Nanda
Stats with Intelligence Arup Nanda Longtime Oracle DBA Effect of Stats on Two Columns Optimizer Statistics on tables and indexes are vital for the optimizer to compute optimal execution plans If there
More informationManaging Performance Through Versioning of Statistics
Managing Performance Through Versioning of Statistics Claudia Fernandez Technical Services Manager claudia@leccotech.com LECCOTECH www.leccotech.com NoCOUG, August 2003 "Managing Performance Through Versioning
More informationDomain Services Clusters Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner
s Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA
More informationTroubleshooting Oracle Performance
Troubleshooting Oracle Performance Trivadis AG Christian Antognini christian.antognini@trivadis.com BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 1
More informationReal-World Performance Training SQL Performance
Real-World Performance Training SQL Performance Real-World Performance Team Agenda 1 2 3 4 5 6 SQL and the Optimizer You As The Optimizer Optimization Strategies Why is my SQL slow? Optimizer Edges Cases
More informationTuning with Statistics
Tuning with Statistics Wolfgang Breitling breitliw@centrexcc.com Agenda The DBMS_STATS Package Uses of DBMS_STATS beyond analyze The stattab Table Transferring Statistics with the stattab Table Means to
More informationApplication Containers an Introduction
Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner @markusdba doag2017 Our company. Trivadis is a market leader in IT consulting, system
More informationGet Groovy with ODI Trivadis
BASEL 1 BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA AGENDA 1 What is Groovy? 2 Groovy in ODI 3 What I want to reach 4 Live Demo 5 Helpful documentation
More informationMANAGING COST-BASED OPTIMIZER STATISTICS FOR PEOPLESOFT DAVID KURTZ UKOUG PEOPLESOFT ROADSHOW 2018
MANAGING COST-BASED OPTIMIZER STATISTICS FOR PEOPLESOFT DAVID KURTZ UKOUG PEOPLESOFT ROADSHOW 2018 WHO AM I Accenture Enkitec Group Performance tuning PeopleSoft ERP Oracle RDBMS Book www.go-faster.co.uk
More information.. Spring 2008 CSC 468: DBMS Implementation Alexander Dekhtyar..
.. Spring 2008 CSC 468: DBMS Implementation Alexander Dekhtyar.. Tuning Oracle Query Execution Performance The performance of SQL queries in Oracle can be modified in a number of ways: By selecting a specific
More informationOracle Database 11g: SQL Tuning Workshop
Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release
More informationSQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability
SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,
More informationEdition-Based Redefinition
Edition-Based Redefinition Janina Patolla Trivadis AG, Basel Basel Baden Bern Brugg Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Introduction Upgrading critical
More informationOracle Database 11g: Administer a Data Warehouse
Oracle Database 11g: Administer a Data Warehouse Duration: 4 Days What you will learn This course will help you understand the basic concepts of administering a data warehouse. You'll learn to use various
More informationReal-World Performance Training SQL Performance
Real-World Performance Training SQL Performance Real-World Performance Team Agenda 1 2 3 4 5 6 The Optimizer Optimizer Inputs Optimizer Output Advanced Optimizer Behavior Why is my SQL slow? Optimizer
More informationWELCOME. Unterstützung von Tuning- Maßnahmen mit Hilfe von Capacity Management. DOAG SIG Database
WELCOME Unterstützung von Tuning- Maßnahmen mit Hilfe von Capacity Management DOAG SIG Database 28.02.2013 Robert Kruzynski Principal Consultant Partner Trivadis GmbH München BASEL BERN LAUSANNE ZÜRICH
More informationOracle Sql Tuning- A Framework
Oracle Sql Tuning- A Framework Prepared by Saurabh Kumar Mishra Performance Engineering & Enhancement offerings (PE2) Infosys Technologies Limited (NASDAQ: INFY) saurabhkumar_mishra@infosys.com This paper
More informationREALTIME WEB APPLICATIONS WITH ORACLE APEX
REALTIME WEB APPLICATIONS WITH ORACLE APEX DOAG Conference 2012 Johannes Mangold Senior Consultant, Trivadis AG BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART
More informationBackup Methods from Practice
Backup Methods from Practice Optimized and Intelligent Roland Stirnimann @rstirnimann_ch BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA
More informationCloud Acceleration. Performance comparison of Cloud vendors. Tobias Deml DOAG2017
Performance comparison of Cloud vendors Tobias Deml Consultant @TobiasDemlDBA DOAG2017 About Consultant, Trivadis GmbH, Munich Since more than 9 years working in Oracle environment Focus areas Cloud Computing
More informationCopyright 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 informationOptimizer with Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R J U N E
Optimizer with Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R J U N E 2 0 1 7 Table of Contents Introduction 1 Adaptive Query Optimization 2 Optimizer Statistics 13 Optimizer Statistics
More informationCopyright 2013, Oracle and/or its affiliates. All rights reserved.
2 Copyright 23, Oracle and/or its affiliates. All rights reserved. Oracle Database 2c Heat Map, Automatic Data Optimization & In-Database Archiving Platform Technology Solutions Oracle Database Server
More informationMigrating to 12c: 300 DBs in 300 days.
Migrating to 12c: 300 DBs in 300 days. What we learned Ludovico Caldara Oracle ACE Director Trivadis AG BÂLE BERNE BRUGG DUSSELDORF FRANCFORT S.M. FRIBOURG E.BR. GENÈVE HAMBOURG COPENHAGUE LAUSANNE MUNICH
More informationPimping up Industry Devices with Rasperry Pi, Vert.x und Java 8
Pimping up Industry Devices with Rasperry Pi, Vert.x und Java 8 Anatole Tresch Principal Consultant @atsticks BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE
More informationDatabase Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant
Database Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF HAMBURG KOPENHAGEN
More informationDatabase Sharding with Oracle RDBMS
Database Sharding with Oracle RDBMS First Impressions Robert Bialek Principal Consultant BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA
More informationExadata Database Machine Resource Management teile und herrsche!
Exadata Database Machine Resource Management teile und herrsche! DOAG Conference 2011 Konrad Häfeli Senior Technology Manager Trivadis AG BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR.
More informationUsing Perceptive Content with an Oracle Database
Using Perceptive Content with an Oracle Database Best Practices Version: 7.2.x Written by: Product Knowledge, R&D Date: June 2017 2017 Lexmark. All rights reserved. Lexmark is a trademark of Lexmark International
More informationEmpfehlungen vom BigData Admin
Empfehlungen vom BigData Admin an den Oracle DBA Florian Feicht, Alexander Hofstetter @FlorianFeicht @lxdba doag2017 Our company. Trivadis is a market leader in IT consulting, system integration, solution
More informationThe Microsoft Big Data architecture approach
The Microsoft Big ata architecture approach Marc Schöni (Microsoft) Meinrad Weiss (Trivadis) 7. February 2014 BASEL BERN BRUGG LAUSANNE ZUERICH UESSELORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART
More informationUpgrading from Oracle Database 9i to 10g: What to expect from the Optimizer. An Oracle White Paper July 2008
Upgrading from Oracle Database 9i to 10g: What to expect from the Optimizer An Oracle White Paper July 2008 NOTE: The following is intended to outline our general product direction. It is intended for
More informationTaming the Pluggable Database Resource Management & Lockdown Profiles in Oracle 12.2 Markus Flechtner
Taming the Pluggable Database Resource Management & Lockdown Profiles in Oracle 12.2 Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH
More informationTECHNOLOGY: Testing Performing Through Changes
TECHNOLOGY: Testing Performing Through Changes By Arup Nanda Measure the impact of changes on SQL workload with SQL performance analyzer. Here is a not-so-uncommon scenario: a query is running slowly.
More informationThe three investigators
The three investigators An Introduction to OraChk, TFA and DBSAT Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
More information<Insert Picture Here> Oracle Database 11g: Neue Features im Oracle Optimizer
Oracle Database 11g: Neue Features im Oracle Optimizer Hermann Bär, Oracle Director Product Management, Server Technologies Data Warehousing Inside the Oracle Database 11g Optimizer
More informationUpgrading to 11g Best Practices
Upgrading to 11g Best Practices Ashish Agrawal Senior Principal Technical Support Engineer Oracle Center of Excellence Agenda Upgrade Companion Challenges & Best Practices AWR & STATSPACK
More informationSQL Server 2014 Highlights der wichtigsten Neuerungen In-Memory OLTP (Hekaton)
SQL Server 2014 Highlights der wichtigsten Neuerungen Karl-Heinz Sütterlin Meinrad Weiss March 2014 BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART
More informationExadata 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<Insert Picture Here> DBA Best Practices: A Primer on Managing Oracle Databases
DBA Best Practices: A Primer on Managing Oracle Databases Mughees A. Minhas Sr. Director of Product Management Database and Systems Management The following is intended to outline
More information<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g
DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g Peter Belknap, Sergey Koltakov, Jack Raitto The following is intended to outline our general product direction.
More informationDemystifying SQL Tuning: Tips and Techniques for SQL Experts
Demystifying SQL Tuning: Tips and Techniques for SQL Experts Mughees A. Minhas Director of Product Management, Database and Systems Management Sergey Koltakov Product Manager, Database Manageability Outline
More informationOracle FLEXCUBE Private Banking May 2011
Oracle FLEXCUBE Private Banking May 2011 Database configuration parameters and Recommended Schedule Maintenance Oracle Part Number E51529-01 Document Control Date Version Description Author 30 th November
More informationSAS Scalable Performance Data Server 4.3
Scalability Solution for SAS Dynamic Cluster Tables A SAS White Paper Table of Contents Introduction...1 Cluster Tables... 1 Dynamic Cluster Table Loading Benefits... 2 Commands for Creating and Undoing
More informationImproving Database Performance: SQL Query Optimization
CHAPTER 21 Improving Database Performance: SQL Query Optimization Performance tuning is the one area in which the Oracle DBA probably spends most of his or her time. If you re a DBA helping developers
More informationData Warehouse Tuning. Without SQL Modification
Data Warehouse Tuning Without SQL Modification Agenda About Me Tuning Objectives Data Access Profile Data Access Analysis Performance Baseline Potential Model Changes Model Change Testing Testing Results
More informationBind Peeking The Endless Tuning Nightmare
SAGE Computing Services Customised Oracle Training Workshops and Consulting Bind Peeking The Endless Tuning Nightmare Penny Cookson Managing Director and Principal Consultant Working with Oracle products
More informationMicroservices with Kafka Ecosystem. Guido Schmutz
Microservices with Kafka Ecosystem Guido Schmutz @gschmutz doag2017 Guido Schmutz Working at Trivadis for more than 20 years Oracle ACE Director for Fusion Middleware and SOA Consultant, Trainer Software
More informationOracle Database 11g: Self-Managing Database - The Next Generation
Oracle Database 11g: Self-Managing Database - The Next Generation Katharina Römer Principal Sales Consultant Agenda Introduction Manage Performance & Resources Manage Fault
More informationOracle Audit in a Nutshell - Database Audit but how?
Oracle Audit in a Nutshell - Database Audit but how? DOAG + SOUG Security-Lounge Stefan Oehrli Senior Consultant Discipline Manager Trivadis AG Basel 24. April 2012 BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF
More informationHow To Drop All Tables In A Schema In Oracle 10g
How To Drop All Tables In A Schema In Oracle 10g Imports/exports all schema object types If you run Oracle Application Express with Oracle Database 10g release 1 (10.1) or later, you can generate When
More informationExadata 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 informationOracle Database 12c: SQL Tuning for Developers
Oracle Database 12c: SQL Tuning for Developers Student Guide Volume I D79995GC10 Edition 1.0 December 2016 D84109 Learn more from Oracle University at education.oracle.com Author Dimpi Rani Sarmah Technical
More informationOracle 1Z0-515 Exam Questions & Answers
Oracle 1Z0-515 Exam Questions & Answers Number: 1Z0-515 Passing Score: 800 Time Limit: 120 min File Version: 38.7 http://www.gratisexam.com/ Oracle 1Z0-515 Exam Questions & Answers Exam Name: Data Warehousing
More informationTHE DBMS_STATS PACKAGE
SQL TUNING WITH STATISTICS Wolfgang Breitling, Centrex Consulting Corporation This paper looks at the DBMS_STATS package and how it can be used beyond just the gathering of statistics in the tuning effort,
More informationData Transfers in the Grid: Workload Analysis of Globus GridFTP
Data Transfers in the Grid: Workload Analysis of Globus GridFTP Nicolas Kourtellis, Lydia Prieto, Gustavo Zarrate, Adriana Iamnitchi University of South Florida Dan Fraser Argonne National Laboratory Objective
More informationService discovery in Kubernetes with Fabric8
Service discovery in Kubernetes with Fabric8 Andy Moncsek Senior Consultant Andy.Moncsek@trivadis.com Twitter: @AndyAHCP BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF HAMBURG KOPENHAGEN
More informationAdaptive Cursor Sharing: An Introduction
Adaptive Cursor Sharing: An Introduction Harald van Breederode Oracle University 17-NOV-2010 1-1 About Me Senior Principal DBA Trainer Oracle University 25 years Unix Experience 12 years Oracle DBA Experience
More information1 Dulcian, Inc., 2001 All rights reserved. Oracle9i Data Warehouse Review. Agenda
Agenda Oracle9i Warehouse Review Dulcian, Inc. Oracle9i Server OLAP Server Analytical SQL Mining ETL Infrastructure 9i Warehouse Builder Oracle 9i Server Overview E-Business Intelligence Platform 9i Server:
More informationScaling To Infinity: Partitioning Data Warehouses on Oracle Database
Scaling To Infinity: Partitioning Data Warehouses on Oracle Database Thursday 18-October 2012 Tim Gorman www.evdbt.com Speaker Qualifications Co-author 1. Oracle8 Data Warehousing, 1998 John Wiley & Sons
More informationData Replication With Oracle GoldenGate Looking Behind The Scenes Robert Bialek Principal Consultant Partner
Data Replication With Oracle GoldenGate Looking Behind The Scenes Robert Bialek Principal Consultant Partner BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE
More informationOracle 1Z0-640 Exam Questions & Answers
Oracle 1Z0-640 Exam Questions & Answers Number: 1z0-640 Passing Score: 800 Time Limit: 120 min File Version: 28.8 http://www.gratisexam.com/ Oracle 1Z0-640 Exam Questions & Answers Exam Name: Siebel7.7
More informationGather Schema Statistics Oracle 10g Examples
Gather Schema Statistics Oracle 10g Examples Document 452011.1 * Restoring table statistics in 10G onwards Document 237901.1 Gathering Schema or Database Statistics Automatically - Examples gathering on
More informationQuery Optimizer, Who Influences & How it works ++ optimization techniques
Query Optimizer, Who Influences & How it works ++ optimization techniques AIOUG : ODevC Yatra 2018, India Chandan Tanwani Senior Application Engineer Oracle Financial Services Software Ltd. Copyright 2018
More informationObject-Relational Mapping Tools let s talk to each other!
Object-Relational Mapping Tools let s talk to each other! BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Agenda O/R Mappers
More information