Hidden Features You Probably Don t Know About And Are FREE. Graham Wood Oracle Corp

Size: px
Start display at page:

Download "Hidden Features You Probably Don t Know About And Are FREE. Graham Wood Oracle Corp"

Transcription

1 Hidden Features You Probably Don t Know About And Are FREE Graham Wood Oracle Corp

2 Features You Probably Don t Know About And Are MOSTLY FREE

3 1977 Oracle Database 30 Years of Sustained Innovation Database Vault Transparent Data Encryption Grid Computing Self Managing Database XML Database Oracle Data Guard Real Application Clusters Flashback Query Virtual Private Database Built in Java VM Partitioning Support Built in Messaging Object Relational Support Multimedia Support Data Warehousing Optimizations Parallel Operations Distributed SQL & Transaction Support Cluster and MPP Support Multi-version Read Consistency Client/Server Support Platform Portability Commercial SQL Implementation 2007

4 SQL trace 4

5 DBMS_MONITOR.SESSION_TRACE_ENABLE( session_id IN BINARY_INTEGER DEFAULT NULL, serial_num IN BINARY_INTEGER DEFAULT NULL, waits IN BOOLEAN DEFAULT TRUE, binds plan_stat IN BOOLEAN DEFAULT FALSE, IN VARCHAR2 DEFAULT NULL); 5

6 DBMS_MONITOR.SESSION_TRACE_ENABLE( session_id IN BINARY_INTEGER DEFAULT NULL, serial_num IN BINARY_INTEGER DEFAULT NULL, waits IN BOOLEAN DEFAULT TRUE, binds plan_stat IN BOOLEAN DEFAULT FALSE, IN VARCHAR2 DEFAULT NULL); Frequency at which we dump row source statistics. Value should be 'NEVER', 'FIRST_EXECUTION' (equivalent to NULL) or 'ALL_EXECUTIONS'. 6

7 SQL trace Enabling Capture row source data for more executions Trace file contents CLOSE statements captured Previously this was missing time Cursor mapping broken (11gR1) Statement text printed on every execute Long cursor numbers (11gR2) Not so human readable 7

8 SQL trace Enabling Capture row source data for more executions Trace file contents CLOSE statements captured Previously this was missing time Cursor mapping broken (11gR1) Statement text printed on every execute Long cursor numbers (11gR2) Tkprof enhancements Prints SQL id and plan hash for each statement Reports First, Avg, Max from multiple row source dumps 8

9 SQL trace Enabling Capture row source data for more executions Trace file contents CLOSE statements captured Previously this was missing time Cursor mapping broken (11gR1) Statement text printed on every execute Long cursor numbers (11gR2) Tkprof enhancements Prints SQL id and plan hash for each statement Reports First, Avg, Max from multiple row source dumps But not CLOSE doh! 9

10 SQL trace Enabling trace for individual SQL statements alter session set events 'sql_trace [sql: g3yc1js3g2689 7ujay4u33g337]' 10

11 SQL Getting SQL info without making problem worse V$SQLstat 11

