Oracle SQL Internals Handbook. Donald K. Burleson Joe Celko Dave Ensor Jonathan Lewis Dave Moore Vadim Tropashko John Weeg

Size: px
Start display at page:

Download "Oracle SQL Internals Handbook. Donald K. Burleson Joe Celko Dave Ensor Jonathan Lewis Dave Moore Vadim Tropashko John Weeg"

Transcription

1 Oracle SQL Internals Handbook Donald K. Burleson Joe Celko Dave Ensor Jonathan Lewis Dave Moore Vadim Tropashko John Weeg

2 Oracle SQL Internals Handbook By Donald K. Burleson, Joe Celko, Dave Ensor, Jonathan Lewis, Dave Moore, Vadim Tropashko, John Weeg Copyright 2003 by BMC Software and DBAzine. Used with permission. Printed in the United States of America. Series Editor: Donald K. Burleson Production Manager: John Lavender Production Editor: Teri Wade Cover Design: Bryan Hoff Printing History: August, 2003 for First Edition Oracle, Oracle7, Oracle8, Oracle8i and Oracle9i are trademarks of Oracle Corporation. Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks. All names known to Rampant TechPress to be trademark names appear in this text as initial caps. The information provided by the authors of this work is believed to be accurate and reliable, but because of the possibility of human error by our authors and staff, BMC Software, DBAZine and Rampant TechPress cannot guarantee the accuracy or completeness of any information included in this work and is not responsible for any errors, omissions or inaccurate results obtained from the use of information or scripts in this work. Links to external sites are subject to change; dbazine.com, BMC Software and Rampant TechPress do not control or endorse the content of these external web sites, and are not responsible for their content. ISBN:

3 Table of Contents Conventions Used in this Book...ix About the Authors...xi Foreword...xiii Section One - SQL System Tuning Chapter 1 - Parsing in Oracle SQL... 1 Parsing in SQL by Vadim Tropashko...1 Chapter 2 - Are We Parsing Too Much? Are We Parsing Too Much? by John Weeg What is Identical? How Much CPU are We Spending Parsing? Library Cache Hits Shared Pool Free Space Cursors Code Do What You Can Chapter 3 - Oracle SQL Optimizer Plan Stability Plan Stability in Oracle 8i/9i by Jonathan Lewis The Back Door to the Black Box Background / Overview Preliminary Setup What Does the Application Want to Do? What Do You Want the Application to Do? From Development to Production Oracle 9 Enhancements Caveats Conclusion Chapter 4 - SQL Tuning Using dbms_stats Query Tuning Using DBMS_STATS by Dave Ensor Introduction Table of Contents iii

4 Test Environment Background Original Statement With Hash Join Hints Oracle's Cost-based Optimizer CPU Cost Key Statistics Other Factors Cursor Sharing Package DBMS_STATS Plan Stability Getting CBO to the Required Plan Localizing the Impact Ensuring Outline Use Postscript Conclusions Section Two - SQL Statement Tuning Chapter 5 - Trees in SQL Trees in SQL: Nested Sets and Materialized Path by Vadim Tropashko Adjacency List Materialized Path Nested Sets Nested Intervals Partial Order The Mapping Normalization Finding Parent Encoding and Sibling Number Calculating Materialized Path and Distance between nodes The Final Test Chapter 6 - SQL Tuning Improvements iv Oracle SQL Internals Handbook

5 SQL Tuning Improvements in Oracle 9.2 by Vadim Tropashko Access and Filter Predicates V$SQL_PLAN_STATISTICS Chapter 7 - Oracle SQL Tuning Tips SQL tuning by Don Burleson Chapter 8 - Altering SQL Stored Outlines Faking Stored Outlines in Oracle 9 by Jonathan Lewis Review The Changes New Features Old Methods (1) Old Methods (2) The Safe Bet Conclusion References Section Three - SQL Index Tuning Chapter 9 - Using Bitmap Indexes with Oracle Understanding Bitmap Indexes by Jonathan Lewis Everybody Knows What Is a Bitmap Index? Do Bitmaps Lock Tables? Consequences of Bitmap Locks Problems with Bitmaps Low Cardinality Columns Sizing Conclusion References Chapter 10 - SQL Star Transformations Bitmap Indexes 2: Star Transformations by Jonathan Lewis 105 The Bitmap Star Transformation Table of Contents v

