SlideShare ist ein Scribd-Unternehmen logo
1 von 61
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted1
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted2
What I learned at Oracle Open
World 2012
Thomas Kyte
http://asktom.oracle.com
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted8
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 to deliver any material, code, or functionality,
and should not be relied upon in making purchasing
decisions. The development, release, and timing of any
features or functionality described for Oracle's products
remains at the sole discretion of Oracle. Release timing for
Oracle Database 12c is planned for Calendar Year 2013.
The Beginning...
• Data Model with Structure
• Data Independent of Code
• Set-oriented
• 1977 the work begins
First RDBMS: Version 2
June 1979
• FIRST Commercial SQL RDBMS
• Impressive First SQL
• Joins, Subqueries
• Outer Joins, Connect By
• A Simple Server
• No transactions, ‘Limited’ Reliability
• Portability from the Start
• Written in pdp11 assembler, some ‘C’
• But multi-platform – PDP11, Dec VAX
Portability: Version 3
March 1983
• New Implementation Designed for Portability
• Written in ‘C’
• Single Source
• Architectural Changes
• Transactions, multi-versioning, no read consistency
• AI/BI files
• Oracle Corporation – name established
Cooperative Server: Version 5
April 1985
• My First Oracle Experience
• 1st Client/Server
• Cooperative Server
• Distributed Processing
• Parallel Server
• Portability
• V5 was first to go beyond 640K memory on PCs
• Single-user for Macintosh o/s
• SQL_TRACE
• select trace('sql',1),1 from dual;
Transaction Processing: Version 6
July 1988
• New Architecture
• Performance (first SMP)
• Availability
• TPO
• PL/SQL
• V6 Lays Architectural Groundwork for the Future
• This was a rewrite of the entire database fundamentally
Oracle7.3
February 1996
• Partitioned Views
• Bitmapped Indexes
• Asynchronous read ahead for table
scans
• Standby Database
• Deferred transaction recovery on
instance startup
• Updatable Join View
• SQLDBA no longer shipped.
• Index rebuilds
• DBV introduced
• Context Option
• PL/SQL - UTL_FILE
 Spatial Data Option
 Tablespaces changes - Coalesce,
Temporary Permanent,
 Trigger compilation, debug
 Unlimited extents on STORAGE clause.
 Some init.ora parameters modifiable -
TIMED_STATISTICS
 HASH Joins, Antijoins
 Histograms
 Oracle Trace
 Advanced Replication Object Groups