12 SQL Get outline data for a single statement SELECT * FROM table ( DBMS_XPLAN.DISPLAY_CURSOR ('atfwcg8anrykp', NULL, ADVANCED')); Get Estimated and Actual rows SELECT * FROM table ( DBMS_XPLAN.DISPLAY_CURSOR (FORMAT=>'ALLSTATS LAST')); 12

13 SELECT /*+ gather_plan_statistics */ p.prod_name, SUM(s.quantity_sold) FROM sales s, products p WHERE s.prod_id =p.prod_id GROUP By p.prod_name ; SELECT * FROM table ( DBMS_XPLAN.DISPLAY_CURSOR(FORMAT=>'ALLSTATS LAST'));

14 SQL Set a parameter for running an individual statement OPT_PARAM hint SELECT /*+ OPT_PARAM('star_transformation_enabled,'true') */ * FROM.. 14

15 SQL Cause all statements to run without hints _optimizer_ignore_hints=true Extremely useful for testing 15

16 Optimizer Statistics Pending Statistics Separates stats collection from stats publishing Capture stats as Pending Test using pending stats Publish once verified 16

17 Pending Statistics Controlled by parameter optimizer_use_pending_statistics Determines if the optimizer will use pending statistics Set to false by default in 11gR1 Set at session level for testing Use dbms_stats package set_table_prefs All tables preferences have publish set to true by default publish_private_stats Once stats have been tested publish them for general use Monitor Look at dictionary table user_*_pending_stats (* = tab, col, ind)

18 Optimizer Statistics Pending Statistics Separates stats collection from stats publishing Capture stats as Pending Test using pending stats Publish once verified Setting Statistics Use dbms_stats.set_*_stats Very useful for min/max values Be careful! 18

19 Setting Statistics declare minmax dbms_stats.numarray; da dbms_stats.datearray; sr dbms_stats.statrec; begin /* prepare min/max values */ /* date type column example */ da := dbms_stats.datearray (to_date('01/01/1999','mm/dd/yyyy'),sysdate); sr.epc := 2; sr.bkvals := null; dbms_stats.prepare_column_values(sr, da); dbms_stats.set_column_stats('scott','emp','hiredate',srec=>sr); end; /

20 More Analytics Long awaited LISTAGG And many more.

21 Analytics SQL> select deptno, 2 listagg( ename, '; ' ) 3 within group 4 (order by ename) enames 5 from emp 6 group by deptno 7 order by deptno 8 / DEPTNO ENAMES CLARK; KING; MILLER 20 ADAMS; FORD; JONES; SCOTT; SMITH 30 ALLEN; BLAKE; JAMES; MARTIN; TURNER; WARD

22 Analytics SQL> select deptno, 2 ename, 3 row_number() 4 over (partition by deptno 5 order by ename) rn, 6 first_value(ename) 7 over (partition by deptno 8 order by ename) "1st ename", 9 nth_value(ename,3) 10 over (partition by deptno 11 order by ename) "3rd ename", 12 last_value(ename) 13 over (partition by deptno 14 order by ename 15 rows between current row 16 and unbounded following) "last ename" 17 from emp 18 order by deptno, ename 19 /

23 Analytics SQL> select deptno, 2 ename, 3 row_number() 4 over (partition by deptno 5 order by ename) rn, 6 first_value(ename) 7 over (partition by deptno 8 order by ename) "1st ename", 9 nth_value(ename,3) 10 over (partition by deptno 11 order by ename) "3rd ename", 12 last_value(ename) 13 over (partition by deptno 14 order by ename 15 rows between current row 16 and unbounded following) "last ename" 17 from emp 18 order by deptno, ename 19 / DEPTNO ENAME RN 1st e 3rd ena last en CLARK 1 CLARK MILLER KING 2 CLARK MILLER MILLER 3 CLARK MILLER MILLER 20 ADAMS 1 ADAMS SMITH FORD 2 ADAMS SMITH JONES 3 ADAMS JONES SMITH SCOTT 4 ADAMS JONES SMITH SMITH 5 ADAMS JONES SMITH 30 ALLEN 1 ALLEN WARD BLAKE 2 ALLEN WARD JAMES 3 ALLEN JAMES WARD MARTIN 4 ALLEN JAMES WARD TURNER 5 ALLEN JAMES WARD WARD 6 ALLEN JAMES WARD

24 External tables allow for a preprocessor Program is run when you SELECT from external table The location is passed to the script/executable The executable does whatever it wants and writes to stdout Stdout is treated as the input file Most common use: gzip

25 External Table Preprocessor SQL> CREATE TABLE EMP_ET 2 ( 3 "EMPNO" NUMBER(4), 4 "ENAME" VARCHAR2(10), 5 "JOB" VARCHAR2(9), 6 "MGR" NUMBER(4), 7 "HIREDATE" DATE, 8 "SAL" NUMBER(7,2), 9 "COMM" NUMBER(7,2), 10 "DEPTNO" NUMBER(2) 11 ) 12 ORGANIZATION external 13 ( TYPE oracle_loader 14 DEFAULT DIRECTORY load_dir 15 ACCESS PARAMETERS 16 ( RECORDS DELIMITED BY NEWLINE 17 preprocessor exec_dir:'run_gunzip.sh' 18 FIELDS TERMINATED BY " " LDRTRIM 19 ) 20 location ( 'emp.dat.gz') 21 ) 22 / Table created.

26 External Table Preprocessor SQL>!file emp.dat.gz emp.dat.gz: gzip compressed data, was "emp.dat", from Unix, last modified: Wed Oct 7 12:48: SQL>!cat run_gunzip.sh #!/bin/bash /usr/bin/gunzip -c $* SQL> select empno, ename from emp_et where rownum <= 5; EMPNO ENAME SMITH 7499 ALLEN 7521 WARD 7566 JONES 7654 MARTIN

27 Other stuff Out of line upgrade Full install rather than upgrade of $ORACLE_HOME

28 Other stuff Connecting to a Hung Database Primarily to get diagnostic etc Sqlplus prelim / as sysdba 28

29 Not FREE, unless you have the correct options

30 SQL Change number of SQL captured by AWR dbms_workload_repository.modify_snapshot_settings (topnsql=> 200) 30

31 SQL Always capture a statement even if not high load dbms_workload_repository.add_colored_sql(:sql_id) 31

32 Reporting AWR SQL Report Report history of execution of a SQL statement Plans in use during different time periods AWR Diff Report Highlights differences between two periods of AWR data AWR RAC Report Reports on distribution of workload across instances ASH Report Any time period Instance or filtered Filtering at sessions level almost equivalent of SQL trace 32

33 Reporting AWR SQL Report Report history of execution of a SQL statement Plans in use during different time periods AWR Diff Report Highlights differences between two periods of AWR data AWR RAC Report Reports on distribution of workload across instances ASH Report Any time period Instance or filtered Filtering at sessions level almost equivalent of SQL trace AND DON T FORGET THE ADDM REPORT! 33

34 Reporting See ASH data in EM SQL Monitor 34

35 See Raw ASH data for Session in EM

36 Check Cardinality using SQL Monitor SQL Monitor allows you to compare the estimated number of rows returned for each operation in the plan to actual rows returned

37 Dumping ASH to file Sqlplus prelim / as sysdba >oradebug setmypid >oradebug dump ashdump 10 >alter session set events 'immediate trace name ashdump level 10'; 10 ==> minutes of history you want to dump Generated file can be loaded into database (or Excel)

38 Dumping ASH to file (normal operation) Sqlplus / as sysdba >create table my_ash_data as select * from v$active_session_history; exp my_ash_data Load into another database Run custom queries

39 <Insert Picture Here>

40

41 For More Information oracle database 11g or

Chapter 1. Writing Basic. SQL Statements

Chapter 1. Writing Basic. SQL Statements Chapter 1 Writing Basic SQL Statements 1 Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement

More information

Producing Readable Output with SQL*Plus

Producing Readable Output with SQL*Plus Producing Readable Output with SQL*Plus Chapter 8 Objectives After completing this lesson, you should be able to do the following: Produce queries that require an input variable Customize the SQL*Plus

More information

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress* Oracle Database 11 g Performance Tuning Recipes Sam R. Alapati Darl Kuhn Bill Padfield Apress* Contents About the Authors About the Technical Reviewer Acknowledgments xvi xvii xviii Chapter 1: Optimizing

More information

Oracle 12c New Features For Developers

Oracle 12c New Features For Developers Oracle 12c New Features For Developers Presented by: John Jay King Download this paper from: 1 Session Objectives Learn new Oracle 12c features that are geared to developers Know how existing database

More information

Displaying Data from Multiple Tables. Chapter 4

Displaying Data from Multiple Tables. Chapter 4 Displaying Data from Multiple Tables Chapter 4 1 Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using equality

More information

Oracle Database 11g: SQL Tuning Workshop

Oracle Database 11g: SQL Tuning Workshop Oracle University Contact Us: + 38516306373 Oracle Database 11g: SQL Tuning Workshop Duration: 3 Days What you will learn This Oracle Database 11g: SQL Tuning Workshop Release 2 training assists database

More information

Subqueries Chapter 6

Subqueries Chapter 6 Subqueries Chapter 6 Objectives After completing this lesson, you should be able to do the follovving: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries

More information

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region 1977 Oracle Database 30 Years of Sustained Innovation Database Vault Transparent Data Encryption

More information

Database Access from a Programming Language: Database Access from a Programming Language

Database Access from a Programming Language: Database Access from a Programming Language Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding

More information

Database Access from a Programming Language:

Database Access from a Programming Language: Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding

More information

Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop

Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop What you will learn This Oracle Database 11g SQL Tuning Workshop training is a DBA-centric course that teaches you how

More information

Displaying Data from Multiple Tables

Displaying Data from Multiple Tables Displaying Data from Multiple Tables 1 Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using eguality and

More information

SQL Introduction Chapter 7, sections 1 & 4. Introduction to SQL. Introduction to SQL. Introduction to SQL

SQL Introduction Chapter 7, sections 1 & 4. Introduction to SQL. Introduction to SQL. Introduction to SQL SQL Introduction Chapter 7, sections 1 & 4 Objectives To understand Oracle s SQL client interface Understand the difference between commands to the interface and SQL language. To understand the Oracle

More information

Oracle Database 10g: New Features for Administrators

Oracle Database 10g: New Features for Administrators Oracle Database 10g: New Features for Administrators Course ON10G 5 Day(s) 30:00 Hours Introduction This course introduces students to the new features in Oracle Database 10g Release 2 - the database for

More information

Upcoming: Oracle Database 12.1 Support Update for Linux on System z

Upcoming: Oracle Database 12.1 Support Update for Linux on System z Upcoming: Oracle Database 12.1 Support Update for Linux on System z International zseries Oracle SIG Webcast Series The International zseries Oracle Special Interest Group (SIG) is an organization of companies

More information

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an

More information

Oracle Database 11g: SQL Tuning Workshop Release 2

Oracle Database 11g: SQL Tuning Workshop Release 2 Oracle University Contact Us: 1 800 005 453 Oracle Database 11g: SQL Tuning Workshop Release 2 Duration: 3 Days What you will learn This course assists database developers, DBAs, and SQL developers to

More information

Oracle Architecture, Concepts & Facilities

Oracle Architecture, Concepts & Facilities COURSE CODE: COURSE TITLE: CURRENCY: AUDIENCE: ORAACF Oracle Architecture, Concepts & Facilities 10g & 11g Database administrators, system administrators and developers PREREQUISITES: At least 1 year of

More information

SQL Tuning Proven Methodologies

SQL Tuning Proven Methodologies SQL Tuning Proven Methodologies V.Hariharaputhran V.Hariharaputhran o Twelve years in Oracle Development / DBA / Big Data / Cloud Technologies o All India Oracle Users Group (AIOUG) Evangelist o Passion

More information

Safe Harbor Statement

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

More information

Oracle DBA Course Contents

Oracle DBA Course Contents Oracle DBA Course Contents Overview of Oracle DBA tasks: Oracle as a flexible, complex & robust RDBMS The evolution of hardware and the relation to Oracle Different DBA job roles(vp of DBA, developer DBA,production

More information

David L. Fuston, dfuston@vlamis.com Vlamis Software Solutions, Inc., www.vlamis.com

David L. Fuston, dfuston@vlamis.com Vlamis Software Solutions, Inc., www.vlamis.com Data Warehouse and E-Business Intelligence ORACLE S SQL ANALYTIC FUNCTIONS IN 8i AND 9i David L. Fuston, dfuston@vlamis.com, www.vlamis.com INTRODUCTION The SQL language has traditionally provided little

More information

<Insert Picture Here> Camilla Kampmann

<Insert Picture Here> Camilla Kampmann Camilla Kampmann Senior Marketing Director, EE&CIS, Oracle Corporation Strong FY07 Financial Performance New Software License Revenue Maintenance Revenue Service Revenue Total Revenue

More information

OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS)

OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS) Use Data from a Hadoop Cluster with Oracle Database Hands-On Lab Lab Structure Acronyms: OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS) All files are