6 Warnings Conclusion References Chapter 11 - Bitmap Join Indexes Bitmap Indexes 3 Bitmap Join Indexes by Jonathan Lewis It's fantastic - What's the Problem What Is a Bitmap Join Index? Issues Conclusion References Section Four - SQL Diagnostics Chapter 12 - Tracing SQL Execution Oracle_trace - the Best Built-in Diagnostic Tool? by Jonathan Lewis How Do I? What is oracle_trace Uses for oracle_trace Putting it All Together Some Results Now What? The Future Conclusion Caveat References Chapter 13 - Embedding SQL in Java & PL/SQL Java vs. PL/SQL: Where Do I Put the SQL? by Dave Moore The Power of a Package The Flexibility of Java Performance Benchmarks vi Oracle SQL Internals Handbook

7 Environment The Tests Java: PL/SQL: Multiple Statements Java: PL/SQL: Truncate Java: PL/SQL: Benchmark Results Single Statement Results Multiple Statements Results Truncate Results Remote Results Conclusion Chapter 14 - Matrix Transposition in Oracle SQL Matrix Transposition in SQL by Vadim Tropashko Nesting and Unnesting Integer Enumeration for Aggregate Dismembering User Defined Aggregate Functions Section Five - Advanced SQL Chapter 15 - SQL with Keyword Searches Keyword Searches by Joe Celko Chapter 16 - Using SQL with Web Databases Web Databases by Joe Celko Chapter 17 - SQL and Calculated Columns Calculated Columns by Joe Celko Introduction Triggers INSERT INTO Statement Table of Contents vii

8 UPDATE the Table Use a VIEW Index viii Oracle SQL Internals Handbook

9 Parsing in Oracle SQL CHAPTER 1 Parsing in SQL SQL is a high abstraction level language used exclusively as an interface to Relational Databases. Initially it lacked recursion, and, therefore, had a limited expression power, but eventually this construct has been added to the language. Here we'll explore how convenient SQL is for general-purpose programming. SQL programming is very unusual from procedural perspective: there is no explicit flow control, in general, and no loops, in particular, no variables either to apply operations to, or to store intermediate results into. SQL heavily leverages predicates instead. Our goal is writing a simple predicate expression parser in SQL. Given an expression like this, (((a=1 or b=1) and (y=3 or z=1)) and c=1 and x=5 or z=3 and y>7) the parser should output a tree like this OR AND AND OR a = 1 b = 1 OR y = 3 Parsing in SQL 1

10 c = 1 x = 5 AND z = 3 y > 7 z = 1 Recursive descent parser is the easy way to approach the task. Unfortunately, Oracle didn t implement recursion yet, and as I work for Oracle, it clearly is the database of my choice. In cases where a programmer can t use recursion, (s)he resorts to iteration. We approach the task by building the set of all subclauses, and then selecting only well formed expressions. It s clearly more work than in procedural programming, but that s typical SQL attitude: write a query first and let optimizer worry about efficiency. In order to generate all the subclauses we need a table of integers. Before Oracle 9i we had to take a real table, and add a pseudo column like this: select rownum from all_objects where all_objects is a big enough table. In Oracle 9i we use table function instead: 2 Oracle SQL Internals Handbook

Donald K. Burleson Jonathan Lewis Mike Hordila John Weeg Daniel Liu Lisa Hernandez

Donald K. Burleson Jonathan Lewis Mike Hordila John Weeg Daniel Liu Lisa Hernandez Oracle Index Management Secrets Top Oracle Experts Discuss Index Management Techniques Donald K. Burleson Jonathan Lewis Mike Hordila John Weeg Daniel Liu Lisa Hernandez Oracle Index Management Secrets

More information

Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg

Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg Oracle Space Management Handbook Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg Oracle Space Management Handbook By: Donald K.

More information

Oracle SQL Internals Handbook. Donald K. Burleson Joe Celko Dave Ensor Jonathan Lewis Dave Moore Vadim Tropashko John Weeg

Oracle SQL Internals Handbook. Donald K. Burleson Joe Celko Dave Ensor Jonathan Lewis Dave Moore Vadim Tropashko John Weeg Oracle SQL Internals Handbook Donald K. Burleson Joe Celko Dave Ensor Jonathan Lewis Dave Moore Vadim Tropashko John Weeg Oracle SQL Internals Handbook By Donald K. Burleson, Joe Celko, Dave Ensor, Jonathan

More information

Rampant TechPress. Oracle DBA made simple Oracle database administration techniques. Mike Ault

Rampant TechPress. Oracle DBA made simple Oracle database administration techniques. Mike Ault Rampant TechPress Oracle DBA made simple Oracle database administration techniques Mike Ault Oracle DBA made simple Oracle database administration techniques By Mike Ault Copyright 2003 by Rampant TechPress.