Data Warehouses Growing Rapidly
Tripling In Size Every Two Years
Source: Winter TopTen Survey, Winter Corporation, Waltham MA, 2008.
200
400
600
800
1000
1998 2000 2002 2004 2006 2008 2010 2012
TerabytesofData
Size of the Largest Data Warehouses
Enabling the Private Database Cloud
Years of continuous Oracle innovation
Oracle Database 10g
Oracle Database 11g
Oracle Exadata
Oracle9i Database
Real Application Clusters
Database Services
CPU Resource Management
Automatic Storage Management
Dynamic Database Services
Instance caging
I/O resource management
Server Pools
Quality of Service Management
InfiniBand support
Smart Scans
Smart Flash Cache
Hybrid Columnar Compression
© 2011 Oracle Corporation
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted20
Major Database Focus Areas
ENGINEERED
SYSTEMS
BIG
DATA
SOCIAL
BLOG
SMART
METER
101100101001
001001101010
101011100101
010100100101
CLOUD
COMPUTING
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted21
Consolidating Databases
v
Challenge #1
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted22
Database Consolidation Challenges
Reduce the
number of separate
databases
Reduce ITcosts by
consolidating more
servers
Keep database
applications isolated
and unchanged
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted23
Oracle Database Architecture
Requires memory, processes and database files
ERP
Database
Files
Background
Processes
Memory
Utilized
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted24
Oracle Database Architecture
Separate memory and processes required for each database
ERP
Database
Files
Memory
Utilized
Background
Processes
CRM
Database
Files
Background
Processes
Memory
Utilized
DW
Database
Files
Background
Processes
Memory
Utilized
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted25
New Pluggable Database Architecture
ERP
Database
Files
Memory
Utilized
Background
Processes
CRM
Database
Files
Memory
Utilized
Background
Processes
DW
Database
Files
Memory
Utilized
Background
Processes
Memory and processes required at container level only
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted26
New Pluggable Database Architecture
Memory and processes required at container level only
ERP CRM DW
Background
Processes
Memory
Utilized
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted27
Consolidating Older Databases
Step1: Upgrade databases in-place
11.1
CRM
10.2
ERP
11.2
DW
12.1
ERP
12.1
CRM
12.1
DW
Upgrade
in-place
Background
Processes
Memory
Utilized
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted28
Consolidating Older Databases
Step2: Plug-in upgraded databases
12.1
ERP
12.1
CRM
12.1
DW
Background
Processes
Memory
Utilized
12.1
ERP
12.1
CRM
12.1
DW
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted29
Background
Processes
Memory
Utilized
Oracle Pluggable Databases
Step1: Create empty databases for consolidation
ERP CRM DW
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted30
Background
Processes
Memory
Utilized
Consolidating Older Databases
Step2: Use Data Pump or GoldenGate to move database
ERP CRM DW
Data Pump or GoldenGate
10.2
ERP
11.1
CRM
11.2
DW
12.1
ERP
12.1
CRM
12.1
DW
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted31
OLTP benchmark comparison
Only 3GB of memory vs. 20GB
memory used for 50 databases
Pluggable databases scaled to
over 250 while separate
database instances maxed at 50
Pluggable Databases vs Separate Databases
Highly Efficient: 6x Less H/W Resource, 5x more Scalable
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted32
Managing Shared Resources
Resource management for Pluggable Databases
12.1
DW
Container Database (12.1)
ERP CRM DW
Top Priority Low PriorityMedium Priority
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted33
Simplify Patching and Upgrades
Apply changes once, all Pluggable Databases updated
Upgrade
in-place
12.1
ERP
12.1
DW
12.1
CRM
12.x
ERP
12.1
DW
Container Database
12.x
CRM
12.x
DW
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted34
Unplug and Plug Databases as Required
Flexible choice when patching & upgrading databases
12.1
ERP
12.1
CRM
12.1
DW
12.1
CRM
12.1
DW
Original Container Database (12.1)
12.x
CRM
12.x
DW
Upgraded Container Database (12.x)
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted35
DWCRM
Manage Many as One
Backup Databases as One; Recover at Pluggable Database Level
ERP
Point-in-time recovery
at Pluggable Database level
One Backup
Production Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted36
DWCRM
Manage Many as One
One Standby Database covers all Pluggable Databases
ERP HCM
Production Container Database
DWCRMERP HCM
Standby Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted37
ERP
Dev
Copy
Cloning Databases for Test, Development
Fast, flexible copy and snapshot of pluggable databases
ERP DWCRM
Production Container Database
ERP
Test
Copy
ERP
Test
Copy
Development Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted38
Pluggable Databases are Perfect for SaaS
Each customer’s data in private Pluggable Database
Customer
1
Customer
2
Customer
3
Customer
4
Customer
5
Customer
N
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted39
Isolation and multitenancy
Fast provisioning and cloning
Secure and highly available
No application changes
Manage many as one
Greater resource utilization
Performant and scalable
Lower IT costs
Oracle Pluggable Databases
New architecture for consolidating databases on Clouds
ERP CRM DW
Container Database
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted40
Lowering Storage Costs
v
Challenge #2
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted41
Managing Storage Challenges
Compress data,
without impacting
performance
Manage more data
without incurring
additional cost
Tier and
compress data
based on usage
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted42
Data Compression
Reduce storage footprint, read compressed data faster
Hot Data
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted42
111010101010101
001101010101011
010001011011000
110100101000001
001110001010101
101001011010010
110001010010011
111001001000010
001010101101000
10101010111010100110101
11000010100010110111010
10100101001001000010001
01010110100101101001110
00010100100101000010010
00010001010101110011010
Warm Data
101010101110101
001101011100001
010001011011101
010100101001001
000010001010101
101001011010011
100001010010010
100001001000010
001010101101001
10101010111010100110101110000101000101
10111010101001010010010000100010101011
01001011010011100001010010010100001001
00001000101010111001101110011000111010
Archive Data
101010101110101
001101011100001
010001011011101
010100101001001
000010001010101
101001011010011
100001010010010
100001001000010
001010101101001
10101010111010100110101110000101000101101110101
01001010010010000100010101011010010110100111000
01010010010100001001000010001010101110011011100
3X
Advanced Row Compression
10X
Columnar Query Compression
15X
Columnar Archive Compression
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted43
Understanding Data Usage Patterns
Database ‘heat map’
10 0111 10 10 0111 101 1
00 0101 10 10 0101 10
0 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
10 0100 11 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0110 11 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
10 0111 10 10 0111 100 0
1 1
1 1
10 0100 11 10 0111 100 0
10 0100 11 10 0111 10
10 0111 10 10 0111 10
10 0100 11 10 0111 100 0
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
10 0100 11 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
10 0111 10 10 0111 100 010 0111 10 10 0111 100 0
10 0110 11 10 0111 100 0
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted44
Understanding Data Usage Patterns
Database ‘heat map’
10 0111 10 10 0111 101 1
00 0101 10 10 0101 10
0 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
10 0100 11 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0110 11 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
10 0111 10 10 0111 100 0
1 1
1 1
10 0100 11 10 0111 100 0
10 0100 11 10 0111 10
10 0111 10 10 0111 10
10 0100 11 10 0111 100 0
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
10 0100 11 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
00 0101 10 10 0101 101 1
10 0111 10 10 0111 100 0
10 0101 10 10 0101 001 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 00 0111 001 1
01 0101 10 00 0101 101 1
10 0100 11 10 0111 100 0
10 0111 10 10 0111 100 0
10 0111 00 00 0111 100 1
00 0101 10 10 0101 101 1
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
10 0111 10 10 0111 100 010 0111 10 10 0111 100 0
10 0110 11 10 0111 100 0
10 0100 11 10 0111 100 0
10 0111 11 10 0111 100 0
10 0111 10 10 0111 101 1
10 0110 11 10 0111 100 0
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted45
0101101110101010010100100100001000
1010101101001011010011100001010010
Archive Data
011100001010001011011
101010100101001001000
010001010101101001011
010101001010010010001
Automatic Data Optimization
Usage based data compression
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted45
Hot Data
3X
Advanced Row Compression
Warm Data
1010101011101010011010111000010100
0101101110101010010100100100001000
1010101101001011010011100001010010
0101000010010000100010101011010010
10X
Columnar Query Compression
1000010100100101001010110111000010
101010101110101001101011100001010001011011
101010100101001001000010001010101101001011
010011100001010010010100001001000010001010
101010101110101001101011100001010001011011
15X
Columnar Archive Compression
01110101010010
10000100010101
01011100001010
10101010111010100110101
11000010100010110111010
10100101001001000010001
01010110100101101001110
00010100100101000010010
00010001010101110011010
10100101001001000010001
1110010100100101001010110111011010
101010101110101001101011100001011101011001
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted46
Redacting Data
v
Challenge #3
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted48
Redacting Data Challenges
Redact data in
applications,
queries and reports
Secure sensitive
personal
information
Avoid changing
applications,
queries and reports
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted49
Soc. Sec. #
115-69-3428
DOB
11/06/71
PIN
5623
Policy
enforced
redaction of
sensitive data
Redacting Sensitive Data
Mask Application Data Dynamically
Call Center
Operator
Payroll
Processing
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted50
Faster Performance
Database
Creation
Up to 1000x
faster
Database
Upgrade
Up to 40%
faster
Asynchronous
Global Indexes
Instant partition
maintenance
Adaptive Query
Optimization
Up to 6x faster
Materialized
View Refresh
Up to 5x faster
Parallel
Execution
Up to 4x faster
Spatial Queries
Up to 40x faster
Network
Encryption
Up to 10x faster
Large Parallel
Sorts
Up to 2x faster
Parallel
Union All
Up to 4x faster
String operations
in PL/SQL
Up to 30x faster
Auditing
Up to 5x faster
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted51
#4 Easy Top-N and
pagination queries
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted52
#5 Row Pattern
Matching
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted53
Row Pattern Matching
c##tkyte%CDB1> create table stocks
2 ( symbol varchar2(10),
3 tstamp date,
4 price number,
5 primary key (symbol,tstamp)
6 )
7 organization index
8 /
Table created.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted54
Row Pattern Matching
c##tkyte%CDB1> declare
2 l_data sys.odciNumberList :=
3 sys.odciNumberList
4 ( 35, 34, 33, 34, 35, 36,
5 37, 36, 35, 34, 35, 36, 37 );
6 l_cnt number := l_data.count;
7 begin
8 for i in 1 .. l_cnt
9 loop
10 insert into stocks
11 ( symbol, tstamp, price )
12 values
13 ('ORCL', sysdate-l_cnt+i, l_data(i) );
14 end loop;
15 commit;
16 end;
17 /
PL/SQL procedure successfully completed.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted55
Row Pattern Matching
c##tkyte%CDB1> select symbol, tstamp, price,
2 rpad('*',price,'*') hist
3 from stocks
4 order by symbol, tstamp;
SYMBOL TSTAMP PRICE HIST
---------- --------- ---------- ----------------------------------------
ORCL 01-SEP-12 35 ***********************************
ORCL 02-SEP-12 34 **********************************
ORCL 03-SEP-12 33 *********************************
ORCL 04-SEP-12 34 **********************************
ORCL 05-SEP-12 35 ***********************************
ORCL 06-SEP-12 36 ************************************
ORCL 07-SEP-12 37 *************************************
ORCL 08-SEP-12 36 ************************************
ORCL 09-SEP-12 35 ***********************************
ORCL 10-SEP-12 34 **********************************
ORCL 11-SEP-12 35 ***********************************
ORCL 12-SEP-12 36 ************************************
ORCL 13-SEP-12 37 *************************************
13 rows selected.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted56
Row Pattern Matching
c##tkyte%CDB1> SELECT *
2 FROM stocks MATCH_RECOGNIZE
3 ( PARTITION BY symbol
4 ORDER BY tstamp
5 MEASURES
6 STRT.tstamp AS start_tstamp,
7 LAST(DOWN.tstamp) AS bottom_tstamp,
8 LAST(UP.tstamp) AS end_tstamp
9 ONE ROW PER MATCH
10 AFTER MATCH SKIP TO LAST UP
11 PATTERN (STRT DOWN+ UP+)
12 DEFINE
13 DOWN AS DOWN.price < PREV(DOWN.price),
14 UP AS UP.price > PREV(UP.price)
15 ) MR
16 ORDER BY MR.symbol, MR.start_tstamp;
SYMBOL START_TST BOTTOM_TS END_TSTAM
---------- --------- --------- ---------
ORCL 01-SEP-12 03-SEP-12 07-SEP-12
ORCL 07-SEP-12 10-SEP-12 13-SEP-12
SYMBOL TSTAMP PRICE HIST
---------- --------- ---------- ----------------------------------------
ORCL 01-SEP-12 35 ***********************************
ORCL 02-SEP-12 34 **********************************
ORCL 03-SEP-12 33 *********************************
ORCL 04-SEP-12 34 **********************************
ORCL 05-SEP-12 35 ***********************************
ORCL 06-SEP-12 36 ************************************
ORCL 07-SEP-12 37 *************************************
ORCL 08-SEP-12 36 ************************************
ORCL 09-SEP-12 35 ***********************************
ORCL 10-SEP-12 34 **********************************
ORCL 11-SEP-12 35 ***********************************
ORCL 12-SEP-12 36 ************************************
ORCL 13-SEP-12 37 *************************************
13 rows selected.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted57
#6 Partitioning
Improvements
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted58
Partitioning Improvements
 *Asynchronous Global Index Maintenance for DROP and TRUNCATE
