Академический Документы
Профессиональный Документы
Культура Документы
Oracle Disclaimer: The following is intended to outline Oracle's 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.
1
My Presentations at OpenWorld
Sunday:
• 12c Database New Features 9:15 - 10:15 MW 3004
• Essence of Leadership 11:45 - 12:45 MW 3005
Monday:
• 12c Database New Features 10:00 - 10:30 Rolta Booth
– Mini New Features Presentation
• 12c Cloud Control Tuning 4:45 - 5:45 MS 302
Tuesday :
• Big Data 101 3:15 – 3:45 Rolta Booth
Thursday :
• 12c Best Tuning Features 12:30 – 1:30 MS 305
MW = Moscone West MS = Moscone South 2
Rich’s Overview…
4
Audience Knowledge / Versions
• Oracle7 Experience ?
• Oracle8i Experience ?
• Oracle9i Experience ?
• Oracle10g Experience?
• Oracle Database 11g R2 Experience?
• Oracle Database 12c Experience?
• Goals
– Present NEW features in an EASY way
– Focus on a few nice features of Oracle12c
• Non-Goals
– Learn ALL aspects of Oracle12c
5
– Learn Tips that will make you an expert
Overview – 12c
9
How about the Oracle JAVA World?
10
11
12
13
We’re #1 … in Everything!
Testing the Future Version
Version 12.1.0.0.1 of the Database
Version 11.2.0.1.0 of the Database for 11g R2 Examples
$ sqlplus ***/***
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1300352 bytes
Variable Size 306186368 bytes
Database Buffers 109051904 bytes
Redo Buffers 6131712 bytes
Database mounted.
17
Database opened.
Vbox running 12c Database
18
Keeping you Secure!
Setup: 2 days; You should do better!
19
MEMORY_TARGET
&
Automatic Memory Management
Automatic Memory Management (AMM)
MEMORY_TARGET in 11g
Database
Smart
Flash
Cache
Database Smart Flash Cache (Solaris/Oracle Linux) – L2 cache set 2-10x SGA:
DB_FLASH_CACHE_FILE = /dev/sda, /dev/sdb, /dev/sdc
22
DB_FLASH_CACHE_SIZE = 32G, 32G, 64G
Automatically sized SGA Components that
Use SGA_TARGET
DBMS_XPLAN Example:
Select *
from table (dbms_xplan.display);
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop |
--------------------------------------------------------------------------------------
| 0 | UPDATE STATEMENT | | 328 | 2296 | 2 | | |
| 1 | UPDATE | JOURNAL_LINE | | | | | |
| 2 | PARTITION RANGE ALL| | | | | 1 | 4 |
| 3 | TABLE ACCESS FULL | JOURNAL_LINE | 328 | 2296 | 2 | 1 | 4 |
--------------------------------------------------------------------------------------
Note: cpu costing is off, 'PLAN_TABLE' is old version
11 rows selected
27
Tuning Tools – FYI Only
DBMS_XPLAN
Select *
from table (dbms_xplan.display);
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
Plan hash value: 1363101372
------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 14 | 728 | 2 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| EMP_RICH | 14 | 728 | 2 (0)| 00:00:01 |
------------------------------------------------------------------------------
Note
-----
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
- dynamic sampling used for this statement (level=2)
28
The Result Cache
The Result Cache
select *
from (select *
from (select t.country_name, t.city_name,
sum(t.salary) a_sum, max(t.salary) a_max
from emps t
group by t.country_name, t.city_name)
order by a_max desc)
where rownum < 2;
31
Result Cache
Example Performance
Step 1 - In Session 1-
Executed query without hint and it returned an elapsed
time of 3.80 seconds (not cached).
Step 2 - In Session 2 –
Executed query without hint and it returned an elapsed
time of 3.20 seconds (not cached).
32
Result Cache
Example Performance
Step 3 - In Session 2
Executed query with the RESULT_CACHE hint and it
returned an elapsed time of 3.18 seconds (cache it).
Step 4 - In Session 1
Executed query without the RESULT_CACHE hint,
but with RESULT_CACHE_MODE=force and it
returned an elapsed time of 0.86 seconds (cached!!).
33
Result Cache Example Query
From the Oracle Docs
END HR; 34
Result Cache Example Query
From the Oracle Docs
PACKAGE BODY HR IS
...
-- Function definition
FUNCTION GetDeptInfo (dept_id NUMBER) RETURN DeptInfoRec
RESULT_CACHE RELIES_ON (EMP);
IS
result DeptInfoRec;
BEGIN SELECT AVG(sal), count(*) INTO result
FROM EMP
WHERE deptno = dept_id;
RETURN result;
END;
...
35
END HR;
The Result Cache – V$ Views
• V$RESULT_CACHE_STATISTICS – Displays
the amount of memory to help you determine
memory currently allocated to the result cache.
Other V$ views:
• V$RESULT_CACHE_MEMORY
• V$RESULT_CACHE_OBJECTS
• V$RESULT_CACHE_DEPENDENCY
36
The Result Cache – FYI Only
Digging Deeper
select count(*) from dept_rich where deptno = 30; (doesn’t see the index)
COUNT(*)
--------------
512
Execution Plan
----------------------------------------------------------
Plan hash value: 3024595593
--------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 2 | 4 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 2 | | |
|* 2 | TABLE ACCESS FULL| DEPT_RICH | 512 | 1024 | 4 (0)| 0:00:01 |
--------------------------------------------------------------------------------
40
The Invisible Index (set visible)
COUNT(*)
--------------
512
Execution Plan
----------------------------------------------------------
Plan hash value: 3699452051
---------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
---------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 2 | 1 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 2 | | |
|* 2 | INDEX RANGE SCAN| DEPT_RICH_INV_IDX | 512 | 1024 |1 (0)| 00:00:01 41 |
---------------------------------------------------------------------------------------
The Invisible Index (set visible)
COUNT(*)
----------
512
Execution Plan
----------------------------------------------------------
Plan hash value: 3024595593
--------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 2 | 4 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 2 | | |
|* 2 | TABLE ACCESS FULL| DEPT_RICH | 512 | 1024 | 4 (0)| 0:00:01 |
42
--------------------------------------------------------------------------------
The Invisible Index (check it)
INDEX_NAME VISIBILITY
-------------------------------- ------------------
DEPT_RICH_INV_IDX INVISIBLE 43
Multiple Types of Indexes on
the Same Column
(Using the Invisible Index even more)
Multiple Types of Indexes
on the Same Column(s)
46
Multiple Types of Indexes
on the Same Column(s)
47
Multiple Types of Indexes
on the Same Column(s)
48
Multiple Types of Indexes
on the Same Column(s)
49
Multiple Types of Indexes
on the Same Column(s)
Make FIRST Index Invisible & can now create SECOND index:
alter index dept_unique1 invisible;
Index altered.
53
Multiple Types of Indexes
on the Same Column(s)
Despite a unique index that’s invisible, uses visible index only:
select deptno
from dept
where deptno=10;
DEPTNO
------
10
--------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 13 | 1 (0)| 00:00:01 |
|* 1 | INDEX RANGE SCAN| DEPT_NORMAL | 1 | 13 | 1 (0)| 00:00:01 |
--------------------------------------------------------------------------------
57
(Index types: NORMAL, NORMAL/REV, UNIQUE, BITMAP, FUNCTION-BASED NORMAL)
Multiple Types of Indexes
on the Same Column(s)
Interesting note on Index Suppression:
alter index dept_bitmap invisible;
Index altered.
DEPTNO
----------
10
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 5 | 2 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| DEPT | 1 | 5 | 2 (0)| 00:00:01 |
--------------------------------------------------------------------------
DEPTNO
----------
10
--------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost
--------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 5 | 2
| 1 | TABLE ACCESS BY INDEX ROWID BATCHED| DEPT | 1 | 5 | 2
|* 2 | INDEX RANGE SCAN | DEPT_FB | 1 | | 1
--------------------------------------------------------------------------------
• Now lets create the extended statistics group & re-gather statistics on the
CUSTOMER table (query user_tab_col_statistics to see new column):
DBMS_STATS.CREATE_EXTENDED_STATS('SH','CUSTOMERS','(CO
--------------------------------------------------------------------------------
SYS_STUJGVLRVH5USVDU$XNV4_IR#4
24 rows selected. 68
Manage New Statistics – FYI Only
DROP Extended Statistics
Empno
• If ‘OPERATOR’ is the bind value at
Ename Job
hard parse, most records will be
SMITH 6973 OPERATOR
selected. Execution plan will be a
ALLEN 7499 OPERATOR
full table scan
WARD 7521 OPERATOR
KING 8739 PRESIDENT
• If ‘PRESIDENT’ is the bind value
SCOTT 7788 OPERATOR
at hard parse, few records will be
CLARK 7782 OPERATOR
selected. Execution plan will be an
index search
Bind Peeking – Pre-11g
• If you need to tune a query that you suspect has issues related to
bind peeking, use v$sql_plan or tkprof output using different values
for bind variables and compare execution plans in both cases.
Solution:
• In 11g, Oracle uses bind-aware cursor matching.
• Share the plan when binds values are “equivalent”
– Plans are marked with selectivity range
– If current bind values fall within range they use the same
plan
• Create a new plan if binds are not equivalent
– Generating a new plan with a different selectivity range
73
Bind Peeking
Cursor Sharing (cs) Statistics
SQL_ID EXECUTIONS I I
------------- ---------- - -
9ugwm6xmvw06u 11 Y N
bdfrydpbzw07g 11 Y N
57pfs5p8xc07w 20 N N
...
• The 12c Adaptive Optimizer adapts plans based on not just the original
tables stats, but also additional adaptive statistics
• There are three types of Adaptive Statistics:
– Dynamic Statistics (previously dynamic sampling in 10g/11g) or runtime statistics
– Automatic Reoptimization or statistics generated after the initial execution
77
– SQL Plan Directives direct optimizer to dynamic statistics & gets accurate cardinality
Adaptive Query Optimization
• The Adaptive Optimizer adapts the execution plan based on stats collected at
run time (a sample of stats – dynamic statistics)… it makes runtime optimizations
(perhaps changing join method)
• Adaptive Query Optimization is set ON by default. To turn it OFF set:
OPTIMIZER_ADAPTIVE_REPORTING_ONLY = TRUE
OPTIMIZER_FEATURES_ENABLE=12.1.0.1 (or higher)
• You can also set it for a given session:
SQL> alter session set optimizer_adaptive_reporting_only=false;
• Set it to TRUE for reporting only. You can then check to get notes about runtime
optimizations, such as dynamic plans switching from NL to HASH joins.
(Use DBMS_XPLAN.DISPLAY_CURSOR … use ADAPTIVE for format…)
SQL> sho parameter OPTIMIZER_ADAPTIVE_REPORTING_ONLY
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
optimizer_adaptive_reporting_only boolean FALSE
78
Adaptive Query Optimization
Note
---------------------------------------------
- statistics feedback used for this statement
79
Adaptive Query Optimization
BEGIN
DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE (
Create a Resource plan
PLAN => 'DAYTIME',
Directive that switches
GROUP_OR_SUBPLAN => 'OLTP',
sessions to the low_group if COMMENT => 'OLTP group',
they exceed 10000 physical MGMT_P1 => 75,
IO’s or 2500M of data SWITCH_GROUP => 'LOW_GROUP',
transferred. Session returns SWITCH_IO_REQS => 10000,
back to original group after SWITCH_IO_MEGABYTES => 2500,
bad query ends SWITCH_FOR_CALL => TRUE);
END;
83
/
Runaway Query Management
(Oracle 12c DBA Guide example…)
84
Partitioning: (FYI Only)
Table created.
90
Interval Partitioning – 11g
Table created.
SEGMENT_NAME PARTITION_NAME
------------------------------ ----------------------------
DEPT_NEW D1
DEPT_NEW D2
DEPT_NEW D3 93
Interval Partitioning – 11g
Table created.
94
Interval Partitioning – 11g
SEGMENT_NAME PARTITION_NAME
------------------------------ ------------------------------
DEPT_NEW2 D1
DEPT_NEW2 D2
DEPT_NEW2 D3
DEPT_NEW2 SYS_P41
DEPT_NEW2 SYS_P42
DEPT_NEW2 SYS_P43 95
Partition Compression
6 rows selected. 97
Partial Indexes for
Partitioned Table – NO NO NO…
Create an index on a subset of the partitions of a table:
Create index dept_index on dept3 (deptno) local
(partition d1 tablespace users,
partition d2 tablespace users);
create index dept_index on dept3 (deptno) local;
*
ERROR at line 1:
ORA-14024: number of partitions of LOCAL index must equal that of the
underlying table
Table created.
Index created.
(Local Index Partitions D1 & D2 will be usable – can create global index instead) 99
Online Move Partition
* Oracle Survey
101
Pluggable Databases
(See my “12c New Features” session for much more!)
Non-CDB
104
Pluggable Databases
• CDB = Container Database (has Root DB & also has a seed PDB)
• PDB = Pluggable Database (plugged into a CDB)
• Non-CDB = Original type of Database (neither a CDB or PDB)
• Why?: Can’t consolidate 100’s of database on one machine … too
many resources required when you add the SGAs up! Enter PDBs.
– Share: Big Data Sources, Acquisitions, Partners, Shared Research, Governments
• Quickly create a new database (PDB) or copy existing one (PDB)
• Move existing PDBs to new platform or location or clone it (snapshot)
• Patch/Upgrade PDB by plugging it into a CDB at a later version
• Physical machine runs more PDBs old way: Easier to manage/tune
• Backup entire CDB + any number of PDBs
• New syntax for commands: PLUGGABLE DATABASE 105
Pluggable Databases…
106
Containers 0 - 254
CON_NAME CON_NAME
------------------------------ ------------------------------
PDB1 CDB$ROOT 107
(integer overflow!)
CDB or PDB created…
109
Creating a PDB
Many ways to do it…
- =
CDB with 2 PDBs
Unplug PDB CDB with 1 PDB
+ =
112
Unplugging & Dropping PDBs
115
Open/Close PDBs
117
When you startup the CDB…
SQL> startup
ORACLE instance started.
Sample output:
120
ALTER SYSTEM while in PDB
10 rows selected.
• If 4 PDBs have 3 shares each, there are 12 shares total and each has
3/12 or 1/4th of the CPU resources.
• If 2 PDBs have 3 shares & 2 PDBs have 1 share, then the ones with 3
shares have 3/8ths of the CPU resources and are 3x more likely to
queue parallel queries than the ones that have 1 share.
• CPU utilization_limit and parallel_server_limit percents also can be set.
BEGIN DBMS_RESOURCE_MANAGER.CREATE_CDB_PLAN_DIRECTIVE(
plan => 'newcdb_plan',
pluggable_database => ‘pdb1',
shares => 3,
utilization_limit => 70,
parallel_server_limit => 70);
END;
124
/
Resource Plan Queries…
126
Get Ready for Pluggable Databases!
This guy and his team working hard to make your life easier! 127
What is your System of the Future?
128
Load Map / Heat Map
Manages 12c Database & RAC
129
Wait Class – Top Dimensions
By SQL ID (Scroll down to see SQL)
130
Wait Class – Top Dimensions
By SQL ID (Click on LOAD MAP)
131
Replay OOW Keynote if you missed it…
Heat Map… A lot of cold data
132
Replay OOW Keynote if you missed it…
(compress the cold data)
134
Create and Manage 12c DB with CC
(Use 12c Cloud Control – OEM)
135
Create and Manage 12c DB with CC
(Use 12c Cloud Control – OEM)
136
Create and Manage 12c DB with CC
(Use 12c Cloud Control – OEM)
137
Monitor SQL Statements
(Use 12c Cloud Control – OEM)
138
Create and Manage with CC
(Use 12c Cloud Control – OEM)
140
Database workload capture and replay
Brief Steps:
• Capture workload on a database even from 10gR2
• Restore the database on a test system to the SCN when capture begins
• Perform upgrade and make changes to the test system as needed
• Preprocess the captured workload if it is not preprocessed
• Configure the test system for replay (I don’t do this here)
• Replay workload on the restored database (I don’t have this in this
presentation, but will show some of the screens to do it)
• Great to test upgrade to 11g (Capture 10gR2 then test against 11g)
141
Pre-Change (could be 9.2.0.8 or 10g
Capture) Production System
Replay Replay
App Server
App Server
…
App Server Driver Driver
… … …
Processed
Captured
Workload
Process Process … Process Process Process … Process
…
Capture Workload
Backup
Can use Snapshot Standby as
test system 142
DB Replay Options...
• Synchronized Replay
– Exact Concurrency, commits & data divergence minimal
• Unsynchronized Replay
– Not the same concurrency or commits
– Data divergence can be large depending on load test performed
• Creates Report – Better Reporting in
– Data Divergence, Error Divergence, Performance Divergence
• NEW in 12c (11gR2 part): Consolidated Database Replays
– Take multiple workloads on different databases and consolidate
into a single replay (either manually with non-CDBs or with PDBs).
143
Database Replay Options...
(Thanks Oracle/Jagan Athreya for this slide!)
144
Other 12c Features …
• Database Instance Smart Flash Cache Support for Multiple Devices (can
access/combine) without the overhead of the local volume manager.
• Supports In-Memory Jobs & In-Memory Temporary Tablespaces
• Active Data Guard Security has in-memory table of failed login attempts
• Heat Map that tracks modifications of rows (block level), table, partition levels
• Automate policy-driven data movement and compression using Heat Map
• Move partitions while ONLINE with DML happening / Flex ASM to other storage
• Improved query performance against OLAP cubes (especially Exadata)
• Automatic extended stats for groups of columns accessed together
• DBMS_STATS.GATHER_TABLE_STATS run on a partitioned table when
CONCURRENT is set to TRUE will gather stats using multiple jobs concurrently
• Online statistics gathered during a bulk load (similar to rebuild index command)
• Flashback Data Archive (FDA) can be fully used on HCC tables on Exadata
• Enterprise Manager Database Express 12c ships with every database (NICE!)
• “Spot ADDM” triggered by high CPU or I/O into AWR Reports
• Mask Data At Source for testing & Oracle Masking templates for E-Business
• Oracle Data Redaction (prevents things like SSN from being displayed) 145
Other 12c Features …
2K – A typewritten page
5M – The complete works of Shakespeare
10M – One minute of high fidelity sound
2T – Information generated on YouTube in one day
10T – 530,000,000 miles of bookshelves at the Library of Congress
20P – All hard-disk drives in 1995 (or your database in 2010)
700P –Data of 700,000 companies with Revenues less than $200M
1E – Combined Fortune 1000 company databases (average 1P each)
1E –Next 9000 world company databases (average 100T each)
8E – Capacity of ONE Oracle12c Database (CURRENT)
12E to 16E – Info generated before 1999 (memory resident in 64-bit)
16E – Addressable memory with 64-bit (CURRENT)
161E – New information in 2006 (mostly images not stored in DB)
1Z – 1000E (Zettabyte - Grains of sand on beaches -125 Oracle DBs)
100TY - 100T-Yottabytes – Addressable memory 128-bit (FUTURE) 148
8 Exabytes:
Look what fits in one 12c Database!
151
Benefits Multiply*: Access 1/2000th the data; It’s
like getting 8P memory resident in 4T of an X4-2
Sub second
On Database
Machine
20 GB 5 GB
with Storage Indexes with Smart Scans
153
Exadata X-3 called In-Memory Machine
X4 is 4T DRAM / 44T Flash (88T Compressed Flash)
154
Exadata (X4-2)
(Oracle’s picture)
14 Storage Servers
- 14x12=168 Disks
- 200T HP (1.2T) or
- 672T HC (4T)
8 Compute Servers
• 8 x 2 sockets x 12 cores = 192 cores
• Xeon Turbo Boost can give +28%
• 2T expandable to 4T DRAM
• 8 compute servers
– 8 servers x 2 CPU sockets x 12 cores = 192 cores
• 8 servers x 256G to 512G DRAM = 4T DRAM
• 14 Storage Servers total 336G DRAM = 2.3T+ Total DRAM
• 2 InfiniBand Switches x 36 ports = 72 ports (decreased)
• 14 Storage Servers (200-672T disk) with Flash Cache (44.8T)
– 800G x 4 banks = 3.2T flash cache per storage server
– 14 storage servers x 3.2T = 44.8T Flash Cache (2.7M Read IOPS)
– 12 disks per storage server x 14 servers = 168 disks (20T/hr load rate)
– 168 disks x 1.2T SAS= 200T High Performance (10K RPM)
– 168 disks x 4T SAS = 672T High Capacity (4T 7.2k RPM)
– Additional total storage of 19.2T on Database Servers (600G drives)
• 14 storage servers x 2 six core = 168 additional cores 156
How will the X3-2 change these …
Upgrade
Options
160
Exadata Simulation
161
Cloud Control 12c – Monitor Exadata
162
Oracle Database Backup Logging
Recovery Appliance & M6-32 Machine
163
Oracle Database In-Memory
In-Memory Columnar Store
Oracle’s new In-Memory Option*
• 3.5x faster for this example only, but no index saves space and DML
costs so there are multiple benefits. If not properly indexed it’s much
more! 173
Oracle’s new In-Memory Option
Oracle’s new In-Memory Option
• 32 M6 Sparc CPUs
– 384 total cores = 32 CPUs x 12 cores/each
– 3072 threads = 96 threads/CPU x 32 CPUs
• 32T of DRAM
– Fastest In-Memory Database
– 1024 Memory DIMMs (Dual In-Line Memory Module)
• CPUs communicate using Oracle’s System Coherency Interconnect:
384 port silicon switching network - 3T/sec bandwidth
• Enables massive shared memory for In-Memory Applications
• M6 boards plug directly into M5 chasis (same)
* Available NOW! 177
Oracle Demo: M6-32 Big Memory Machine
Oracle’s M6-32 SuperCluster
Oracle’s M6-32 SuperCluster Machine*
Oracle Demo:
• 341 B rows/sec – WOW!!
(accessing 218B row table sub-second)
180
* Available NOW!
Oracle’s M6-32 SuperCluster Machine
Mark Hurd & Incredible Trends
Mark Hurd & Incredible Trends
Big Data includes: Social Media, Sensor Data, Biological, Traffic, RFID
Data, Environmental, Aerial, Wireless, Security & Video Data, Retail,
Medical, Engineer Systems, Search Data, Photographs, Call Records,
CRM/ERP data…
187
Characteristics of Big Data
Finance
Media
Telco
Government
Big Data Revolution…CNBC
189
IOUG Survey – September 2012
191
Revolution of Big Data Tools…
3 Nodes:
504T + 648T + 648T x 10x
compression = 18P raw
disk equivalent
198
StorageTek (TAPE) – Store 67E (string
of 32 w/ 2.5:1 compression – 2.1E each)!
199
IOUG Survey – September 2012
What is your System of the Future?
201
What’s Next …
202
64-Bit advancement of
Directly addressable memory
203
Directly Addressable Memory
1.8E+19
1.6E+19
1.4E+19
1.2E+19
1E+19
8E+18 Memory
6E+18
4E+18
2E+18
0
8 bit 16-bit 32-bit 64-bit
204
16 – Bit
(65,536 bytes)
In comparison, Mt.
Everest at 29,000 feet
4 – Bit is only 1,700 feet
taller
(16 bytes)
8 – Bit
(256 bytes) 205
32 – Bit
(4,294,967,296 bytes)
1 exa-penny
(1,000,067,088,384,0
00,000 pennies)
would form a 27,300
square foot cube…
In comparison, Mt.
Everest at 29,000
feet is only 1,700
feet taller
207
64 – Bit
(18,446,744,073,709,551,616 bytes)
16 exa-pennies would
easily dwarf even Mt.
Mount Everest Everest!
208
The Future: 8 Exabytes
Look what fits in one 11g Database!
All Data in the world 2010 = 1000E or 1Z
2K – A typewritten page
5M – The complete works of Shakespeare
10M – One minute of high fidelity sound
2T – Information generated on YouTube in one day
10T – 530,000,000 miles of bookshelves at the Library of Congress
20P – All hard-disk drives in 1995 (or your database in 2010)
700P –Data of 700,000 companies with Revenues less than $200M
1E – Combined Fortune 1000 company databases (average 1P each)
1E –Next 9000 world company databases (average 100T each)
8E – Capacity of ONE Oracle11g Database (CURRENT)
12E to 16E – Info generated before 1999 (memory resident in 64-bit)
16E – Addressable memory with 64-bit (CURRENT)
161E – New information in 2006 (mostly images not stored in DB)
1Z – 1000E (Zettabyte - Grains of sand on beaches -125 Oracle DBs)
100TY - 100T-Yottabytes (1000Z) – Addressable in 128-bit (FUTURE)209
How Big?
210
Addressable Memory Growth
211
Addressable Memory Growth
212
What’s comes after the Exadata Zone?
YOU will soon be in for more…
Directly Addressable Indirect/Extended
4 Bit: 16 (640)
8 Bit: 256 (65,536)
16 Bit: 65,536 (1,048,576)
32 Bit: 4,294,967,296
64 Bit: 18,446,744,073,709,551,616 … quantum leaps are next!
• Qubits allow multiple states so that you can look at all of the
possibilities/probabilities at one time.
• The “Quantum Zone” next (Quantum Physics is incomplete – Einstein)
– Just 512 qubits would store 512-bits of addressable memory or 2512 (which is well
over a googol or 1 with 100 zero’s after it – a googol is about 2332).
– Brush up on your Eigenvectors, Eigenvalues, Pauli Matrices & Grover’s Algorithm
– Create Singularity … all atoms of a person by 2045 (I think earlier); 12-Monkeys
– Private universes – Is there one for each person? (Schroeder’s cat – I think not)
– Rearranging atoms to create new objects; Nanotech + Quantum Physics coming! 213
What’s comes after the Exadata Zone?
YOU will soon be in for more…
With just 3 cubits I get (ket notation) – looking at many states at once:
a|000> + b|001> + c|010> + d|011> + e|100> + f|101> + g|110> +
h|111>
For the state (a,b,c,d,e,f,g,h): Note that: |010> = (0,0,1,0,0,0,0,0)
216
Oracle getting bigger than Tech!
217
Sitting in the middle of Howard St.
218
Oracle getting bigger than Tech!
219
Oracle getting bigger than Tech!
220
Oracle getting bigger than Tech!
221
Oracle getting bigger than Tech!
222
Larry finds a way through again!
223
Oracle getting bigger than Tech!
224
Guerilla Marketing at OOW…
225
Guerilla Marketing at OOW…
226
Fast Forward to 2014…
228
Before Tech they were Engineers
229
This is How DBA View Themselves!
230
Be a Better DBA to the Business!
Data
233
OR…Future DBA!
(My bet’s on this one)
234
OR … Future DBA…
235
Google augments people with tech …
236
237
Summary – 12c Database
Sunday:
• 12c Database New Features 9:15 - 10:15 MW 3004
• Essence of Leadership 11:45 - 12:45 MW 3005
Monday:
• 12c Database New Features 10:00 - 10:30 Rolta Booth
– Mini New Features Presentation
• 12c Cloud Control Tuning 4:45 - 5:45 MS 302
Tuesday :
• Big Data 101 3:15 – 3:45 Rolta Booth
Thursday :
• 12c Best Tuning Features 12:30 – 1:30 MS 305
MW = Moscone West MS = Moscone South 240
Oracle is never caught from behind
Oracle’s 37th Anniversary in 2014
• Great Sales/Marketing
• Great Database
• Applications Leader
• BI Leader /
• Already in the lead
• Game Over!
“If you are going through hell, keep going” - Churchill 242
#1 Selling Oracle Database Book on
Amazon since it came out in February!
243
References to wish for…
244
Database References
• www.tusc.com
• Oracle9i Performance Tuning
Tips & Techniques; Richard
J. Niemiec; Oracle Press (May
2003)
• Oracle 10g Tuning (June 11,
2007)
“成功只访问那些没空追求它的人。”
247
- Henry David Thoreau
V$ View Poster
248
Rolta– Your Partner ….
Accomplished in Oracle!
2012 Oracle Excellence Award
(9 Partner of the Year / Titans / Excellence Awards)
250
Rolta’s Oracle Services
• Oracle
– E-Business Suite implementation, R12 upgrades, migration & support
– Fusion Middleware and Open Systems development
– Business Intelligence (OBIEE) development
– Hyperion Financial Performance Management
– DBA and Database tactical services
– Strategic Global Sourcing
• IT Infrastructure
– IT Roadmap - Security & Compliance - Infrastructure Management
– Enterprise Integration / SOA - High Availability and Disaster Planning
• Profitability & Cost Management
– Financial Consolidation - Budgeting & Forecasting
– Profitability & Risk Analysis - Enterprise Performance Management
– Operational, Financial & Management Reporting
• Rolta Software Solutions
– iPerspective™ - rapid data & systems integration
– Geospatial Fusion™ - spatial integration & visualization
251
– OneView™ - business & operational intelligence
Copyright
Information