More information

Rampant TechPress. Using Oracle SQL Stored Outlines & Optimizer Plan Stability. Mike Ault

Rampant TechPress. Using Oracle SQL Stored Outlines & Optimizer Plan Stability. Mike Ault Rampant TechPress Using Oracle SQL Stored Outlines & Optimizer Plan Stability Mike Ault Using Oracle SQL Stored Outlines & Optimizer Plan Stability By Mike Ault Copyright 2003 by Rampant TechPress. All

More information

Oracle Database 11g: SQL Tuning Workshop. Student Guide

Oracle Database 11g: SQL Tuning Workshop. Student Guide Oracle Database 11g: SQL Tuning Workshop Student Guide D52163GC10 Edition 1.0 June 2008 Author Jean-François Verrier Technical Contributors and Reviewers Muriel Fry (Special thanks) Joel Goodman Harald

More information

Oracle 9i Application Development and Tuning

Oracle 9i Application Development and Tuning Index 2NF, NOT 3NF or BCNF... 2:17 A Anomalies Present in this Relation... 2:18 Anomalies (Specific) in this Relation... 2:4 Application Design... 1:28 Application Environment... 1:1 Application-Specific

More information

Oracle SQL Tuning for Developers Workshop Student Guide - Volume I

Oracle SQL Tuning for Developers Workshop Student Guide - Volume I Oracle SQL Tuning for Developers Workshop Student Guide - Volume I D73549GC10 Edition 1.0 October 2012 D78799 Authors Sean Kim Dimpi Rani Sarmah Technical Contributors and Reviewers Nancy Greenberg Swarnapriya

More information

Software Development & Education Center. Oracle D2K

Software Development & Education Center. Oracle D2K Software Development & Education Center Oracle D2K SQL Oracle D2K (Developer) Introduction Writing Basic SQL statements Restricting & Sorting Data, Single Row Functions Displaying Data from Multiple Tables

More information

Advanced Oracle SQL Tuning v3.0 by Tanel Poder

Advanced Oracle SQL Tuning v3.0 by Tanel Poder Advanced Oracle SQL Tuning v3.0 by Tanel Poder /seminar Training overview This training session is entirely about making Oracle SQL execution run faster and more efficiently, understanding the root causes

More information

ADM506. Database Administration Oracle II COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM506. Database Administration Oracle II COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s) ADM506 Database Administration Oracle II. COURSE OUTLINE Course Version: 15 Course Duration: 2 Day(s) SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved. No part

More information

Oracle Database 11g: SQL Tuning Workshop

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

Course Contents of ORACLE 9i

Course Contents of ORACLE 9i Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating

More information

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time SQL Basics & PL-SQL Complete Practical & Real-time Training Sessions A Unit of SequelGate Innovative Technologies Pvt. Ltd. ISO Certified Training Institute Microsoft Certified Partner Training Highlights

More information

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

TADM51. SAP NetWeaver AS - DB Operation (Oracle) COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

TADM51. SAP NetWeaver AS - DB Operation (Oracle) COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s) TADM51 SAP NetWeaver AS - DB Operation (Oracle). COURSE OUTLINE Course Version: 15 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved.

More information

ORACLE TRAINING CURRICULUM. Relational Databases and Relational Database Management Systems

ORACLE TRAINING CURRICULUM. Relational Databases and Relational Database Management Systems ORACLE TRAINING CURRICULUM Relational Database Fundamentals Overview of Relational Database Concepts Relational Databases and Relational Database Management Systems Normalization Oracle Introduction to

More information

Oracle Database 12c: SQL Tuning for Developers

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

Oracle Database 10g The Self-Managing Database

Oracle Database 10g The Self-Managing Database Oracle Database 10g The Self-Managing Database Benoit Dageville Oracle Corporation benoit.dageville@oracle.com Page 1 1 Agenda Oracle10g: Oracle s first generation of self-managing database Oracle s Approach

More information

Oracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL]

Oracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL] Chapter Overview of PL/SQL Programs Control Statements Using Loops within PLSQL Oracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL] Table of Contents Describe a PL/SQL program construct List the

More information

ORACLE DATABASE 12C INTRODUCTION

ORACLE DATABASE 12C INTRODUCTION SECTOR / IT NON-TECHNICAL & CERTIFIED TRAINING COURSE In this training course, you gain the skills to unleash the power and flexibility of Oracle Database 12c, while gaining a solid foundation of database

More information

Relational Database Index Design and the Optimizers