partition
 Cascade Functionality for TRUCATE and EXCHANGE partition
 Multiple partition operations in a single DDL
 Online move of a partition (without DBMS_REDEFINITION)
 *Interval + Reference partitioning
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted59
#7 Adaptive
Execution Plans
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted60
#9 Temporary
UNDO
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted61
#11 Application
Continuity
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted62
Transaction Guard
FIRST RDBMS to preserve COMMIT outcome
• Known outcome for every
transaction
• At-most-once transaction
execution
• Used by Application Continuity
• Available for JDBC-thin, OCI,
OCCI, ODP.net
Without Transaction Guard, retries
can cause logical corruption
Oracle Database 12c Release 1
1. Request
2. Calls
5. Guaranteed Outcome
3. FAN or errors
4. Enforce Outcome
62
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted63
Application Continuity
First RDBMS to mask planned/unplanned outages
• Improves end user experience
• Improves developer productivity
• Application transparent when
using Oracle stack
• Enabled with WebLogic Server,
Peoplesoft, Fusion Apps,
Siebel(possibly)
1. Request
2. Calls
5. Success
4. Replay
Oracle Database 12c Release 1
3. FAN or errors
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted64
The preceding 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 to
deliver any material, code, or functionality, and should not be
relied upon in making purchasing decisions. The development,
release, and timing of any features or functionality described for
Oracle's products remains at the sole discretion of Oracle.
Release timing for Oracle Database 12c is planned for Calendar
Year 2013.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted65
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted66
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted67
 I have a very busy OLTP Ecommerce database that contains thousands of
identical schemas with the same tables defined in each. The Java code
prepends the owning schema to every SQL statement, which in itself leads to
lots of identical SQL statements and high parsing. My questions are …
 1) Even if the code did not prepend the table owner to each statement,
would we still not have high parsing simply because the objects being
referenced are in different schemas ?
 2) Not being able to change the data model or how the code accesses
same, what can we do to address high parsing in this case ? This is an
11gR2 database and we’re using cursor_sharing=similar and have already
increased shared_pool and session_cached_cursors. Have considered
setting cursor_sharing = exact or force but don’t really have a good way to
test before doing it.

Weitere ähnliche Inhalte

