eficiencia en gestión y ahorro de costes con la base de datos oracle 12c
TRANSCRIPT
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1
Ignacio Caballero Iñigo
Principal Database Sales Consultant
Oracle Database 12c
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 2
IT Under Pressure
WE’RE AT A TIPPING POINT IN IT
Increasing Demands from Users
Explosion in Mobile Devices, Data and Risk
State Pressures on Business / IT
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3
IT Under Pressure
80 % TODAY,
of budget goes to
Maintaining current
operations
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4
Oracle Database 12c
Reduce the cost
of storing data
Provide
continued access
to data
Enable quicker
access to data
Provide simpler
management of
data
Ensure secure
access to data
Core Aims of Oracle Database 12c
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5
Database Consolidation on Clouds Traditional consolidation methods
Co
nso
lida
tio
n D
en
sity
Schema Consolidation
Share Servers, OS & Database
Virtual Machines
Share Servers
Clustered Databases
Share Servers & OS
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6
Co
nso
lida
tio
n D
en
sity
Oracle Multitenant Simplifies consolidation, enables Database as a Service
Share Servers, OS & Database
Pluggable Databases Clustered Databases
Share Servers & OS
Virtual Machines
Share Servers
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7
Oracle Database Architecture Requires memory, processes and database files
System Resources
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8
New Multitenant Architecture Memory and processes required at container level only
System Resources
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9
New Multitenant Architecture Memory and processes required at container level only
System Resources
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10
Managing Shared Resources Resource management for consolidated databases
High Priority
Medium Priority
Low Priority
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11
Simplified Patching Apply changes once, all pluggable databases updated
Upgrade
in-place
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12
Simplified Upgrades Flexible choice when patching & upgrading databases
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13
RAC, Data Guard
Data Guard
Oracle Multitenant for Database as a Service Pick from standard sizes and service levels
✔
GOLD
SILVER
BRONZE Backups ✔
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14
Creating Databases for Test and Development Fast, flexible copy and snapshot of pluggable databases
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15
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
New Multitenant Architecture Ideal for consolidating databases on Clouds
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16
Heat Map
Smart Compression
Automated Tiering
In Database Archiving
Network Compression
Automatic Data Optimization Optimize data storage based on usage
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17
More Efficient Data Management
Size of database systems and individual tables constantly growing
– Multi-Terabyte single tables common in large enterprise systems
Maintenance windows are shrinking or even non-existent
– 24x7 availability requirement
Requirement: data maintenance operations must
– Operate transparently without impact on DML and queries
– Scale with the size of data maintained
– Touch only relevant data to begin with
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18
Transparent MOVE PARTITION ONLINE operation
Concurrent DML and Query
Index maintenance for local and global indexes
Enhanced Partition Maintenance Operations Online Partition Move
Jan2012 Aug2012 Sep2012 Oct2012
…
Nov2012 Dec2012
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19
Partial indexes span only some partitions
Applicable to local and global indexes
Complementary to full indexing
Enhanced business modeling
Enhanced Indexing with Oracle Partitioning Partial Local and Global Indexes
Global Non-Partitioned Index
Table
Partition
Table
Partition
Table
Partition
Global Partitioned Index
Local Partitioned Index
Partial Global Index
Partial Local Partitioned Index
Partial Global Partitioned Index
Full Indexing
Indexing on
Partial Indexes
Indexing off
No Indexing
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20
Automatic Data Optimization
An in memory heat map tracks access to segments and
blocks
– Data is periodically written to disk
– Information is accessible by views or stored procedures
Users can attach policies to tables to compress or tier data
based on access to data
– Tables or Partitions can be moved between compression levels
whilst data is still being accessed
Simplifying the life cycle of data
Po licy 1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 21
Introducing Heat Map for Data Compression Reduce storage footprint, read compressed data faster
Hot Data
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted 21
111010101010101001101010101011010001011011000110100101000001001110001010101101001011010010110001010010011111001001000010001010101101000
10101010111010100110101
11000010100010110111010
10100101001001000010001
01010110100101101001110
00010100100101000010010
00010001010101110011010
Warm Data
101010101110101001101011100001010001011011101010100101001001000010001010101101001011010011100001010010010100001001000010001010101101001
10101010111010100110101110000101000101
10111010101001010010010000100010101011
01001011010011100001010010010100001001
00001000101010111001101110011000111010
Archive Data
101010101110101001101011100001010001011011101010100101001001000010001010101101001011010011100001010010010100001001000010001010101101001
10101010111010100110101110000101000101101110101
01001010010010000100010101011010010110100111000
01010010010100001001000010001010101110011011100
3X Advanced Row Compression
10X
Columnar Query Compression
15X
Columnar Archive Compression
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22
Automatic Data Optimization Add compression and tiering policies to tables
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 22
Oldest Data Most Recent Data
Po licy 1
Po licy 2
Compress Partitions with
row compression
if they haven’t been modified in
30 days
Compress Partitions with
columnar compression if they
haven’t been modified in 180
days
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23
Automatic Data Optimization Reduce storage footprint, read compressed data faster
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted 23
Oldest Data Most Recent Data
Po licy 1
Po licy 2
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 24
Automatic Data Optimization Automatically tier data to lower cost storage
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 24
Oldest Data Most Recent Data
Po licy 1
Po licy 2
Po licy 3
If the tablespace is nearly full
compress the oldest partition
with archive compression and
move it to Tier 2 Storage
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25
Data Guard Far Sync
Data Guard Fast Sync
Global Data Services
Active Data Guard Reporting Enhancements
Flex ASM
Rolling Upgrade using Data Guard
Application Continuity
High Availability Active Replicas
GoldenGate Integrated Capture
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26
Maximum Availability Architecture
Active Data Guard – Data Protection, DR
– Query Offload
GoldenGate – Active-active
– Heterogeneous
RMAN, Oracle Secure Backup – Backup to tape / cloud
Active Replica
Edition-based Redefinition,
Online Redefinition, Data Guard, GoldenGate – Minimal downtime maintenance, upgrades, migrations
RAC – Scalability
– Server HA
Flashback – Human error
correction
Production Site Application Continuity – Application HA
Global Data Services – Service Failover / Load Balancing
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 27
Transaction Guard
Preserve and Retrieve COMMIT Outcome
API that supports known commit
outcome for every transaction
Without Transaction Guard, upon
failures – transaction retry can
cause logical corruption
With Transaction Guard,
applications can deal gracefully
with error situations, vastly
improving end-user experience
Used transparently by
Application Continuity
Application
Servers
Database
Servers
End User
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28
Application Continuity Masks Unplanned/Planned Outages
Replays in-flight work on
recoverable errors
Masks many hardware, software,
network, storage errors and outages
when successful
Improves end-user experience and
productivity without requiring
custom app development
WebLogic Server 12c takes full
advantage of the feature via simple
configuration
Transaction Replayed
WebLogic
Servers
Database
Servers
End User
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 29
Global Data Services
Global Data Services
• Extends RAC-style service failover, load
balancing (within and across data
centers), and management capabilities to
a set of replicated databases
• Takes into account network latency,
replication lag, and service placement
policies
• Achieve higher availability, improved
manageability and maximize
performance
Load Balancing and Service Failover for Replicated Databases
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 30
Data Guard Far Sync Standby between continents with zero data loss
Primary Standby
Far Sync
Instance (Active)
Far Sync
Instance (Idle)
New York
Bridgeport
Reading
London
sync
async
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 31
1 0 1
0 1 0 1 0
1 1 1 0 1 0 0 1
1 0 1 1 0 1 1 1 1 0
0 0 1 0 1 0 0 0 0
1 0 0 1 1 0 1
1 0 1 0
0 1
Fine-grained Table Recovery From Backup
Simple RECOVER TABLE command to
recover one or more tables (most
recent or older version) from an RMAN
backup
Eliminates time and complexity
associated with manual restore, recover
& export
– Enables fine-grained point-in-time
recovery of individual tables instead of
the contents of the entire tablespace
RMAN Backups
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 32
1 1 1 0 1
1 0 1 1 0 1 1 1 1 0 1
0 0 1 0 1 0 0 0 0 1
1 0 0 1
1 1 1 0 1
1 0 1 1 0
1 1 1 1 0 1
0 0
1 0 1 0
0 0
0 1
1 0 0
1
Cross-Platform Backup & Restore
Simplifies procedure for platform migration
Minimize read-only impact with multiple incremental backups
Simplified Platform Migration
Source Database (AIX)
Backup
to Disk/Tape
(data files, optional
endian conversion,
metadata export)
Restore Backup
(optional endian
conversion,
metadata import)
Destination Database (Solaris)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 33
Automatic Storage Management (ASM) Overview
ASM Cluster Pool of Storage
Disk Group B Disk Group A Shared Disk
Groups
Wide File Striping
One to One
Mapping of ASM
Instances to
Servers
ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node4 Node3 Node2 Node1 Node5 ASM ASM ASM ASM ASM
ASM Instance
Database Instance
DBA DBA DBB DBB DBC DBB
Current State
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34
Flex ASM: Eliminate 1:1 Server Mapping New: ASM Storage Consolidation in Oracle Database 12c
ASM Cluster Pool of Storage
Disk Group B Disk Group A Shared Disk
Groups
Wide File Striping
Databases share
ASM instances ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node5 Node4 Node3 Node2 Node1
Node5
runs as
ASM
Client to
Node4
Node1
runs as
ASM
Client to
Node2
Node1
runs as
ASM
Client to
Node4
Node2
runs as
ASM
Client to
Node3
ASM ASM ASM
ASM Instance
DBA DBA DBB DBB DBC DBB
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 35
Data Masking at Source
Privilege Analysis
Integrated Audit Framework
Data Redaction
Database Vault Mandatory Realms
Sensitive Data Discovery
Security Defense in Depth
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 36
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
Call Centers
Decision Support Systems
Systems with PII, PHI, PCI data
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 37
Deliver Highest Service Quality with Lowest Risk & Effort
Embedded
Management
Latest
Generation
Consolidation
Proactive
Performance
Management
0%
20%
40%
60%
80%
100%
120%
ORACLE DATABASE MANAGEMENT
Comprehensive
Cloud Services
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 38
Boost Administrator Productivity
Eliminate Performance Bottlenecks
Lower IT Management Costs
Deliver Higher Quality of Service
Automatic Performance Diagnostics Maximize Performance With Self-Managing Database
• Sustain maximum performance with self-managing database
• Top-down analysis using Automatic Workload Repository snapshots
• Real-time performance analysis with Automatic Database Diagnostic Monitor
• Resolve performance issues faster with drill-down root-cause analysis
• Performance expert; now a RAC specialist too in Oracle Database 11g
Automatic Workload
Repository Snapshots
Performance &
Management
Advisors
High
Load
SQL
RAC
Issues
IO / CPU
Issues
Self-Diagnostic
Engine
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 39
• Automatic SQL Tuning
• Captures high-load SQL
• Tunes SQL using SQL Profiles
• Implements greatly improved SQL plans (optional)
• Performance benefit of advice provided
• SQL Profiling tunes execution plan without changing SQL text
Applications
High-Load
Packaged Apps + SQL Profile
Customizable Apps + SQL Advice
Customizable Apps + Indexes & MVs + Partitions
Well-Tuned SQL
Automatic Tuning Optimizer
Automatic SQL Tuning
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 40
Discovery and
Initial Provisioning Discover Assets and Provision
Software on them
Ongoing
Change Management
End to End Management of patches,
upgrades, and schema changes
Continuous Configuration
and Compliance
Management
Track inventory, configuration drifts and
compliance
Database Lifecycle Management
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 41
INTRODUCING ORACLE DATABASE BACKUP LOGGING RECOVERY APPLIANCE
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 42
INTRODUCING ORACLE DATABASE IN-MEMORY OPTION
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 43
Oracle Database In-Memory Option
Seamlessly integrated into Oracle Database 12c
Delivers extreme performance for
– Analytics and ad-hoc reporting on live data
– Enterprise OLTP and Data Warehousing
– Scale-up and scale-out
Trivial to deploy for all applications and customers
Leading edge In-Memory technology
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 44
Oracle 12c: Stores Data in Both Formats Simultaneously
Optimizing Transaction and Query Performance Row Format Databases versus Column Format Databases
Row
Transactions run faster on row format
– Insert or query a sales order
– Fast processing few rows, many columns
Column
Analytics run faster on column format
– Report on sales totals by state
– Fast accessing few columns, many rows
ORDER
SALES
SALES
S
T
A
T
E
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 45
BOTH row and column
in-memory formats for
same data/table
Simultaneously active and
transactionally consistent
100X Faster Analytics &
reporting: column format
2X Faster OLTP: row format
Breakthrough: Dual Format In-Memory Database
Column
Format
Memory
Row
Format
Memory
Analytics OLTP Sales Sales
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 46
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 47