Relational Database Index Design and the Optimizers Relational Database Index Design and the Optimizers DB2, Oracle, SQL Server, et al. Tapio Lahdenmäki Michael Leach A JOHN WILEY & SONS, INC., PUBLICATION Relational Database Index Design and the Optimizers

More information

Tuning SQL without the Tuning Pack. John Larkin JP Morgan Chase

Tuning SQL without the Tuning Pack. John Larkin JP Morgan Chase Tuning SQL without the Tuning Pack John Larkin JP Morgan Chase Who am I Originally a mainframe COBOL programmer DBA for the last 23 years, the last 15 with Oracle. UNIX (Solaris, Aix, Windows, Linux) Recently

More information

Estimating Cardinality: Use of Jonathan Lewis CBO methodology

Estimating Cardinality: Use of Jonathan Lewis CBO methodology Estimating Cardinality: Use of Jonathan Lewis CBO methodology Dave Abercrombie Principal Database Architect, Convio NoCOUG Fall Conference 2010 1 2009 Convio, Inc. Cost-Based Oracle Fundamentals By Jonathan

More information

Oracle - MySQL Developer Techniques with Advanced

Oracle - MySQL Developer Techniques with Advanced Oracle - MySQL Developer Techniques with Advanced Stored Procedures Code: Lengt h: URL: D76152GC10 5 days View Online This MySQL Developer Techniques with Advanced Stored Procedures training will cover

More information

The SQL Guide to Pervasive PSQL. Rick F. van der Lans

The SQL Guide to Pervasive PSQL. Rick F. van der Lans The SQL Guide to Pervasive PSQL Rick F. van der Lans Copyright 2009 by R20/Consultancy All rights reserved; no part of this publication may be reproduced, stored in a retrieval system, or transmitted in

More information

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology Introduction A database administrator (DBA) is a person responsible for the installation,

More information

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s) EDB116 Fast Track to SAP Adaptive Server Enterprise. COURSE OUTLINE Course Version: 15 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2015 SAP SE. All rights reserved. No part of this publication

More information

HA300 SAP HANA Modeling

HA300 SAP HANA Modeling HA300 SAP HANA Modeling. COURSE OUTLINE Course Version: 12 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication

More information

Orange for Oracle DBA Edition

Orange for Oracle DBA Edition Orange for Oracle DBA Edition Wait Event Monitor Monitoring sessions assigning maximum 8 wait events concurrently Providing session lists occurring for assigned wait events Interfacing to Plan Tool for

More information

Join Selectivity. Jonathan Lewis JL Computer Consultancy London, UK

Join Selectivity. Jonathan Lewis JL Computer Consultancy London, UK Join Selectivity Jonathan Lewis JL Computer Consultancy London, UK Keywords: Selectivity, Cardinality, Statistics, Joins, Cost-based Optimizer Introduction In this note I will be describing the basic mechanism

More information

Oracle Pl Sql Tuning Expert Secrets For High Performance Programming Volume 8 Oracle In Focus

Oracle Pl Sql Tuning Expert Secrets For High Performance Programming Volume 8 Oracle In Focus Oracle Pl Sql Tuning Expert Secrets For High Performance Programming Volume 8 Oracle In Focus We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online

More information

HA300 SAP HANA Modeling

HA300 SAP HANA Modeling HA300 SAP HANA Modeling. COURSE OUTLINE Course Version: 13 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication

More information

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

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

More information

Sanity-check the operating systems of all machines involved with user performance. By sanity-checking. Two of the biggest

Sanity-check the operating systems of all machines involved with user performance. By sanity-checking. Two of the biggest Oracle s Approach to Performance Tuning, Part 1 By Darrick Addison Editor s Note: You would not drive a car in need of service nor play an out of tune piano? In his first ORAtips article, a two part series,

More information

Oracle Data Modelling & Database Design Course Content:35-40hours

Oracle Data Modelling & Database Design Course Content:35-40hours Oracle Data Modelling & Database Design Course Content:35-40hours Course Outline Introduction to Modeling List the reasons why modeling is important Describe the phases of the Database and Application

More information

Interpreting Explain Plan Output. John Mullins

Interpreting Explain Plan Output. John Mullins Interpreting Explain Plan Output John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience

More information

Oracle Performance Tuning. Overview of performance tuning strategies

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

More information

BC490 ABAP Performance Tuning

BC490 ABAP Performance Tuning BC490 ABAP Performance Tuning. COURSE OUTLINE Course Version: 10 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2015 SAP SE. All rights reserved. No part of this publication may be reproduced

More information

Demystifying SQL Tuning: Tips and Techniques for SQL Experts

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