More information

ORACLE DATABASE 10G ENTERPRISE EDITION

ORACLE DATABASE 10G ENTERPRISE EDITION ORACLE DATABASE 10G ENTERPRISE EDITION OVERVIEW Oracle Database 10g Enterprise Edition is ideal for enterprises that ENTERPRISE EDITION For enterprises of any size For databases up to 8 Exabytes in size.

More information

Oracle: Database and Data Management Innovations with CERN Public Day

Oracle: Database and Data Management Innovations with CERN Public Day Presented to Oracle: Database and Data Management Innovations with CERN Public Day Kevin Jernigan, Oracle Lorena Lobato Pardavila, CERN Manuel Martin Marquez, CERN June 10, 2015 Copyright 2015, Oracle

More information

RDBMS Using Oracle. Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture. kamran.munir@gmail.com. Joining Tables

RDBMS Using Oracle. Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture. kamran.munir@gmail.com. Joining Tables RDBMS Using Oracle Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture Joining Tables Multiple Table Queries Simple Joins Complex Joins Cartesian Joins Outer Joins Multi table Joins Other Multiple

More information

An Oracle White Paper August 2013. Express Mode Loading with SQL*Loader in Oracle Database 12c

An Oracle White Paper August 2013. Express Mode Loading with SQL*Loader in Oracle Database 12c An Oracle White Paper August 2013 Express Mode Loading with SQL*Loader in Oracle Database 12c Introduction... 3 Benefits of Using Express Mode... 3 Overview of CSV Files... 3 CSV files are text files where

