Oracle Database 11g - Par

Transcript

Oracle Database 11g - Par
<Insert Picture Here>
Benefici legati all'adozione di Oracle Enterpirse Edition 11g
Alessandro Bracchini
Principal Sales Consultant - Core Technology
Roma, 3 maggio 2012
Agenda
• Enterprise Edition VS Standard Edition
• Storage Optimization
• ASM & New Feature
• Oracle Partitioning
• Compression
• High Availability
• DB Security
• Manageability
2
Agenda
• Enterprise Edition VS Standard Edition
• Storage Optimization
• ASM & New Feature
• Oracle Partitioning
• Compression
• High Availability
• DB Security
• Manageability
3
Engineered Systems for Oracle Database
Oracle Database
Appliance
Full Rack
Half Rack
Quarter Rack
© 2011 Oracle Corporation
Oracle Exadata
Database Machine
4
Alcune Differenze
5
Differenze
•
Oracle Database 11g Enterprise Edition (EE) provides efficient, reliable,
secure data management for mission-critical on-line transaction
processing applications, query-intensive data warehouses, and content
management and Web2.0 applications. It’s available on single and
clustered servers with no socket limitation.
•
Oracle Database 11g Standard Edition One (SE) delivers unprecedented
ease-of-use, power, and price/performance for workgroup, departmental,
and web applications on single servers with maximum capacity of two
sockets
6
Oracle Enterprise Manager 11g
Performance Page
7
Agenda
• Enterprise Edition VS Standard Edition
• Storage Optimization
• ASM & New Feature
• Oracle Partitioning
• Compression
• High Availability
• DB Security
• Manageability
8
Dynamic Re-balancing
• Add disk
• Drop disk
• Resize disk
ASM Disk
ASM Disk
Disk Group
ASM Disk
ASM Disk
ASM Disk
Disk Group
• On-line capacity management
• No more hot spots - eliminate manual I/O tuning
• Optimal performance
9
Intelligent Mirroring
Flexible redundancy choices
• Efficient extent-based mirroring and
striping
• Failure groups
• Up to 3-way mirroring
• Can leverage external hardware RAID
mirror and parity protection
ASM Disk Group
Grid Infrastructure: ASM Cluster File System
(ACFS)
Databases
Applications
File Systems
Automatic Storage Management (ASM)
DB Datafiles
OCR and Voting Files
Oracle Binaries
3rd Party File Systems
• ASM supports ALL data
– Database files
– File systems: ACFS, 3rd-party file systems
– Shared Clusterware files: OCR and Voting disk now stored
in ASM
Oracle Partitioning
•
•
Introdotto in Oracle 8
•
Permette miglioramenti in:
Application
Tabelle e/o indici possono essere
suddivisi
SQL
Sales
– Gestione, disponibilita’’
– Prestazioni, scalabilita’
•
Trasparente alle applicazioni
esistenti
Sales 2011
Sales 2009
Sales 2010
Tech SMB Partner Sales Training – V2
13
Composite Partitioning
Virtual Columns - Partitioning
• Base table with all attributes ...
• ... is extended with the virtual (derived) column
• ... and the virtual column is used as partitioning key
CREATE TABLE accounts
(acc_no
number(10)
not null,
acc_name
varchar2(50) not null, ...
acc_branch number(2)
generated always as
(to_number(substr(to_char(acc_no),1,2)))
partition by list (acc_branch) ...
12500
12507
12666
12875
Adams
Blake
King
Smith
12
12
12
12
...
32320
32407
32758
32980
Jones
Clark
Hurd
Phillips
32
32
32
32
Partition Advisor
Packaged
Apps
Custom
Apps
SQL Workload
SQL Advisor
SQL
SQL Plan
Access
Structure
Tuning
Analysis
Analysis
SQL
Profile
SQL
Advice
Indexes
& MVs
SQL &
Schema
ottimizzati
New!
Partition
Analysis
Partition
Advice
• Considera l’intero SQL workload
per migliorare le prestazioni
• Fornisce raccomandazioni sui piu’
efficaci metodi di partizionamento
da adottare
• Integrato con il meccanismo di
raccomandazioni su Indici e MVs
ILM
Data Lifecycle
Active
Active
Less
Less
Historical
Historical
Active
Active
Data Lifecycle
400 Giga High Performance Low Cost
Storage Tier
Storage Tier
Online Archive
Storage Tier
Archive
Archive
Offline
Archive
Data Compression for All Applications
• Oracle 9i Data Compression comprime i dati
solamente durante le operazioni “bulk load”, quindi
utile per DW e ILM
• Oracle 11g Advanced Compression comprime
anche su operazioni di insert e update
• La “compression ratio” tipica e’ 2x to 3x
18
OLTP Table Compression
Employee Table
ID
FIRST_NAME
LAST_NAME
1
John
Doe
2
Jane
Doe
3
John
Smith
4
Jane
Doe
Initially Uncompressed Block
Header
1•John•Doe 2•Jane•
Doe 3•John•Smith 4•
Jane • Doe
Free Space
INSERT INTO EMPLOYEE
VALUES (5, ‘Jack’, ‘Smith’);
COMMIT;
19
OLTP Table Compression
Employee Table
ID
FIRST_NAME
LAST_NAME
1
John
Doe
2
Jane
Doe
3
John
Smith
4
Jane
Doe
5
Jack
Smith
Compressed
Block Block
Header
John=|Doe=|Jane=|Smith=

1••
2•• 3••
4•
1•John•Doe
2•Jane•
•Doe
 5•Jack•
3•John•Smith 4•
Jane Free
• DoeSpace
Free Space
Local
Symbol Table
20
OLTP Table Compression
Uncompressed Block
Header
Compressed Block
Header
John=|Doe=|Jane=|Smith=
1•John•Doe 2•Jane•
Doe 3•John•Smith 4•
Jane • Doe 5•Jack
•Smith Free Space
Local
Symbol Table

1••
2•• 3••
4•
1•John•Doe
2•Jane•
•Doe
 5•Jack•
3•John•Smith 4•
Jane Free
• DoeSpace
Free Space
More Data
Per Block
21
Real World Compression Results
Storage Utilization
2500
2000
MB
More than 70% Storage
Savings
1500
1000
500
0
No Compression
Compression
22
Real World Compression Results
Table Scan Performance
0.4
Compression is 2.5x
Faster
0.3
Time 0.2
(seconds)
0.1
0
No Compression
Compression
23
Agenda
• Enterprise Edition VS Standard Edition
• Storage Optimization
• ASM & New Feature
• Oracle Partitioning
• Compression
• High Availability
• DB Security
• Manageability
24
Alta affidabilità
Computer
Machine
Unplanned
Downtime
Planned
Downtime
Failures
Data
Failures
System
Changes
Data
Changes
Site
Availability possibilities
Single Instance
Active – Passive
Active – Active
• Good Availability
• Better Availability
• Best Availability
• Oracle Database 11g
• Oracle Database 11g
• Oracle Database 11g
Enterprise Edition
Enterprise Edition
• Oracle Real
Application Clusters
One Node
• Can have mutual
Enterprise Edition
• Oracle Real
Application Clusters
• Mutual failover and
loadbalancing
failover
© 2011 Oracle Corporation
26
Clusters con ‘cold’ Failover, Active/Passive
Server 1
Server 2
Idle
Database
A
27
Clusters con ‘cold’ Failover, Active/Passive
Server 1
Server 2
Database
A
28
Clusters con ‘cold’ Failover, Active/Active
Server 1
Database A
Server 2
Database B
Database Database
A
B
29
RAC-One Node –
Active / Passive
Server A
DB1
DB2
Server B
DB3
Server C
DB4
DB5
Common Shared Storage
Single Cluster
30
Real Application Cluster
Active / Active
Real Application Cluster
Active / Active
RAC, RAC One Architecture
public network
Node1
VIP1
Service
VIPn
Listener
Listener
Node 2
instance 1
ASM
ASM
cluster
interconnect
Clusterware
Operating System
Clusterware
Operating System
shared storage
Redo / Archive logs all instances
Database / Control files
OCR and Voting Disks
Alta affidabilità
Computer
Machine
Unplanned
Downtime
Planned
Downtime
Failures
Data
Failures
System
Changes
Data
Changes
Site
Data Guard
• Data Protection
• Role Management
– Switchover operation for scheduled outages
– Failover operation for unscheduled outages
Data Guard
Primary Site
Secondary Site
Alta affidabilità Data Guard – Disaster & Recovery
Oracle
Net
Transactions
LGWR
MRP
Online
Redo
Logs
Primary
Database
An up-to-date
Physical/Logic
al
Standby
Database
Standby
Redo Logs
ARCH
ARCH
Archived
Redo Logs
Archived
Redo Logs
36
DG - Process Architecture
Transactions
Physical
Standby
Database
Oracle Net
LGWR
LNS
MRP/ LSP
RFS
sync
async
Primary
Database
Online
Redo Logs
arch
Standby
Redo
Logs
Transform Redo
to SQL for
SQL Apply
FAL
ARCH
Archived
Redo Logs
ARCH
Archived
Redo Logs
Backup /
Reports
Physical Standby with Real-Time
Query
Concurrent
Real-Time Query
Continuous Redo
Shipment and Apply
Primary
Database
Physical Standby
Database
• Read-only queries on physical standby concurrent with redo
apply
• Supports RAC on primary and/or standby
• Queries see transactionally consistent results
• Handles all data types, but not as flexible as logical standby
38
Improve Availability
Active Data Guard 11g Release 2
•Automatic Block Repair
•Oracle detects corrupt blocks and repairs online
•Transparent to the user and application
Read/Write
Workload
Real-time
Reporting
Continuous redo
shipping, validation & apply
Primary
Database
Fast
Backups
Active Standby
Database
Oracle’s Maximum Availability Architecture
Database
Unplanned
Downtime
Planned
Downtime
Data
Failures
System
Changes
Data
Changes
Oracle Grid Architecture
RAC , ASM and Clusterware
Flashback
ASM
Secure Backup
Recovery Manager
Active Data Guard
Service
Migration
Wide-area
Clusters
Oracle Grid Architecture
Rolling Upgrades/patches
Online Redefinition
Oracle MAA Best Practices
Server
Failures
40
Agenda
• Enterprise Edition VS Standard Edition
• Storage Optimization
• ASM & New Feature
• Oracle Partitioning
• Compression
• High Availability
• DB Security
• Filtering
• Encryption
• Auditing
• Manageability
41
Oracle Advanced Security
Protect Data from Unauthorized Users
 Prevent access by non-database users
 Increase database user identity assura
Disk
Backups
Application
Exports
Off-Site
Facilities
• Complete encryption for application data at rest to prevent direct access to
data stored in database files, on tape, exports, etc. by IT Staff/OS users
• Efficient application data encryption without application changes
• Built-in two-tier key management for SoD with support for centralized key
management using HSM/KMS
• Strong authentication of database users for greater identity assurance
42
Le informazioni sono cifrate
Advanced Security Option
•
•
•
•
•
Data
Application
•

Cifratura e
Data Integrity
(Modification,
Disruption, Replay)
© 2010 Oracle Corporation – Proprietary and Confidential
Cifratura di tutte le comunicazioni
da e verso il database
Data integrity con checksums
•
•
•
•
RC4 (40, 56, 128, 256 bits)
DES (40 and 56 bits)
3DES (2 and 3 keys)
AES (128, 192, and 256 bits)
MD5
SHA-1
Certificata FIPS 140-1 Level 2
Trasparente alle applicazioni
43
 Control access to data within database
Oracle Database Vault
Enforce Security Policies Inside the Database
Security
DBA
Procurement
Application
Application
DBA
HR
Finance
select * from
finance.customers
DBA
• Automatic and customizable DBA separation of duties and protective
realms
• Enforce who, where, when, and how using rules and factors
• Enforce least privilege for privileged database users
• Prevent application by-pass and enforce enterprise data governance
• Securely consolidate application data or enable multi-tenant data
management
44
Oracle Database Firewall
First Line of Defense
Allow
Log
Alert
Substitute
Applications
Block
Alerts
Built-in
Reports
Custom
Reports
Policies
• Monitor database activity to prevent unauthorized database access, SQL
injections, privilege or role escalation, illegal access to sensitive data, etc.
• Highly accurate SQL grammar based analysis without costly false positives
• Flexible SQL level enforcement options based on white lists and black lists
• Scalable architecture provides enterprise performance in all deployment modes
• Built-in and custom compliance reports for SOX, PCI, and other regulations
45
Agenda
• Enterprise Edition VS Standard Edition
• Storage Optimization
• ASM & New Feature
• Oracle Partitioning
• Compression
• High Availability
• DB Security
• Manageability
46
Oracle Database 11g
•Diagnostic Pack
•Tuning Pack
•DB LifeCycle mgm
• Configuration Pack
• Provisioning Pack
• Change Management Pack
Self Managing Database
Auto-Tuning
Advisory
Replication
Recovery
RAC
Schema
Apps/SQL
Memory
Backup
Storage
Instrumentation
Oracle Enterprise Manager 11g
Performance Page
Oracle Enterprise Manager 11g
Detailed and advisor Page
Performance Diagnostics
NEW: Active Reports
•
•
•
•
Interactive reports for off-line analysis
Offer same level of interactivity with drill-downs for detailed analysis
Can be emailed to appropriate personnel for analysis
Does not require Oracle Enterprise Manager installation
Oracle Database Mgmt: Tuning Pack
Tuning Pack
•SQL Tuning Advisor
• SQL Profiles
• Statistical Analysis
•SQL Access Advisor
• Index on Table
• Materialized View on Table
• Index on Materialized View
• Reorganize Objects
Oracle Enterprise Manager 11g
Tuning Pack
Oracle Enterprise Manager 11g
Performance Page
Oracle Enterprise Manager 11g
Detailed and advisor Page
Performance Diagnostics
NEW: Active Reports
•
•
•
•
Interactive reports for off-line analysis
Offer same level of interactivity with drill-downs for detailed analysis
Can be emailed to appropriate personnel for analysis
Does not require Oracle Enterprise Manager installation
Oracle Database Mgmt: Tuning Pack
Tuning Pack
•SQL Tuning Advisor
• SQL Profiles
• Statistical Analysis
•SQL Access Advisor
• Index on Table
• Materialized View on Table
• Index on Materialized View
• Reorganize Objects
Oracle Enterprise Manager 11g
Tuning Pack
Integrated Configuration Management
Doing more with less
Configuration
Compliance
Detecting Configuration
Changes
Knowing What
You Have
Standardizing
Configurations
Asset Discovery
Drift Analysis
Proactive Checks
Real-time Monitoring
Automated Inventory
Config Comparison
Policy Management
Real-time Detection
•Across the stack
Out-of-the-Box Policies
•Operating Systems
•Across lifecycles
User-Defined Policies
•Hardware
•Baseline & Gold Std
User-Defined Groups
•Database
•1-to-1, 1-to-Many
HW/SW Configurations
•Packaged Apps
Configuration Search
Relationships
Drift Reconciliation
Compliance Dashboard
•Who, What and When
Compliance Framework
•SOX. PCI, CoBIT …
Change Reconciliation
•Authorized vs Unauthorized
Oracle Enterprise Manager & My Oracle Support
Proactive Support – Using Aggregated
Configuration Data
3
Millions of
Configurations
uploaded to My
Oracle Support
1
Customers acquire
configuration knowledge
as product of aggregate
information
My Oracle Support
Personalized
Knowledge
Management
Simplified
SR Management
Proactive
Config Management
2
Support Configuration Database
mined to generate proactive bestpractice recommendations
Automated Configuration Upload to My Oracle Support
Reduce Problem Resolution Cycle
• Unified Support and Management View
• Service Requests
• Patches and Updates
• Knowledge
Oracle Database 11g
Oracle Database Systems Family
Engineered for Performance
Engineered for Simplicity
HIGHER
Oracle Database
Appliance
4 to 24 Cores
12 TB Storage
Exadata Quarter
Rack
292 GB Flash for Redo Logs
24 Database Cores
One Command Deployment,
Patching, and Support
3 Exadata Storage Servers
PERFORMANCE
Cores can be disabled
DB Appliance 24 core
72 TB Storage
1.1 TB Smart Flash Cache
Smart Scan
DB Appliance
4 core
Hybrid Columnar
Compression
Fully Expandable
CAPACITY
HIGHER