SCM380 SAP MII - Manufacturing Integration and Intelligence Fundamentals

SCM380 SAP MII - Manufacturing Integration and Intelligence Fundamentals SCM380 SAP MII - Manufacturing Integration and Intelligence Fundamentals. COURSE OUTLINE Course Version: 10 Course Duration: 4 SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All

More information

SEF DATABASE FOUNDATION ON ORACLE COURSE CURRICULUM

SEF DATABASE FOUNDATION ON ORACLE COURSE CURRICULUM On a Mission to Transform Talent SEF DATABASE FOUNDATION ON ORACLE COURSE CURRICULUM Table of Contents Module 1: Introduction to Linux & RDBMS (Duration: 1 Week)...2 Module 2: Oracle SQL (Duration: 3 Weeks)...3

More information

BC414. Programming Database Updates COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

BC414. Programming Database Updates COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s) BC414 Programming Database Updates. COURSE OUTLINE Course Version: 15 Course Duration: 2 Day(s) SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 19 Query Optimization Introduction Query optimization Conducted by a query optimizer in a DBMS Goal: select best available strategy for executing query Based on information available Most RDBMSs

More information

S4D430 Building Views in Core Data Services ABAP (CDS ABAP)

S4D430 Building Views in Core Data Services ABAP (CDS ABAP) S4D430 Building Views in Core Data Services ABAP (CDS ABAP). COURSE OUTLINE Course Version: 10 Course Duration: 3 Day(s) SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights

More information

QlikView 11.2 DIRECT DISCOVERY

QlikView 11.2 DIRECT DISCOVERY QlikView 11.2 DIRECT DISCOVERY QlikView Technical Addendum Published: November, 2012 www.qlikview.com Overview This document provides a technical overview of the QlikView 11.2 Direct Discovery feature.

More information

Nested Intervals Tree Encoding with Continued Fractions

Nested Intervals Tree Encoding with Continued Fractions Nested Intervals Tree Encoding with Continued Fractions VADIM TROPASHKO Oracle Corp There is nothing like abstraction To take away your intuition Shai Simonson http://aduniorg/courses/discrete/ We introduce

More information

HA150 SQL Basics for SAP HANA

HA150 SQL Basics for SAP HANA HA150 SQL Basics for SAP HANA. COURSE OUTLINE Course Version: 13 Course Duration: 2 Day(s) SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

More information

CHAPTER. Oracle Database 11g Architecture Options

CHAPTER. Oracle Database 11g Architecture Options CHAPTER 1 Oracle Database 11g Architecture Options 3 4 Part I: Critical Database Concepts Oracle Database 11g is a significant upgrade from prior releases of Oracle. New features give developers, database

More information

D75AW. Delta ABAP Workbench SAP NetWeaver 7.0 to SAP NetWeaver 7.51 COURSE OUTLINE. Course Version: 18 Course Duration:

D75AW. Delta ABAP Workbench SAP NetWeaver 7.0 to SAP NetWeaver 7.51 COURSE OUTLINE. Course Version: 18 Course Duration: D75AW Delta ABAP Workbench SAP NetWeaver 7.0 to SAP NetWeaver 7.51. COURSE OUTLINE Course Version: 18 Course Duration: SAP Copyrights and Trademarks 2018 SAP SE or an SAP affiliate company. All rights

More information

Oracle SQL & PL SQL Course

Oracle SQL & PL SQL Course Oracle SQL & PL SQL Course Complete Practical & Real-time Training Job Support Complete Practical Real-Time Scenarios Resume Preparation Lab Access Training Highlights Placement Support Support Certification

More information

Relational Database Index Design and the Optimizers