More information

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY" Tokyo. Koln Sebastopol. Cambridge Farnham.

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY Tokyo. Koln Sebastopol. Cambridge Farnham. FIFTH EDITION Oracle Essentials Rick Greenwald, Robert Stackowiak, and Jonathan Stern O'REILLY" Beijing Cambridge Farnham Koln Sebastopol Tokyo _ Table of Contents Preface xiii 1. Introducing Oracle 1

More information

Who am I? Copyright 2014, Oracle and/or its affiliates. All rights reserved. 3

Who am I? Copyright 2014, Oracle and/or its affiliates. All rights reserved. 3 Oracle Database In-Memory Power the Real-Time Enterprise Saurabh K. Gupta Principal Technologist, Database Product Management Who am I? Principal Technologist, Database Product Management at Oracle Author

More information

DBA Best Practices: A Primer on Managing Oracle Databases. Leng Leng Tan Vice President, Systems and Applications Management

DBA Best Practices: A Primer on Managing Oracle Databases. Leng Leng Tan Vice President, Systems and Applications Management DBA Best Practices: A Primer on Managing Oracle Databases Leng Leng Tan Vice President, Systems and Applications Management The following is intended to outline our general product direction. It is intended

More information

DECLARATION SECTION. BODY STATEMENTS... Required

DECLARATION SECTION. BODY STATEMENTS... Required 1 EXCEPTION DECLARATION SECTION Optional BODY STATEMENTS... Required STATEMENTS Optional The above Construction is called PL/SQL BLOCK DATATYPES 2 Binary Integer (-2 **31-1,2**31+1) signed integer fastest

More information

Hacking and Protecting Oracle DB. Slavik Markovich CTO, Sentrigo

Hacking and Protecting Oracle DB. Slavik Markovich CTO, Sentrigo Hacking and Protecting Oracle DB Slavik Markovich CTO, Sentrigo What s This Presentation About? Explore SQL injection in depth Protect your code Finding vulnerable code Real world example What We'll Not

More information

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database 11g: New Features for Administrators DBA Release 2 Oracle Database 11g: New Features for Administrators DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g: New Features for Administrators DBA Release 2 training explores new change

More information

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager. Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager. Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering About Author Kai Yu Senior System Engineer, Dell Oracle Solutions

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Big Data. Marriage of RDBMS-DWH and Hadoop & Co. Author: Jan Ott Trivadis AG. 2014 Trivadis. Big Data - Marriage of RDBMS-DWH and Hadoop & Co.

