Safe Harbor Statement - DOAG Deutsche ORACLE ... · •DB instance startup time depends on shared...
Transcript of Safe Harbor Statement - DOAG Deutsche ORACLE ... · •DB instance startup time depends on shared...
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
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.
2
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Die Oracle Datenbank 12c auf Oracle Solaris 11 Die technischen Details
Detlef Drewanz Master Principal Sales Consultant
3
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Database, Java, Apps and Solaris Engineered Together
4
Investing in Best of Breed
Best of breed components Co-Engineered with
applications and hardware
Unique value in
Engineered Systems
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Supports Virtually All Software Runs on Virtually all Hardware
Solaris Powers the Oracle Product Portfolio
5
Exalogic
Exadata SuperCluster
ZFS Storage
x86 T Series M Series
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
ORACLE Solaris Support for Operating Systems
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
COMPLETE.
SDN Virtualization OpenStack OS
7
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Virtualization Network
Server
Server OS
Changing Design Focus
8
The Traditional Way of Engineering the OS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Solaris – Engineered for Cloud Bringing Enterprise to the Cloud
– #1 Enterprise OS – designed for mission critical apps
– Immense workload scalability
– Assured data integrity
– Secure by design
– Production safe observability
Enterprise Ready Cloud Agility
– Zero-overhead virtualization
– Single step installation, simple update
– Automated compliance reporting
– Automatic service restart
– SPARC and x86 platform support
– Zero to OpenStack in 20 mins
9
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Middleware
Database
Application
Virtualization&
Cloud Orchestration
SDN
Server
Platform
Hardware and Software Engineered to Work Together High Performance, High Efficiency, High Value
A Better Way of Engineering the System
10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
5
Installation
Oracle 12c Runs Best on SPARC
I/O Observability
Memory Management
Virtualization and Multitenancy
11
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
5
Installation
Oracle 12c Runs Best on SPARC
I/O Observability
Memory Management
Virtualization and Multitenancy
12
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Installationgroups in Oracle Solaris 11
• group/system/solaris-minimal-server (11.2)
– Minimal Setup
• group/system/solaris-small-server
– Standard for Zones
• group/system/solaris-large-server
– Manual TXT-Installation
• group/system/solaris-desktop
– LiveCD
13
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle DB Installation in Solaris 11
• Select IPS Software Group
– group/system/solaris-small/large/...-server
• Additional required IPS-packages (already in ...large-server)
– /developer/build/make, /developer/assembler
– Nur für GUI Installer • /x11/diagnostic/x11-info-clients, /x11/session/xauth
• Solaris 11.2
– group/prerequisite/oracle/oracle-rdbms-server-12cR1-preinstall
• Follow-up with usual DB-Installation
– user, swap-size, memory settings, projects, shm-settings, ...
14
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
5
Installation
Oracle 12c Runs Best on SPARC
I/O Observability
Memory Management
Virtualization and Multitenancy
15
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
CPU
Full MT-hot kernel, scales to 100s of cores and 1,000s of HW threads Support for Critical Threads features in T4 chip 5x performance improvement of high-resolution timer Multi-processing and multi-threading support for Oracle DB Multi-CPU binding for NUMA-aware interrupt distribution
Memory
Large Page support Optimized Shared Memory (OSM) NUMA I/O Framework Fast DB Restart Latency-aware kernel memory allocator (x86, SPARC) Re-architecture of Virtual Memory sub-system Userland Fast-Memory Registration and Shared Protection Domain VM 2.0 Read-only access to In-Memory Columnar Data
File System Userland file system for DB, Oracle File Server support
I/O
Support for low-latency Infiniband: RDSv3, SDP Direct I/O with concurrent writes Exclusive-IP zone support for RDSv3 to support DBaaS Network Resource Management for RDSv3, Prioritized flows for TCP/IP
Examples of Optimizations for Oracle DB The Tip of the Iceberg
Key: Solaris 11.1 New in Solaris 11.2
16
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Observability Enhanced observability for segmentation faults Read-out of libdtrace by Oracle 12c Fine-grain IB performance stats
Reliability and Availability
Dynamic reconfiguration notifications for DB for resources rebalancing FMA callback for bad hardware Alternative Path Migration (APM) fail-over for RDSv3 Hot add and remove of IB HCA
Performance
Improved PGA performance 2x faster DB Start and Stop Kernel lock acceleration for Oracle RAC SR-IOV support for OVM SPARC
Mult-tenancy Zones: Secure isolation, lowest latency virtualization; Kernel Zones
Security Transparent crypto off-load for SPARC and x86; Immutable kernel and global zones
Examples of Optimizations for Oracle DB The Tip of the Iceberg
Key: Solaris 11.1 New in Solaris 11.2
17
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SPARC @ Oracle 5 Processors in 4 Years
2010 2011 2012
SPARC T3 16 S2 cores 128 Threads 40 nm technology 1.65 GHz
SPARC T4 8 S3 Cores 64 Threads 40nm Technology 3.0 GHz
SPARC T5 16 S3 Cores 28nm Technology 3.6 GHz
SPARC M5 6 S3 Cores, 48MB $ 28nm Technology 3.6 GHz
2012
SPARC M6 12 S3 Cores 48MB $ 28nm Technology 3.6 GHz
2013
18
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
T4-1B
T4-1
T4-2/T5-2 single CPU
T4-4
T5-1B
T5-2
T5-4 SuperCluster T5-8 and M6-32
Exalytics T5-8
Entry-Level Mid-Range High-End Engineered Systems
M6-32, M5-32
T5-8
SPARC Systems Enterprise Portfolio
19
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
CPU Terms Visualized A CMT CPU is…
• 1 CPU
• Up to 16 Cores
• 8 Strands per Core
– These are what Solaris will call “CPU”
20
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Applicability Opportunity Performance Benefit
Oracle Database Logwriter, LMS LMS is CT ready
LGWR is CT ready in RDBMS 12c Up to 30% improvement in
efficiency
Engineered Together for Performance Oracle’s SPARC M5, T5 and T4 Processors running Oracle Software
• Critical Threads optimize performance by assigning a process exclusive access to all of a core’s hardware resources
– Solaris 10 1/13 and Solaris 11.1
• Manually: priocntl -s -c FX -m 60 -p 60 -i <pid of critical single threaded process>
• Automatically: RDBMS 11.2.0.3 patch 12951619 or RDBMS 12c
21
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Applications
WebLogic
SOAP
SSL
Oracle Database
SSL
Unified Key Management
IPsec (VPN)
SSL SSL SSL SSL
ZFS Files Tablespace
Unmatched Security: End-to-End Encryption No Compromise, No Tradeoff, No Additional Costs
• Auto-offload of CPU-intensive security work to SPARC crypto accelerators
• Fast Oracle Database Advanced Security Transparent Data Encryption (TDE)
• Turbo charged JRE security
• Reduce risk with encryption by default
• ZFS Filesystem Crypto 3.9x faster vs. x86
• 10Gb/s SSL T5 uses <10% of system to saturate 10GbE vs. 30% for Xeon E5
22
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
5
Installation
Oracle 12c Runs Best on SPARC
I/O Observability
Memory Management
Virtualization and Multitenancy
23
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Ultimate Oracle Database I/O Observability
New with Oracle Database 12c
– Provides end-to-end view for I/O operations taking too long
– Traces I/O requester, I/O device and the exact time spent in each layer: database, OS and the storage device
– Tracing info is loaded in V$ views for queries
v$kernel_io_outlier
TIMESTAMP IO_SIZE IO_OFFSET DEVICE_NAME VARCHAR2(513) PROCESS_NAME VARCHAR2(64) TOTAL_LATENCY SETUP_LATENCY …
Quickly resolve I/O issues
Optimize your Database I/O performance
Oracle Solaris DTrace Integration
24
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
v$kernel_io_outlier Using DTrace to identify I/O-issues
25
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
5
Installation
Oracle 12c Runs Best on SPARC
I/O Observability
Memory Management
Virtualization and Multitenancy
26
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Memory Optimizations
Ready for the Future
– Low overhead scaling of memory to 100s of TBs
– Improve performance • Very large memory pages
• NUMA I/O
– Auto memory page tuning with built-in predictor
Predicable performance at scale
Samples
Analyzes
Adjusts
Adapts memory allocation to application needs
Maximize Database
27
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Solaris Large Memory Database Startup One of the many Solaris optimizations for the Oracle Database
0
5
10
15
20
S11.1+11g (Starting point) S11.1 SRU10+11g S11.1 SRU10+12c
Spee
du
p
1x (2800 sec)
4.3 x (650 sec)
21x (130 sec)
28
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Memory Allocation (SGA) Improving DB Startup Time by faster SGA Allocation
• DB instance startup time depends on shared memory allocation time
• Oracle Solaris parallelizes allocation using kernel threads (VMTASKS)
– Default maximum number of vmtasks limited to 16
– On larger systems, vmtasks limit can be increased for better parallelism
– For example, add the following line to /etc/system
– or modify on a live system using mdb
• Set vmtask_ntasks_max parameter to 10-20% of available cpus
# set vmtask_ntasks_max = 0x20
# echo “vmtask_ntasks_max /W 0x20” | /bin/mdb -kw
29
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Resize Oracle DB 12c Without Downtime
Optimized Shared Memory (OSM)
– New Oracle Solaris Optimized Shared Memory (OSM) interface - replaces DISM • Oracle Solaris 10 1/13
• Oracle Solaris 11 SRU 7.5 or later
– Works with Oracle DB Automatic Memory Management (AMM)
– Dynamic, NUMA- aware granule based shared memory
Dynamically resize your Database SGA online without a reboot
Bring Oracle Database instances up 2x faster
30
Oracle DB
SGA
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OSM Details Many advantages against DISM
• Allocate Shared Memory only as it is required
– Faster start-up of instance
• No services from oradism background process required
– Does not require super-user privilege
• Does not required double allocation of SWAP
• Enable: – Set MEMORY_MAX_TARGET > MEMORY_TARGET
• Check (Examine column labeled "ALLOC")
31
# ipcs -dm
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
5
Installation
Oracle 12c Runs Best on SPARC
I/O Observability
Memory Management
Virtualization and Multitenancy
32
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SPARC T5 Virtualization
Oracle SPARC T5
Oracle VM Server for SPARC
Oracle Solaris 11 Oracle Solaris 10
Solaris 11 Zone Solaris 11 Zone Solaris 10
Zone Solaris Legacy
Zone Solaris Legacy
Zone Solaris 10
Zone
33
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle VM Server for SPARC
Oracle Solaris 10 Oracle Solaris 11
Solaris 11 Zone Solaris 10
Zone Solaris 8
Zone Solaris 9
Zone Solaris 10
Zone
Secure Multiversion Database Multitenancy For Database Consolidation and Database Clouds
• Multiple versions of Database and OS on same server
• No impact on Performance
• High-density Consolidation
• Multitenant Isolation and security level options
• Highly available clustered Zones
34
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Unequaled Database I/O Management Integrated Network Virtualization • Secure isolation of networks
• Bandwidth management per database instance
• Virtual equivalents of NICs, switches, LANs, firewalls, load balancers, routers, bridges
Ora
cle
Sola
ris
35
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Application-Driven Networking Optimized for Oracle DB 12c Pluggable DBs
• Solaris optimized for PDBs:
– Solaris flows enable network SLAs
– Oracle DB 12c automatically creates Solaris flows • Enforcement of SLAs for Pluggable databases
into the network
36
Pluggable DB B Pluggable DB C Pluggable DB A
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database Licensing Savings Oracle Multitenant on SPARC T5-8 Server Example
• Hard partition recognized for database licensing
– Using Solaris Zones
– Using LDoms
• Dedicate 1 core or more, out of the total 128 cores to the database
37
SPARC T5-8
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SuperCluster T5-8 Ideal For Secure Multitenant Database Consolidation
Optimized for Oracle Database
– Up to 256 compute processors and 4 TB of memory in a single rack
– Integrated Oracle Exadata Features
– Includes Exadata Storage Server
– Superfast, low latency, secure InfiniBand networking
– Oracle Solaris 11 Zones support
– Built-in, hardware encryption to provide end-to-end data security
T4-4 Node 1
Oracle Solaris 10
Oracle Solaris 11
DB Domain
GP Domain
Zones
Solaris Zone
Solaris Zone
Solaris Zone
Solaris
Zone
Zones
Zones
InfiniBand Network
EXADATA
STORAGE EXADATA
STORAGE
EXADATA
STORAGE
ZFS
STORAGE
APPLIANCE
T4-4 Node 1
Oracle Solaris 10
Oracle Solaris 11
DB Domain
GP Domain
Zones
Solaris Zone
Solaris Zone
Solaris Zone
Solaris
Zone
Zones
Zones
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Database 12c Runs Best on
Oracle’s SPARC Servers with Oracle Solaris
Co-Engineered for Performance and Efficiency
The Oracle on Oracle Advantage
39
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
References
• Oracle Database 12c Takes Advantage of Optimized Shared Memory Feature on Oracle Solaris (Doc ID 1579199.1)
• Oracle Database Runs Best on Oracle Solaris
http://www.oracle.com/technetwork/server-storage/solaris11/technologies/oracledatabase-1897821.html
40
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 43