Was ist angesagt?

Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...solarisyougood
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...Alex Zaballa
 
Top five reasons for selecting react.js for your next web application
Top five reasons for selecting react.js for your next web applicationTop five reasons for selecting react.js for your next web application
Top five reasons for selecting react.js for your next web applicationSolution Analysts
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
Eng systems oracle_overview
Eng systems oracle_overviewEng systems oracle_overview
Eng systems oracle_overviewFran Navarro
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?DLT Solutions
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityMarkus Michalewicz
 
Oracle GoldenGate, Streams, and Data Integrator
Oracle GoldenGate, Streams, and Data IntegratorOracle GoldenGate, Streams, and Data Integrator
Oracle GoldenGate, Streams, and Data IntegratorFumiko Yamashita
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateMarkus Michalewicz
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewMarkus Michalewicz
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission CriticalMarkus Michalewicz
 
Oracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best PracticesOracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best PracticesMarkus Michalewicz
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 

Was ist angesagt? (20)

Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
 
Top five reasons for selecting react.js for your next web application
Top five reasons for selecting react.js for your next web applicationTop five reasons for selecting react.js for your next web application
Top five reasons for selecting react.js for your next web application
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Eng systems oracle_overview
Eng systems oracle_overviewEng systems oracle_overview
Eng systems oracle_overview
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
2020 – A Decade of Change
2020 – A Decade of Change2020 – A Decade of Change
2020 – A Decade of Change
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High Availability
 
Oracle GoldenGate, Streams, and Data Integrator
Oracle GoldenGate, Streams, and Data IntegratorOracle GoldenGate, Streams, and Data Integrator
Oracle GoldenGate, Streams, and Data Integrator
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
 
Oracle RAC One Node 12c Overview
Oracle RAC One Node 12c OverviewOracle RAC One Node 12c Overview
Oracle RAC One Node 12c Overview
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Oracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best PracticesOracle Database 12c with RAC High Availability Best Practices
Oracle Database 12c with RAC High Availability Best Practices
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 

Ähnlich wie Things learned from OpenWorld 2013

Oracle_DB_sobre_Oracle
Oracle_DB_sobre_OracleOracle_DB_sobre_Oracle
Oracle_DB_sobre_OracleFran Navarro
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningBobby Curtis
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cGlen Hawkins
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...avanttic Consultoría Tecnológica
 
4 facing explosive data growth five ways to optimize storage for oracle datab...
4 facing explosive data growth five ways to optimize storage for oracle datab...4 facing explosive data growth five ways to optimize storage for oracle datab...
4 facing explosive data growth five ways to optimize storage for oracle datab...Dr. Wilfred Lin (Ph.D.)
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesConnor McDonald
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Fran Navarro
 
History of Oracle and Databases
History of Oracle and DatabasesHistory of Oracle and Databases
History of Oracle and DatabasesConnor McDonald
 
Presentation cloud management
Presentation   cloud managementPresentation   cloud management
Presentation cloud managementxKinAnx
 
Oracle storage best of-breed, best for oracle
Oracle storage  best of-breed, best for oracleOracle storage  best of-breed, best for oracle
Oracle storage best of-breed, best for oraclesolarisyougood
 
oracle-database-editions-wp-12c-1896124
oracle-database-editions-wp-12c-1896124oracle-database-editions-wp-12c-1896124
oracle-database-editions-wp-12c-1896124Arjun Sathe
 
Oracle Data Protection - 2. část
Oracle Data Protection - 2. částOracle Data Protection - 2. část
Oracle Data Protection - 2. částMarketingArrowECS_CZ
 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureSinanPetrusToma
 
B7 accelerating your business with oracle data integration solutions
B7   accelerating your business with oracle data integration solutionsB7   accelerating your business with oracle data integration solutions
B7 accelerating your business with oracle data integration solutionsDr. Wilfred Lin (Ph.D.)
 

Ähnlich wie Things learned from OpenWorld 2013 (20)

NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
 
Oracle_DB_sobre_Oracle
Oracle_DB_sobre_OracleOracle_DB_sobre_Oracle
Oracle_DB_sobre_Oracle
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19cMaximum Availability Architecture - Best Practices for Oracle Database 19c
Maximum Availability Architecture - Best Practices for Oracle Database 19c
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
 
4 facing explosive data growth five ways to optimize storage for oracle datab...
4 facing explosive data growth five ways to optimize storage for oracle datab...4 facing explosive data growth five ways to optimize storage for oracle datab...
4 facing explosive data growth five ways to optimize storage for oracle datab...
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Oracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutesOracle Multitenant in 50 minutes
Oracle Multitenant in 50 minutes
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
History of Oracle and Databases
History of Oracle and DatabasesHistory of Oracle and Databases
History of Oracle and Databases
 
Presentation cloud management
Presentation   cloud managementPresentation   cloud management
Presentation cloud management
 
Oracle storage best of-breed, best for oracle
Oracle storage  best of-breed, best for oracleOracle storage  best of-breed, best for oracle
Oracle storage best of-breed, best for oracle
 
oracle-database-editions-wp-12c-1896124
oracle-database-editions-wp-12c-1896124oracle-database-editions-wp-12c-1896124
oracle-database-editions-wp-12c-1896124
 
Oracle Data Protection - 2. část
Oracle Data Protection - 2. částOracle Data Protection - 2. část
Oracle Data Protection - 2. část
 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud Infrastructure
 
B7 accelerating your business with oracle data integration solutions
B7   accelerating your business with oracle data integration solutionsB7   accelerating your business with oracle data integration solutions
B7 accelerating your business with oracle data integration solutions
 
The great 8 of ODA
The great 8 of ODAThe great 8 of ODA
The great 8 of ODA
 

Mehr von Connor McDonald

Sangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolestSangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolestConnor McDonald
 
Sangam 19 - Analytic SQL
Sangam 19 - Analytic SQLSangam 19 - Analytic SQL
Sangam 19 - Analytic SQLConnor McDonald
 
UKOUG - 25 years of hints and tips
UKOUG - 25 years of hints and tipsUKOUG - 25 years of hints and tips
UKOUG - 25 years of hints and tipsConnor McDonald
 