Big Data. Marriage of RDBMS-DWH and Hadoop & Co. Author: Jan Ott Trivadis AG. 2014 Trivadis. Big Data - Marriage of RDBMS-DWH and Hadoop & Co. Big Data Marriage of RDBMS-DWH and Hadoop & Co. Author: Jan Ott Trivadis AG BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN 1 Mit über 600 IT- und Fachexperten

More information

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering Oracle OpenWorld 2010, Session S316263 3:00-4:00pm, Thursday 23-Sep-2010

More information

SQL*Plus User s Guide and Reference

SQL*Plus User s Guide and Reference SQL*Plus User s Guide and Reference Release 8.0 Part No. A53717 01 Enabling the Information Age SQL*Plus User s Guide and Reference, Release 8.0 Part No. A53717 01 Copyright 1997 Oracle Corporation All

More information

SQL the natural language for analysis ORACLE WHITE PAPER JUNE 2015

SQL the natural language for analysis ORACLE WHITE PAPER JUNE 2015 SQL the natural language for analysis ORACLE WHITE PAPER JUNE 2015 Contents Overview 1 Introduction 1 Powerful Framework 1 Simplified Optimization 6 Continuous Evolution 8 Standards Based 9 Why Oracle

More information

Bloom Filters. Christian Antognini Trivadis AG Zürich, Switzerland

Bloom Filters. Christian Antognini Trivadis AG Zürich, Switzerland Bloom Filters Christian Antognini Trivadis AG Zürich, Switzerland Oracle Database uses bloom filters in various situations. Unfortunately, no information about their usage is available in Oracle documentation.

More information

news from Tom Bacon about Monday's lecture

news from Tom Bacon about Monday's lecture ECRIC news from Tom Bacon about Monday's lecture I won't be at the lecture on Monday due to the work swamp. The plan is still to try and get into the data centre in two weeks time and do the next migration,

More information

Retrieval: Multiple Tables and Aggregation

Retrieval: Multiple Tables and Aggregation 4487CH08.qxd 11/24/04 10:15 AM Page 191 CHAPTER 8 Retrieval: Multiple Tables and Aggregation This chapter resumes the discussion of the retrieval possibilities of the SQL language. It is a logical continuation

More information

Oracle Database 11g: New Features for Administrators

Oracle Database 11g: New Features for Administrators Oracle University Entre em contato: 0800 891 6502 Oracle Database 11g: New Features for Administrators Duração: 5 Dias Objetivos do Curso This course gives students the opportunity to learn about-and practice

More information

Performance Tuning with Oracle Enterprise Manager Session # S300610

Performance Tuning with Oracle Enterprise Manager Session # S300610 Performance Tuning with Oracle Enterprise Manager Session # S300610 September 10, 2008 Prepared by John Darrah DBA Knowledge, Inc. Session # S300610 www.dbaknow.com Page 1 of 10 Introduction Oracle Enterprise

More information

Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies

Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies Oracle Enterprise Manager 12c New Capabilities for the DBA Charlie Garry, Director, Product Management Oracle Server Technologies of DBAs admit doing nothing to address performance issues CHANGE AVOID

More information

How To Test For A Test On A Test Server

How To Test For A Test On A Test Server Real Application Testing Dave Foster Master Principal Sales Consultant The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Oracle Database 11g Comparison Chart

Oracle Database 11g Comparison Chart Key Feature Summary Express 10g Standard One Standard Enterprise Maximum 1 CPU 2 Sockets 4 Sockets No Limit RAM 1GB OS Max OS Max OS Max Database Size 4GB No Limit No Limit No Limit Windows Linux Unix

More information

Latch and Mutex Contention Troubleshooting in Oracle. Tanel Põder http://blog.tanelpoder.com

Latch and Mutex Contention Troubleshooting in Oracle. Tanel Põder http://blog.tanelpoder.com Latch and Mutex Contention Troubleshooting in Oracle Tanel Põder http://blog.tanelpoder.com If you like this session......then you're probably an Oracle geek like me ;) And you will like my tech-blog:

More information

Oracle Database 12c Plug In. Switch On. Get SMART.

Oracle Database 12c Plug In. Switch On. Get SMART. Oracle Database 12c Plug In. Switch On. Get SMART. Duncan Harvey Head of Core Technology, Oracle EMEA March 2015 Safe Harbor Statement The following is intended to outline our general product direction.

More information

Using TimesTen between your Application and Oracle. between your Application and Oracle. DOAG Conference 2011

Using TimesTen between your Application and Oracle. between your Application and Oracle. DOAG Conference 2011 DOAG Conference 2011 Using TimesTen between your Application and Oracle Jan Ott, Roland Stirnimann Senior Consultants Trivadis AG BASEL 1 BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG

More information

Conversion Functions

Conversion Functions Conversion Functions Conversion functions convert a value from one datatype to another. Generally, the form of the function names follows the convention datatype TO datatype. The first datatype is the

More information

Oracle Database 10g: Administration Workshop II Release 2