Relational Database Index Design and the Optimizers Relational Database Index Design and the Optimizers DB2, Oracle, SQL Server, et al. Tapio Lahdenmäki Michael Leach (C^WILEY- IX/INTERSCIENCE A JOHN WILEY & SONS, INC., PUBLICATION Contents Preface xv 1

More information

Course Outline. Performance Tuning and Optimizing SQL Databases Course 10987B: 4 days Instructor Led

Course Outline. Performance Tuning and Optimizing SQL Databases Course 10987B: 4 days Instructor Led Performance Tuning and Optimizing SQL Databases Course 10987B: 4 days Instructor Led About this course This four-day instructor-led course provides students who manage and maintain SQL Server databases

More information

Introduction. Assessment Test. Chapter 1 Introduction to Performance Tuning 1. Chapter 2 Sources of Tuning Information 33

Introduction. Assessment Test. Chapter 1 Introduction to Performance Tuning 1. Chapter 2 Sources of Tuning Information 33 Contents at a Glance Introduction Assessment Test xvii xxvii Chapter 1 Introduction to Performance Tuning 1 Chapter 2 Sources of Tuning Information 33 Chapter 3 SQL Application Tuning and Design 85 Chapter

More information

[MS10987A]: Performance Tuning and Optimizing SQL Databases

[MS10987A]: Performance Tuning and Optimizing SQL Databases [MS10987A]: Performance Tuning and Optimizing SQL Databases Length : 4 Days Audience(s) : IT Professionals Level : 300 Technology : Microsoft SQL Server Delivery Method : Instructor-led (Classroom) Course

More information

Oracle BI 11g R1: Build Repositories

Oracle BI 11g R1: Build Repositories Oracle BI 11g R1: Build Repositories Volume I - Student Guide D63514GC11 Edition 1.1 June 2011 D73309 Author Jim Sarokin Technical Contributors and Reviewers Marla Azriel Roger Bolsius Bob Ertl Alan Lee

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline

More information

BOID10. SAP BusinessObjects Information Design Tool COURSE OUTLINE. Course Version: 17 Course Duration: 5 Day(s)

BOID10. SAP BusinessObjects Information Design Tool COURSE OUTLINE. Course Version: 17 Course Duration: 5 Day(s) BOID10 SAP BusinessObjects Information Design Tool. COURSE OUTLINE Course Version: 17 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights reserved.

More information

Oracle9i Database: Advanced Instance Tuning

Oracle9i Database: Advanced Instance Tuning Oracle9i Database: Advanced Instance Tuning Student Guide D16442GC10 Edition 1.0 December 2002 D37574 Authors Lex de Haan Joel Goodman Technical Contributors and Reviewers Scott Gossett Christine Jeal

More information

Foreword Preface Db2 Family And Db2 For Z/Os Environment Product Overview DB2 and the On-Demand Business DB2 Universal Database DB2 Middleware and

Foreword Preface Db2 Family And Db2 For Z/Os Environment Product Overview DB2 and the On-Demand Business DB2 Universal Database DB2 Middleware and Foreword Preface Db2 Family And Db2 For Z/Os Environment Product Overview DB2 and the On-Demand Business DB2 Universal Database DB2 Middleware and Connectivity DB2 Application Development DB2 Administration

More information

Under the hood of dynamic and adaptive database features

Under the hood of dynamic and adaptive database features Under the hood of dynamic and adaptive database features Stefan Koehler 21.11.17 Page 1 About me Stefan Koehler Independent Oracle performance consultant and researcher 15+ years using Oracle RDBMS - Independent

More information

BW305. SAP Business Warehouse Query Design and Analysis COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

BW305. SAP Business Warehouse Query Design and Analysis COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s) BW305 SAP Business Warehouse Query Design and Analysis. COURSE OUTLINE Course Version: 15 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved.

More information

Fast Track Model Based Design and Development with Oracle9i Designer. An Oracle White Paper August 2002

Fast Track Model Based Design and Development with Oracle9i Designer. An Oracle White Paper August 2002 Fast Track Model Based Design and Development with Oracle9i Designer An Oracle White Paper August 2002 Fast Track Model Based Design and Development with Oracle9i Designer Executive Overivew... 3 Introduction...

More information

Performance Monitoring

Performance Monitoring Performance Monitoring Performance Monitoring Goals Monitoring should check that the performanceinfluencing database parameters are correctly set and if they are not, it should point to where the problems

More information

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK

Top 7 Plan Stability Pitfalls & How to Avoid Them. Neil Chandler Chandler Systems Ltd UK Top 7 Plan Stability Pitfalls & How to Avoid Them Neil Chandler Chandler Systems Ltd UK Keywords: SQL Optimizer Plan Change Stability Outlines Baselines Plan Directives Introduction When you write some

More information

Appendix: Application of the Formal Principle for the Analysis of Performance Problems After an Oracle Migration

Appendix: Application of the Formal Principle for the Analysis of Performance Problems After an Oracle Migration Appendix: Application of the Formal Principle for the Analysis of Performance Problems After an Oracle Migration The method described in this book is helpful in most cases which a database specialist is

More information

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

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

More information

HA150. SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration:

HA150. SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration: HA150 SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA. COURSE OUTLINE Course Version: 15 Course Duration: SAP Copyrights and Trademarks 2018 SAP SE or an SAP affiliate company. All rights reserved.

More information

COPYRIGHTED MATERIAL. Using SQL. The Processing Cycle for SQL Statements