Sangam 19 - Successful Applications on Autonomous
Sangam 19 - Successful Applications on AutonomousSangam 19 - Successful Applications on Autonomous
Sangam 19 - Successful Applications on AutonomousConnor McDonald
 
Sangam 2019 - The Latest Features
Sangam 2019 - The Latest FeaturesSangam 2019 - The Latest Features
Sangam 2019 - The Latest FeaturesConnor McDonald
 
UKOUG 2019 - SQL features
UKOUG 2019 - SQL featuresUKOUG 2019 - SQL features
UKOUG 2019 - SQL featuresConnor McDonald
 
APEX tour 2019 - successful development with autonomous
APEX tour 2019 - successful development with autonomousAPEX tour 2019 - successful development with autonomous
APEX tour 2019 - successful development with autonomousConnor McDonald
 
APAC Groundbreakers 2019 - Perth/Melbourne
APAC Groundbreakers 2019 - Perth/Melbourne APAC Groundbreakers 2019 - Perth/Melbourne
APAC Groundbreakers 2019 - Perth/Melbourne Connor McDonald
 
OOW19 - Flashback, not just for DBAs
OOW19 - Flashback, not just for DBAsOOW19 - Flashback, not just for DBAs
OOW19 - Flashback, not just for DBAsConnor McDonald
 
OOW19 - Read consistency
OOW19 - Read consistencyOOW19 - Read consistency
OOW19 - Read consistencyConnor McDonald
 
OOW19 - Slower and less secure applications
OOW19 - Slower and less secure applicationsOOW19 - Slower and less secure applications
OOW19 - Slower and less secure applicationsConnor McDonald
 
OOW19 - Killing database sessions
OOW19 - Killing database sessionsOOW19 - Killing database sessions
OOW19 - Killing database sessionsConnor McDonald
 
OOW19 - Ten Amazing SQL features
OOW19 - Ten Amazing SQL featuresOOW19 - Ten Amazing SQL features
OOW19 - Ten Amazing SQL featuresConnor McDonald
 
Latin America Tour 2019 - 18c and 19c featues
Latin America Tour 2019   - 18c and 19c featuesLatin America Tour 2019   - 18c and 19c featues
Latin America Tour 2019 - 18c and 19c featuesConnor McDonald
 
Latin America tour 2019 - Flashback
Latin America tour 2019 -  FlashbackLatin America tour 2019 -  Flashback
Latin America tour 2019 - FlashbackConnor McDonald
 
Latin America Tour 2019 - 10 great sql features
Latin America Tour 2019  - 10 great sql featuresLatin America Tour 2019  - 10 great sql features
Latin America Tour 2019 - 10 great sql featuresConnor McDonald
 
Latin America Tour 2019 - pattern matching
Latin America Tour 2019 - pattern matchingLatin America Tour 2019 - pattern matching
Latin America Tour 2019 - pattern matchingConnor McDonald
 
Latin America Tour 2019 - slow data and sql processing
Latin America Tour 2019  - slow data and sql processingLatin America Tour 2019  - slow data and sql processing
Latin America Tour 2019 - slow data and sql processingConnor McDonald
 

Mehr von Connor McDonald (20)

Flashback ITOUG
Flashback ITOUGFlashback ITOUG
Flashback ITOUG
 
Sangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolestSangam 19 - PLSQL still the coolest
Sangam 19 - PLSQL still the coolest
 
Sangam 19 - Analytic SQL
Sangam 19 - Analytic SQLSangam 19 - Analytic SQL
Sangam 19 - Analytic SQL
 
UKOUG - 25 years of hints and tips
UKOUG - 25 years of hints and tipsUKOUG - 25 years of hints and tips
UKOUG - 25 years of hints and tips
 
Sangam 19 - Successful Applications on Autonomous
Sangam 19 - Successful Applications on AutonomousSangam 19 - Successful Applications on Autonomous
Sangam 19 - Successful Applications on Autonomous
 
Sangam 2019 - The Latest Features
Sangam 2019 - The Latest FeaturesSangam 2019 - The Latest Features
Sangam 2019 - The Latest Features
 
UKOUG 2019 - SQL features
UKOUG 2019 - SQL featuresUKOUG 2019 - SQL features
UKOUG 2019 - SQL features
 
APEX tour 2019 - successful development with autonomous
APEX tour 2019 - successful development with autonomousAPEX tour 2019 - successful development with autonomous
APEX tour 2019 - successful development with autonomous
 
APAC Groundbreakers 2019 - Perth/Melbourne
APAC Groundbreakers 2019 - Perth/Melbourne APAC Groundbreakers 2019 - Perth/Melbourne
APAC Groundbreakers 2019 - Perth/Melbourne
 
OOW19 - Flashback, not just for DBAs
OOW19 - Flashback, not just for DBAsOOW19 - Flashback, not just for DBAs
OOW19 - Flashback, not just for DBAs
 
OOW19 - Read consistency
OOW19 - Read consistencyOOW19 - Read consistency
OOW19 - Read consistency
 
OOW19 - Slower and less secure applications
OOW19 - Slower and less secure applicationsOOW19 - Slower and less secure applications
OOW19 - Slower and less secure applications
 
OOW19 - Killing database sessions
OOW19 - Killing database sessionsOOW19 - Killing database sessions
OOW19 - Killing database sessions
 
OOW19 - Ten Amazing SQL features
OOW19 - Ten Amazing SQL featuresOOW19 - Ten Amazing SQL features
OOW19 - Ten Amazing SQL features
 
Latin America Tour 2019 - 18c and 19c featues
Latin America Tour 2019   - 18c and 19c featuesLatin America Tour 2019   - 18c and 19c featues
Latin America Tour 2019 - 18c and 19c featues
 
Latin America tour 2019 - Flashback
Latin America tour 2019 -  FlashbackLatin America tour 2019 -  Flashback
Latin America tour 2019 - Flashback
 
Latin America Tour 2019 - 10 great sql features
Latin America Tour 2019  - 10 great sql featuresLatin America Tour 2019  - 10 great sql features
Latin America Tour 2019 - 10 great sql features
 