Oracle Database 10g: Administration Workshop II Release 2 ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Administration Workshop II Release 2 Duration: 5 Days What you will learn This course advances your success as an Oracle professional

More information

ORACLE DATABASE ADMINISTRATOR RESUME

ORACLE DATABASE ADMINISTRATOR RESUME 1 of 5 1/17/2015 1:28 PM ORACLE DATABASE ADMINISTRATOR RESUME ORACLE DBA Resumes Please note that this is a not a Job Board - We are an I.T Staffing Company and we provide candidates on a Contract basis.

More information

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures] Objectif Install Oracle Grid Infrastructure Install Oracle Database 11g Release 2 Use Oracle Restart to manage components Use Automatic Storage Management (ASM) enhancements Implement table compression

More information

Inge Os Sales Consulting Manager Oracle Norway

Inge Os Sales Consulting Manager Oracle Norway Inge Os Sales Consulting Manager Oracle Norway Agenda Oracle Fusion Middelware Oracle Database 11GR2 Oracle Database Machine Oracle & Sun Agenda Oracle Fusion Middelware Oracle Database 11GR2 Oracle Database

More information

SQL Injection in web applications

SQL Injection in web applications SQL Injection in web applications February 2013 Slavik Markovich VP, CTO, Database Security McAfee About Me Co-Founder & CTO of Sentrigo (now McAfee Database Security) Specialties: Databases, security,

More information

Oracle Database In-Memory A Practical Solution

Oracle Database In-Memory A Practical Solution Oracle Database In-Memory A Practical Solution Sreekanth Chintala Oracle Enterprise Architect Dan Huls Sr. Technical Director, AT&T WiFi CON3087 Moscone South 307 Safe Harbor Statement The following is

More information

Oracle PL/SQL Best Practices

Oracle PL/SQL Best Practices Achieving PL/SQL Excellence Oracle PL/SQL Best Practices Steven Feuerstein Me - www.stevenfeuerstein.com PL/Solutions - www.plsolutions.com RevealNet - www.revealnet.com 7/5/99 Copyright 1999 Steven Feuerstein

More information

Oracle/SQL Tutorial 1

Oracle/SQL Tutorial 1 Oracle/SQL Tutorial 1 Michael Gertz Database and Information Systems Group Department of Computer Science University of California, Davis gertz@cs.ucdavis.edu http://www.db.cs.ucdavis.edu This Oracle/SQL

More information

Oracle EXAM - 1Z0-117. Oracle Database 11g Release 2: SQL Tuning. Buy Full Product. http://www.examskey.com/1z0-117.html

Oracle EXAM - 1Z0-117. Oracle Database 11g Release 2: SQL Tuning. Buy Full Product. http://www.examskey.com/1z0-117.html Oracle EXAM - 1Z0-117 Oracle Database 11g Release 2: SQL Tuning Buy Full Product http://www.examskey.com/1z0-117.html Examskey Oracle 1Z0-117 exam demo product is here for you to test the quality of the

More information

Oracle 11g New Features - OCP Upgrade Exam

Oracle 11g New Features - OCP Upgrade Exam Oracle 11g New Features - OCP Upgrade Exam This course gives you the opportunity to learn about and practice with the new change management features and other key enhancements in Oracle Database 11g Release

More information

Using Database Diagnostic and Tuning Packs through Oracle Enterprise Manager 12c. Eric Siglin OCM, OCP, CTT+ Senior Oracle DBA

Using Database Diagnostic and Tuning Packs through Oracle Enterprise Manager 12c. Eric Siglin OCM, OCP, CTT+ Senior Oracle DBA Using Database Diagnostic and Tuning Packs through Oracle Enterprise Manager 12c Eric Siglin OCM, OCP, CTT+ Senior Oracle DBA ERCOT Quick Facts ERCOT covers 75% of Texas land ERCOT handles 85% of Texas

More information

Data Models and Database Management Systems (DBMSs) Dr. Philip Cannata

Data Models and Database Management Systems (DBMSs) Dr. Philip Cannata Data Models and Database Management Systems (DBMSs) Dr. Philip Cannata 1 Data Models in the 1960s, 1970s, and 1980s Hierarchical Network (Graph) Relational Schema (Model) - first 1956 Vern Watts was IMS's

More information

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager Björn Bolltoft Principal Product Manager Database manageability Table of Contents Database Performance Management... 3 A.

More information

Tips & Best Practices

Tips & Best Practices IOUG Tips & Best Practices Booklet A Compilation of Technical Tips from the Independent Oracle Users Group www.ioug.org Eighth Edition Leveraging SQL Tuning Techniques for Active Data Guard Databases By

More information

1Z0-117 Oracle Database 11g Release 2: SQL Tuning. Oracle

1Z0-117 Oracle Database 11g Release 2: SQL Tuning. Oracle 1Z0-117 Oracle Database 11g Release 2: SQL Tuning Oracle To purchase Full version of Practice exam click below; http://www.certshome.com/1z0-117-practice-test.html FOR Oracle 1Z0-117 Exam Candidates We

More information