COPYRIGHTED MATERIAL. Using SQL. The Processing Cycle for SQL Statements Using SQL The end users of the applications you develop are almost never aware of the code used to retrieve their data for them, or insert and update changes to the data back into the database. Your application

More information

Table of Contents. PDF created with FinePrint pdffactory Pro trial version

Table of Contents. PDF created with FinePrint pdffactory Pro trial version Table of Contents Course Description The SQL Course covers relational database principles and Oracle concepts, writing basic SQL statements, restricting and sorting data, and using single-row functions.

More information

HA150. SAP HANA 2.0 SPS02 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 14 Course Duration: 3 Day(s)

HA150. SAP HANA 2.0 SPS02 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 14 Course Duration: 3 Day(s) HA150 SAP HANA 2.0 SPS02 - SQL and SQLScript for SAP HANA. COURSE OUTLINE Course Version: 14 Course Duration: 3 Day(s) SAP Copyrights and Trademarks 2018 SAP SE or an SAP affiliate company. All rights

More information

Oracle Tuning Pack. Table Of Contents. 1 Introduction. 2 Installation and Configuration. 3 Documentation and Help. 4 Oracle SQL Analyze

Oracle Tuning Pack. Table Of Contents. 1 Introduction. 2 Installation and Configuration. 3 Documentation and Help. 4 Oracle SQL Analyze Oracle Tuning Pack Readme Release 2.1.0.0.0 for Windows February 2000 Part No. A76921-01 Table Of Contents 1 Introduction 2 Installation and Configuration 3 Documentation and Help 4 Oracle SQL Analyze

More information

Inside Microsoft* SQL Server 2008: T-SQL Querying

Inside Microsoft* SQL Server 2008: T-SQL Querying Microsoft Inside Microsoft* SQL Server 2008: T-SQL Querying Itzik Ben-Gan Lubor Kollor Dejan Sarka Steve Kass Table of Contents Foreword Acknowledgments Introduction xiii xv xix 1 Logical Query Processing

More information

DS10. Data Services - Platform and Transforms COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

DS10. Data Services - Platform and Transforms COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s) DS10 Data Services - Platform and Transforms. COURSE OUTLINE Course Version: 15 Course Duration: 3 Day(s) SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights reserved. No

More information

Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg

Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg Oracle Space Management Handbook Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg Oracle Space Management Handbook By: Donald K.

More information

Vijay Mahawar

Vijay Mahawar Vijay Mahawar http://www.mahawar.net/blog Saturday, 2 February, 2013 I am Vijay Mahawar, an Oracle Technologist. I am a member of AIOUG, ODTUG and OTN. I am certified in Oracle and hold OCP in Oracle 11g

More information

HA200 SAP HANA Installation & Operations SPS10

HA200 SAP HANA Installation & Operations SPS10 HA200 SAP HANA Installation & Operations SPS10. COURSE OUTLINE Course Version: 10 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2015 SAP SE. All rights reserved. No part of this publication may

More information

Project 4 Query Optimization Part 2: Join Optimization

Project 4 Query Optimization Part 2: Join Optimization Project 4 Query Optimization Part 2: Join Optimization 1 Introduction Out: November 7, 2017 During this semester, we have talked a lot about the different components that comprise a DBMS, especially those

More information

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting Independent consultant Available for consulting In-house workshops Cost-Based Optimizer Performance By Design Performance Troubleshooting Oracle ACE Director Member of OakTable Network Optimizer Basics

More information

Advanced Oracle Performance Troubleshooting. Query Transformations Randolf Geist

Advanced Oracle Performance Troubleshooting. Query Transformations Randolf Geist Advanced Oracle Performance Troubleshooting Query Transformations Randolf Geist http://oracle-randolf.blogspot.com/ http://www.sqltools-plusplus.org:7676/ info@sqltools-plusplus.org Independent Consultant

More information

Greens Technology s Contact :

Greens Technology s Contact : PL/SQL - Interview Questions ============================ 1. Is it possible to Auto-Refresh the Materialize View?(Polaris) 2. Explain diff. types of Indexes? Which one is fasted?(ibm) 3. How to send mails

More information

EDUVITZ TECHNOLOGIES

EDUVITZ TECHNOLOGIES EDUVITZ TECHNOLOGIES Oracle Course Overview Oracle Training Course Prerequisites Computer Fundamentals, Windows Operating System Basic knowledge of database can be much more useful Oracle Training Course

More information

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting

Independent consultant. Oracle ACE Director. Member of OakTable Network. Available for consulting In-house workshops. Performance Troubleshooting Independent consultant Available for consulting In-house workshops Cost-Based Optimizer Performance By Design Performance Troubleshooting Oracle ACE Director Member of OakTable Network Optimizer Basics

More information

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query Oracle SQL(Structured Query Language) Introduction of DBMS Approach to Data Management Introduction to prerequisites File and File system Disadvantages of file system Introduction to TOAD and oracle 11g/12c

More information

Contents I Introduction 1 Introduction to PL/SQL iii

Contents I Introduction 1 Introduction to PL/SQL iii Contents I Introduction Lesson Objectives I-2 Course Objectives I-3 Human Resources (HR) Schema for This Course I-4 Course Agenda I-5 Class Account Information I-6 Appendixes Used in This Course I-7 PL/SQL

More information

HA100 SAP HANA Introduction

HA100 SAP HANA Introduction HA100 SAP HANA Introduction. COURSE OUTLINE Course Version: 15 Course Duration: SAP Copyrights and Trademarks 2018 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may

More information

BC405 Programming ABAP Reports

BC405 Programming ABAP Reports BC405 Programming ABAP Reports. COURSE OUTLINE Course Version: 16 Course Duration: 5 Day(s) SAP Copyrights and Trademarks 2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: Local: 1800 425 8877 Intl: +91 80 4108 4700 Oracle Database: Program with PL/SQL Duration: 50 Hours What you will learn This course introduces students to PL/SQL and helps

More information

Column Stores vs. Row Stores How Different Are They Really?

Column Stores vs. Row Stores How Different Are They Really? Column Stores vs. Row Stores How Different Are They Really? Daniel J. Abadi (Yale) Samuel R. Madden (MIT) Nabil Hachem (AvantGarde) Presented By : Kanika Nagpal OUTLINE Introduction Motivation Background

More information

MySQL Performance Tuning

MySQL Performance Tuning MySQL Performance Tuning Student Guide D61820GC20 Edition 2.0 May 2011 D73030 Author Jeff Gorton Copyright 2011, Oracle and/or it affiliates. All rights reserved. Disclaimer Technical Contributors and

More information

Oracle SQL Developer. Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E

Oracle SQL Developer. Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E Oracle SQL Developer Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E39882-02 December 2013 Oracle SQL Developer Oracle TimesTen In-Memory Database Support User's Guide, Release 4.0

More information

MySQL for Developers. Duration: 5 Days

MySQL for Developers. Duration: 5 Days Oracle University Contact Us: 0800 891 6502 MySQL for Developers Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to develop console and web applications using

More information

Architettura Database Oracle

Architettura Database Oracle Architettura Database Oracle Shared Pool La shared pool consiste di: Data dictionary: cache che contiene informazioni relative agli oggetti del databse, lo storage ed i privilegi Library cache: contiene

More information

11gR2 Performance. Tuning Cookbook. Oracle Database. 1 enterprise J. performance from Oracle Database applications. achieve better

11gR2 Performance. Tuning Cookbook. Oracle Database. 1 enterprise J. performance from Oracle Database applications. achieve better Oracle Database 11gR2 Performance Tuning Cookbook Over 80 recipes to help beginners achieve better performance from Oracle Database applications Ciro Fiorillo PUBLISHING 1 enterprise J professional expertise

More information

SQL+PL/SQL. Introduction to SQL

SQL+PL/SQL. Introduction to SQL SQL+PL/SQL CURRICULUM Introduction to SQL Introduction to Oracle Database List the features of Oracle Database 12c Discuss the basic design, theoretical, and physical aspects of a relational database Categorize

More information

Optimizer Challenges in a Multi-Tenant World

Optimizer Challenges in a Multi-Tenant World Optimizer Challenges in a Multi-Tenant World Pat Selinger pselinger@salesforce.come Classic Query Optimizer Concepts & Assumptions Relational Model Cost = X * CPU + Y * I/O Cardinality Selectivity Clustering

More information

MySQL for Developers. Duration: 5 Days

MySQL for Developers. Duration: 5 Days Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 MySQL for Developers Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to develop

More information

CGS 3066: Spring 2017 SQL Reference

CGS 3066: Spring 2017 SQL Reference CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students

More information

Oracle Database 11g : Performance Tuning DBA Release2

Oracle Database 11g : Performance Tuning DBA Release2 Oracle Database 11g : Performance Tuning DBA Release2 Target Audience : Technical Consultant/L2/L3 Support DBA/Developers Course Duration : 5 days Day 1: Basic Tuning Tools Monitoring tools overview Enterprise

More information