Latin America Tour 2019 - pattern matching
Latin America Tour 2019 - pattern matchingLatin America Tour 2019 - pattern matching
Latin America Tour 2019 - pattern matching
 
Latin America Tour 2019 - slow data and sql processing
Latin America Tour 2019  - slow data and sql processingLatin America Tour 2019  - slow data and sql processing
Latin America Tour 2019 - slow data and sql processing
 
ANSI vs Oracle language
ANSI vs Oracle languageANSI vs Oracle language
ANSI vs Oracle language
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Things learned from OpenWorld 2013

  • 1. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted1
  • 2. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted2 What I learned at Oracle Open World 2012 Thomas Kyte http://asktom.oracle.com
  • 3. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted8 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 to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle's products remains at the sole discretion of Oracle. Release timing for Oracle Database 12c is planned for Calendar Year 2013.
  • 4. The Beginning... • Data Model with Structure • Data Independent of Code • Set-oriented • 1977 the work begins
  • 5. First RDBMS: Version 2 June 1979 • FIRST Commercial SQL RDBMS • Impressive First SQL • Joins, Subqueries • Outer Joins, Connect By • A Simple Server • No transactions, ‘Limited’ Reliability • Portability from the Start • Written in pdp11 assembler, some ‘C’ • But multi-platform – PDP11, Dec VAX
  • 6. Portability: Version 3 March 1983 • New Implementation Designed for Portability • Written in ‘C’ • Single Source • Architectural Changes • Transactions, multi-versioning, no read consistency • AI/BI files • Oracle Corporation – name established
  • 7.
  • 8. Cooperative Server: Version 5 April 1985 • My First Oracle Experience • 1st Client/Server • Cooperative Server • Distributed Processing • Parallel Server • Portability • V5 was first to go beyond 640K memory on PCs • Single-user for Macintosh o/s • SQL_TRACE • select trace('sql',1),1 from dual;
  • 9. Transaction Processing: Version 6 July 1988 • New Architecture • Performance (first SMP) • Availability • TPO • PL/SQL • V6 Lays Architectural Groundwork for the Future • This was a rewrite of the entire database fundamentally
  • 10. Oracle7.3 February 1996 • Partitioned Views • Bitmapped Indexes • Asynchronous read ahead for table scans • Standby Database • Deferred transaction recovery on instance startup • Updatable Join View • SQLDBA no longer shipped. • Index rebuilds • DBV introduced • Context Option • PL/SQL - UTL_FILE  Spatial Data Option  Tablespaces changes - Coalesce, Temporary Permanent,  Trigger compilation, debug  Unlimited extents on STORAGE clause.  Some init.ora parameters modifiable - TIMED_STATISTICS  HASH Joins, Antijoins  Histograms  Oracle Trace  Advanced Replication Object Groups
  • 11.
  • 12.
  • 13. Data Warehouses Growing Rapidly Tripling In Size Every Two Years Source: Winter TopTen Survey, Winter Corporation, Waltham MA, 2008. 200 400 600 800 1000 1998 2000 2002 2004 2006 2008 2010 2012 TerabytesofData Size of the Largest Data Warehouses
  • 14. Enabling the Private Database Cloud Years of continuous Oracle innovation Oracle Database 10g Oracle Database 11g Oracle Exadata Oracle9i Database Real Application Clusters Database Services CPU Resource Management Automatic Storage Management Dynamic Database Services Instance caging I/O resource management Server Pools Quality of Service Management InfiniBand support Smart Scans Smart Flash Cache Hybrid Columnar Compression © 2011 Oracle Corporation
  • 15. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted20 Major Database Focus Areas ENGINEERED SYSTEMS BIG DATA SOCIAL BLOG SMART METER 101100101001 001001101010 101011100101 010100100101 CLOUD COMPUTING
  • 16. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted21 Consolidating Databases v Challenge #1
  • 17. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted22 Database Consolidation Challenges Reduce the number of separate databases Reduce ITcosts by consolidating more servers Keep database applications isolated and unchanged
  • 18. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted23 Oracle Database Architecture Requires memory, processes and database files ERP Database Files Background Processes Memory Utilized
  • 19. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted24 Oracle Database Architecture Separate memory and processes required for each database ERP Database Files Memory Utilized Background Processes CRM Database Files Background Processes Memory Utilized DW Database Files Background Processes Memory Utilized
  • 20. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted25 New Pluggable Database Architecture ERP Database Files Memory Utilized Background Processes CRM Database Files Memory Utilized Background Processes DW Database Files Memory Utilized Background Processes Memory and processes required at container level only
  • 21. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted26 New Pluggable Database Architecture Memory and processes required at container level only ERP CRM DW Background Processes Memory Utilized Container Database
  • 22. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted27 Consolidating Older Databases Step1: Upgrade databases in-place 11.1 CRM 10.2 ERP 11.2 DW 12.1 ERP 12.1 CRM 12.1 DW Upgrade in-place Background Processes Memory Utilized Container Database
  • 23. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted28 Consolidating Older Databases Step2: Plug-in upgraded databases 12.1 ERP 12.1 CRM 12.1 DW Background Processes Memory Utilized 12.1 ERP 12.1 CRM 12.1 DW Container Database
  • 24. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted29 Background Processes Memory Utilized Oracle Pluggable Databases Step1: Create empty databases for consolidation ERP CRM DW Container Database
  • 25. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted30 Background Processes Memory Utilized Consolidating Older Databases Step2: Use Data Pump or GoldenGate to move database ERP CRM DW Data Pump or GoldenGate 10.2 ERP 11.1 CRM 11.2 DW 12.1 ERP 12.1 CRM 12.1 DW Container Database
  • 26. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted31 OLTP benchmark comparison Only 3GB of memory vs. 20GB memory used for 50 databases Pluggable databases scaled to over 250 while separate database instances maxed at 50 Pluggable Databases vs Separate Databases Highly Efficient: 6x Less H/W Resource, 5x more Scalable
  • 27. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted32 Managing Shared Resources Resource management for Pluggable Databases 12.1 DW Container Database (12.1) ERP CRM DW Top Priority Low PriorityMedium Priority
  • 28. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted33 Simplify Patching and Upgrades Apply changes once, all Pluggable Databases updated Upgrade in-place 12.1 ERP 12.1 DW 12.1 CRM 12.x ERP 12.1 DW Container Database 12.x CRM 12.x DW
  • 29. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted34 Unplug and Plug Databases as Required Flexible choice when patching & upgrading databases 12.1 ERP 12.1 CRM 12.1 DW 12.1 CRM 12.1 DW Original Container Database (12.1) 12.x CRM 12.x DW Upgraded Container Database (12.x)
  • 30. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted35 DWCRM Manage Many as One Backup Databases as One; Recover at Pluggable Database Level ERP Point-in-time recovery at Pluggable Database level One Backup Production Container Database
  • 31. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted36 DWCRM Manage Many as One One Standby Database covers all Pluggable Databases ERP HCM Production Container Database DWCRMERP HCM Standby Container Database
  • 32. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted37 ERP Dev Copy Cloning Databases for Test, Development Fast, flexible copy and snapshot of pluggable databases ERP DWCRM Production Container Database ERP Test Copy ERP Test Copy Development Container Database
  • 33. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted38 Pluggable Databases are Perfect for SaaS Each customer’s data in private Pluggable Database Customer 1 Customer 2 Customer 3 Customer 4 Customer 5 Customer N Container Database
  • 34. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted39 Isolation and multitenancy Fast provisioning and cloning Secure and highly available No application changes Manage many as one Greater resource utilization Performant and scalable Lower IT costs Oracle Pluggable Databases New architecture for consolidating databases on Clouds ERP CRM DW Container Database
  • 35. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted40 Lowering Storage Costs v Challenge #2
  • 36. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted41 Managing Storage Challenges Compress data, without impacting performance Manage more data without incurring additional cost Tier and compress data based on usage
  • 37. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted42 Data Compression Reduce storage footprint, read compressed data faster Hot Data Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted42 111010101010101 001101010101011 010001011011000 110100101000001 001110001010101 101001011010010 110001010010011 111001001000010 001010101101000 10101010111010100110101 11000010100010110111010 10100101001001000010001 01010110100101101001110 00010100100101000010010 00010001010101110011010 Warm Data 101010101110101 001101011100001 010001011011101 010100101001001 000010001010101 101001011010011 100001010010010 100001001000010 001010101101001 10101010111010100110101110000101000101 10111010101001010010010000100010101011 01001011010011100001010010010100001001 00001000101010111001101110011000111010 Archive Data 101010101110101 001101011100001 010001011011101 010100101001001 000010001010101 101001011010011 100001010010010 100001001000010 001010101101001 10101010111010100110101110000101000101101110101 01001010010010000100010101011010010110100111000 01010010010100001001000010001010101110011011100 3X Advanced Row Compression 10X Columnar Query Compression 15X Columnar Archive Compression
  • 38. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted43 Understanding Data Usage Patterns Database ‘heat map’ 10 0111 10 10 0111 101 1 00 0101 10 10 0101 10 0 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 10 0100 11 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0110 11 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0 10 0111 10 10 0111 100 0 1 1 1 1 10 0100 11 10 0111 100 0 10 0100 11 10 0111 10 10 0111 10 10 0111 10 10 0100 11 10 0111 100 0 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 10 0100 11 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0 10 0111 10 10 0111 100 010 0111 10 10 0111 100 0 10 0110 11 10 0111 100 0 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0
  • 39. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted44 Understanding Data Usage Patterns Database ‘heat map’ 10 0111 10 10 0111 101 1 00 0101 10 10 0101 10 0 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 10 0100 11 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0110 11 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0 10 0111 10 10 0111 100 0 1 1 1 1 10 0100 11 10 0111 100 0 10 0100 11 10 0111 10 10 0111 10 10 0111 10 10 0100 11 10 0111 100 0 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 10 0100 11 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 00 0101 10 10 0101 101 1 10 0111 10 10 0111 100 0 10 0101 10 10 0101 001 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 00 0111 001 1 01 0101 10 00 0101 101 1 10 0100 11 10 0111 100 0 10 0111 10 10 0111 100 0 10 0111 00 00 0111 100 1 00 0101 10 10 0101 101 1 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0 10 0111 10 10 0111 100 010 0111 10 10 0111 100 0 10 0110 11 10 0111 100 0 10 0100 11 10 0111 100 0 10 0111 11 10 0111 100 0 10 0111 10 10 0111 101 1 10 0110 11 10 0111 100 0
  • 40. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted45 0101101110101010010100100100001000 1010101101001011010011100001010010 Archive Data 011100001010001011011 101010100101001001000 010001010101101001011 010101001010010010001 Automatic Data Optimization Usage based data compression Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted45 Hot Data 3X Advanced Row Compression Warm Data 1010101011101010011010111000010100 0101101110101010010100100100001000 1010101101001011010011100001010010 0101000010010000100010101011010010 10X Columnar Query Compression 1000010100100101001010110111000010 101010101110101001101011100001010001011011 101010100101001001000010001010101101001011 010011100001010010010100001001000010001010 101010101110101001101011100001010001011011 15X Columnar Archive Compression 01110101010010 10000100010101 01011100001010 10101010111010100110101 11000010100010110111010 10100101001001000010001 01010110100101101001110 00010100100101000010010 00010001010101110011010 10100101001001000010001 1110010100100101001010110111011010 101010101110101001101011100001011101011001
  • 41. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted46 Redacting Data v Challenge #3
  • 42. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted48 Redacting Data Challenges Redact data in applications, queries and reports Secure sensitive personal information Avoid changing applications, queries and reports
  • 43. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted49 Soc. Sec. # 115-69-3428 DOB 11/06/71 PIN 5623 Policy enforced redaction of sensitive data Redacting Sensitive Data Mask Application Data Dynamically Call Center Operator Payroll Processing
  • 44. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted50 Faster Performance Database Creation Up to 1000x faster Database Upgrade Up to 40% faster Asynchronous Global Indexes Instant partition maintenance Adaptive Query Optimization Up to 6x faster Materialized View Refresh Up to 5x faster Parallel Execution Up to 4x faster Spatial Queries Up to 40x faster Network Encryption Up to 10x faster Large Parallel Sorts Up to 2x faster Parallel Union All Up to 4x faster String operations in PL/SQL Up to 30x faster Auditing Up to 5x faster
  • 45. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted51 #4 Easy Top-N and pagination queries
  • 46. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted52 #5 Row Pattern Matching
  • 47. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted53 Row Pattern Matching c##tkyte%CDB1> create table stocks 2 ( symbol varchar2(10), 3 tstamp date, 4 price number, 5 primary key (symbol,tstamp) 6 ) 7 organization index 8 / Table created.
  • 48. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted54 Row Pattern Matching c##tkyte%CDB1> declare 2 l_data sys.odciNumberList := 3 sys.odciNumberList 4 ( 35, 34, 33, 34, 35, 36, 5 37, 36, 35, 34, 35, 36, 37 ); 6 l_cnt number := l_data.count; 7 begin 8 for i in 1 .. l_cnt 9 loop 10 insert into stocks 11 ( symbol, tstamp, price ) 12 values 13 ('ORCL', sysdate-l_cnt+i, l_data(i) ); 14 end loop; 15 commit; 16 end; 17 / PL/SQL procedure successfully completed.
  • 49. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted55 Row Pattern Matching c##tkyte%CDB1> select symbol, tstamp, price, 2 rpad('*',price,'*') hist 3 from stocks 4 order by symbol, tstamp; SYMBOL TSTAMP PRICE HIST ---------- --------- ---------- ---------------------------------------- ORCL 01-SEP-12 35 *********************************** ORCL 02-SEP-12 34 ********************************** ORCL 03-SEP-12 33 ********************************* ORCL 04-SEP-12 34 ********************************** ORCL 05-SEP-12 35 *********************************** ORCL 06-SEP-12 36 ************************************ ORCL 07-SEP-12 37 ************************************* ORCL 08-SEP-12 36 ************************************ ORCL 09-SEP-12 35 *********************************** ORCL 10-SEP-12 34 ********************************** ORCL 11-SEP-12 35 *********************************** ORCL 12-SEP-12 36 ************************************ ORCL 13-SEP-12 37 ************************************* 13 rows selected.
  • 50. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted56 Row Pattern Matching c##tkyte%CDB1> SELECT * 2 FROM stocks MATCH_RECOGNIZE 3 ( PARTITION BY symbol 4 ORDER BY tstamp 5 MEASURES 6 STRT.tstamp AS start_tstamp, 7 LAST(DOWN.tstamp) AS bottom_tstamp, 8 LAST(UP.tstamp) AS end_tstamp 9 ONE ROW PER MATCH 10 AFTER MATCH SKIP TO LAST UP 11 PATTERN (STRT DOWN+ UP+) 12 DEFINE 13 DOWN AS DOWN.price < PREV(DOWN.price), 14 UP AS UP.price > PREV(UP.price) 15 ) MR 16 ORDER BY MR.symbol, MR.start_tstamp; SYMBOL START_TST BOTTOM_TS END_TSTAM ---------- --------- --------- --------- ORCL 01-SEP-12 03-SEP-12 07-SEP-12 ORCL 07-SEP-12 10-SEP-12 13-SEP-12 SYMBOL TSTAMP PRICE HIST ---------- --------- ---------- ---------------------------------------- ORCL 01-SEP-12 35 *********************************** ORCL 02-SEP-12 34 ********************************** ORCL 03-SEP-12 33 ********************************* ORCL 04-SEP-12 34 ********************************** ORCL 05-SEP-12 35 *********************************** ORCL 06-SEP-12 36 ************************************ ORCL 07-SEP-12 37 ************************************* ORCL 08-SEP-12 36 ************************************ ORCL 09-SEP-12 35 *********************************** ORCL 10-SEP-12 34 ********************************** ORCL 11-SEP-12 35 *********************************** ORCL 12-SEP-12 36 ************************************ ORCL 13-SEP-12 37 ************************************* 13 rows selected.
  • 51. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted57 #6 Partitioning Improvements
  • 52. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted58 Partitioning Improvements  *Asynchronous Global Index Maintenance for DROP and TRUNCATE partition  Cascade Functionality for TRUCATE and EXCHANGE partition  Multiple partition operations in a single DDL  Online move of a partition (without DBMS_REDEFINITION)  *Interval + Reference partitioning
  • 53. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted59 #7 Adaptive Execution Plans
  • 54. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted60 #9 Temporary UNDO
  • 55. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted61 #11 Application Continuity
  • 56. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted62 Transaction Guard FIRST RDBMS to preserve COMMIT outcome • Known outcome for every transaction • At-most-once transaction execution • Used by Application Continuity • Available for JDBC-thin, OCI, OCCI, ODP.net Without Transaction Guard, retries can cause logical corruption Oracle Database 12c Release 1 1. Request 2. Calls 5. Guaranteed Outcome 3. FAN or errors 4. Enforce Outcome 62
  • 57. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted63 Application Continuity First RDBMS to mask planned/unplanned outages • Improves end user experience • Improves developer productivity • Application transparent when using Oracle stack • Enabled with WebLogic Server, Peoplesoft, Fusion Apps, Siebel(possibly) 1. Request 2. Calls 5. Success 4. Replay Oracle Database 12c Release 1 3. FAN or errors
  • 58. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted64 The preceding 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 to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle's products remains at the sole discretion of Oracle. Release timing for Oracle Database 12c is planned for Calendar Year 2013.
  • 59. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted65
  • 60. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted66
  • 61. Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted67  I have a very busy OLTP Ecommerce database that contains thousands of identical schemas with the same tables defined in each. The Java code prepends the owning schema to every SQL statement, which in itself leads to lots of identical SQL statements and high parsing. My questions are …  1) Even if the code did not prepend the table owner to each statement, would we still not have high parsing simply because the objects being referenced are in different schemas ?  2) Not being able to change the data model or how the code accesses same, what can we do to address high parsing in this case ? This is an 11gR2 database and we’re using cursor_sharing=similar and have already increased shared_pool and session_cached_cursors. Have considered setting cursor_sharing = exact or force but don’t really have a good way to test before doing it.