The safer, easier way to help you pass any IT exams. Exam : 1Z0-067. Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP.

The safer, easier way to help you pass any IT exams. Exam : 1Z0-067. Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP. http://www.51- pass.com Exam : 1Z0-067 Title : Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP Version : DEMO 1 / 7 1.Which two statements are true about scheduling operations in a pluggable database

More information

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte http://asktom.oracle.com

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte http://asktom.oracle.com Why Standardize on Oracle Database 11g Next Generation Database Management Thomas Kyte http://asktom.oracle.com Top Challenges Performance Management Change Management Ongoing Administration Storage Backup

More information

Keep It Simple - Common, Overlooked Performance Tuning Tips. Paul Jackson Hotsos

Keep It Simple - Common, Overlooked Performance Tuning Tips. Paul Jackson Hotsos Keep It Simple - Common, Overlooked Performance Tuning Tips Paul Jackson Hotsos Who Am I? Senior Consultant at Hotsos Oracle Ace Co-Author of Oracle Applications DBA Field Guide Co-Author of Oracle R12

More information

Delivering Oracle Success. Automatic SQL Tuning in Oracle Database 10g and 11g. Lucy Feng. RMOUG Training Days February 15-17, 2011

Delivering Oracle Success. Automatic SQL Tuning in Oracle Database 10g and 11g. Lucy Feng. RMOUG Training Days February 15-17, 2011 Delivering Oracle Success Automatic SQL Tuning in Oracle Database 10g and 11g Lucy Feng RMOUG Training Days February 15-17, 2011 About DBAK Oracle solution provider Co-founded in 2005 Based in Englewood,

More information

The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias. 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. The Sins of SQL Programming that send the DB to Upgrade Purgatory Abel Macias 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Who is Abel Macias? 1994 - Joined Oracle Support 2000

More information

Services for a DBA May Your Workloads RIP (Run In Peace)

Services for a DBA May Your Workloads RIP (Run In Peace) Services for a DBA May Your Workloads RIP (Run In Peace) David Austin Manager Technical Writing for RAC and Grid Oracle USA, Inc. david.austin@oracle.com What, When, Why, Where, How? Connection load balancing

More information

SQL> SELECT ename, job, sal Salary. 1.4.Will the SELECT statement execute successfully? True/False

SQL> SELECT ename, job, sal Salary. 1.4.Will the SELECT statement execute successfully? True/False BASES DE DATOS Ingeniería Técnica Informática Asignatura Obligatoria: 4.5 + 4.5 créditos (Segundo cuatrimestre) Curso académico 2000/2002 Relación de Ejercicios Prácticos TEMA 1. MANDATO SELECT BÁSICO

More information

An Oracle White Paper February, 2015. Oracle Database In-Memory Advisor Best Practices

An Oracle White Paper February, 2015. Oracle Database In-Memory Advisor Best Practices An Oracle White Paper February, 2015 Oracle Database In-Memory Advisor Best Practices Disclaimer The following is intended to outline our general product direction. It is intended for information purposes

More information

Real Application Testing. Fred Louis Oracle Enterprise Architect

Real Application Testing. Fred Louis Oracle Enterprise Architect Real Application Testing Fred Louis Oracle Enterprise Architect The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy MyOra 3.5 SQL Tool for Oracle User Guide Kris Murthy Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL Editor...

More information

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/- Oracle Objective: Oracle has many advantages and features that makes it popular and thereby makes it as the world's largest enterprise software company. Oracle is used for almost all large application

More information

SQL Activity Runaway sessions Session information. SQL Activity Concurrent Request runaways. Database sessions Concurrent Requests

SQL Activity Runaway sessions Session information. SQL Activity Concurrent Request runaways. Database sessions Concurrent Requests Oracle Application Database Management, Part 1: Take Database Monitoring in Oracle Applications Manager to the Next Level Editor s Note: In this first of a series of ORAtips articles on Oracle Application

More information

Instant SQL Programming

Instant SQL Programming Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions

More information

Collecting Oracle AWR Reports for Database Infrastructure Evaluator Tool (DIET) by Hitachi Data Systems

Collecting Oracle AWR Reports for Database Infrastructure Evaluator Tool (DIET) by Hitachi Data Systems 1 Collecting Oracle AWR Reports for Database Infrastructure Evaluator Tool (DIET) by Hitachi Data Systems User Guide June 2015 Month Year Feedback Hitachi Data Systems welcomes your feedback. Please share

More information

<Insert Picture Here> Oracle bemutatkozás

<Insert Picture Here> Oracle bemutatkozás Oracle bemutatkozás Fekete Zoltán Oracle üzleti intelligencia és adattárház termékmenedzser Oracle Corporation 2007 Legnagyobb vállalati szoftver szállító 18 milliárd $ bevétel, FY07

More information

Oracle Database 11g: New Features for Administrators 15-1

Oracle Database 11g: New Features for Administrators 15-1 Oracle Database 11g: New Features for Administrators 15-1 Oracle Database 11g: New Features for Administrators 15-2 SQL Monitoring The real-time SQL monitoring feature on Oracle Database 11g enables you

More information

Chapter 2: Security in DB2

Chapter 2: Security in DB2 2. Security in DB2 2-1 DBA Certification Course (Summer 2008) Chapter 2: Security in DB2 Authentication DB2 Authorities Privileges Label-Based Access Control 2. Security in DB2 2-2 Objectives After completing

More information

The Database is Slow

The Database is Slow The Database is Slow SQL Server Performance Tuning Starter Kit Calgary PASS Chapter, 19 August 2015 Randolph West, Born SQL Email: r@ndolph.ca Twitter: @rabryst Basic Internals Data File Transaction Log

More information

SQL Optimization & Access Paths: What s Old & New Part 1

SQL Optimization & Access Paths: What s Old & New Part 1 SQL Optimization & Access Paths: What s Old & New Part 1 David Simpson Themis Inc. dsimpson@themisinc.com 2008 Themis, Inc. All rights reserved. David Simpson is currently a Senior Technical Advisor at

More information

An Oracle White Paper May 2010. Guide for Developing High-Performance Database Applications

An Oracle White Paper May 2010. Guide for Developing High-Performance Database Applications An Oracle White Paper May 2010 Guide for Developing High-Performance Database Applications Introduction The Oracle database has been engineered to provide very high performance and scale to thousands

More information

Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events

Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events Introducción Objetivos Objetivos del Curso Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events Using Automatic Workload Repository Managing the

More information

Oracle Database 12c. Peter Schmidt Systemberater Oracle Deutschland BV & CO KG

Oracle Database 12c. Peter Schmidt Systemberater Oracle Deutschland BV & CO KG Oracle Database 12c Peter Schmidt Systemberater Oracle Deutschland BV & CO KG Uptake of Oracle Database 12c compared with 11g 18,00% 16,00% 14,00% 12,00% 10,00% 8,00% 12.1 11.1 6,00% 4,00% 2,00% 0,00%

More information

An Oracle White Paper May 2011. The Oracle Optimizer Explain the Explain Plan

An Oracle White Paper May 2011. The Oracle Optimizer Explain the Explain Plan An Oracle White Paper May 2011 The Oracle Optimizer Explain the Explain Plan Introduction... 1 The Execution Plan... 2 Displaying the Execution plan... 3 What is Cost... 8 Understanding the execution plan...

More information

Chancery SMS 7.5.0 Database Split

Chancery SMS 7.5.0 Database Split TECHNICAL BULLETIN Microsoft SQL Server replication... 1 Transactional replication... 2 Preparing to set up replication... 3 Setting up replication... 4 Quick Reference...11, 2009 Pearson Education, Inc.

More information

<Insert Picture Here> Oracle Developer Days Oracle Database 11g - Exploiting the full potential of the Oracle database for application development

<Insert Picture Here> Oracle Developer Days Oracle Database 11g - Exploiting the full potential of the Oracle database for application development Oracle Developer Days Oracle Database 11g - Exploiting the full potential of the Oracle database for application development The following is intended to outline our general product

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

SQL Server to Oracle A Database Migration Roadmap

SQL Server to Oracle A Database Migration Roadmap SQL Server to Oracle A Database Migration Roadmap Louis Shih Superior Court of California County of Sacramento Oracle OpenWorld 2010 San Francisco, California Agenda Introduction Institutional Background

More information

Mini User's Guide for SQL*Plus T. J. Teorey

Mini User's Guide for SQL*Plus T. J. Teorey Mini User's Guide for SQL*Plus T. J. Teorey Table of Contents Oracle/logging-in 1 Nested subqueries 5 SQL create table/naming rules 2 Complex functions 6 Update commands 3 Save a query/perm table 6 Select

More information

1. This lesson introduces the Performance Tuning course objectives and agenda

1. This lesson introduces the Performance Tuning course objectives and agenda Oracle Database 11g: Performance Tuning The course starts with an unknown database that requires tuning. The lessons will proceed through the steps a DBA will perform to acquire the information needed

More information

Oracle Database 10g. Page # The Self-Managing Database. Agenda. Benoit Dageville Oracle Corporation benoit.dageville@oracle.com

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

More information

SQL Performance for a Big Data 22 Billion row data warehouse

SQL Performance for a Big Data 22 Billion row data warehouse SQL Performance for a Big Data Billion row data warehouse Dave Beulke dave @ d a v e b e u l k e.com Dave Beulke & Associates Session: F19 Friday May 8, 15 8: 9: Platform: z/os D a v e @ d a v e b e u

More information

MONASH UNIVERSITY. Faculty of Information Technology

MONASH UNIVERSITY. Faculty of Information Technology CSE2132/CSE9002 - Tutorial 1 Database Concept Exercises TOPICS - Database Concepts; Introduction to Oracle Part 1 (To be done in the students own time then discussed in class if necessary.) Hoffer,Prescott

More information

Oracle9i Database Release 2 Product Family

Oracle9i Database Release 2 Product Family Database Release 2 Product Family An Oracle White Paper January 2002 Database Release 2 Product Family INTRODUCTION Database Release 2 is available in three editions, each suitable for different development

More information