run oracle on oracle...(with x86 building blocks) oracle database appliance oracle exalytics...

66
Run Oracle on Oracle

Upload: others

Post on 13-Aug-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Run Oracle on Oracle

Page 2: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 2

Oracle运行Oracle数据库的可选方式

Exadata ODA SuperCluster Oracle x86 Servers + Oracle Linux + Oracle Stoage Oracle x86 Servers + Oracle Solaris + Oracle Storage Oracle SPARC Servers + Oracle Solaris + Oracle Storage

Page 3: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 3

工程一体机

Page 4: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 4

Exadata 第五代Oracle数据库工程一体机

X4 Storage

10% to 20% Lower Power

Up to 4X Larger Logical Flash Memory

50% More Database Cores

2X Faster InfiniBand

2X Larger Physical Flash Memory

33% Larger High Capacity Disks 77% More Flash IOs/sec on X4-2

88 TB using Flash Cache Compression

InfiniBand PCI-3 Card. All Ports Active

44 TB of Flash Memory

672 TB using 4TB Disks 2.66M Reads, 1.96M Writes from SQL

2X Larger DB Server Local Storage 192 Cores using 12-Core Xeon® CPUs 2.4 TB per server using 600GB Disks

2X Larger High Performance Disks 200 TB using 1.2 TB Disks

X4-2 Compute

Per DB Machine Full Rack

Page 5: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 5

特有的Oracle数据库软件优化技术

Query offload in storage – Data intensive query operations

offloaded to storage CPUs – 100 GB/sec SQL data throughput – Storage Index data skipping

Database storage compression – Hybrid Columnar for 10x DB size

reduction and faster analytics

Database optimized PCI Flash – Smart caching of database data – 2.66 Million Database IOs/sec – Smart Flash log speeds transactions

Database optimized QoS –End-to-end prioritization from

application to DB and storage

Database optimized availability –Fastest recovery of failed database,

server, storage or switch –Fastest backup. Incremental offload –Exachk top-to-bottom validation of

hardware, software, settings

Database optimized messaging –SQL optimized InfiniBand protocol for

high throughput low latency SQL

Page 6: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 6

2 x 1RU x86 Servers. Each Server Contains: – 2x 12-core Intel® Xeon® E5-2697 v2 – 256 GB RAM (16 x 16 GB) – 2 x 600 GB Boot Disks (mirrored) – 1 x Internal & 2 x External SAS HBAs – 4 x 1/10 GBase-T Ethernet Ports – Redundant 10GBaste-T Interconnect

1 x 2RU Storage Shelf – Direct-Attached – 4 x 2.5” 200 GB SSDs for Redo – 20 x 2.5” 900 GB HDDs for Data

Optional storage expansion with additional storage shelf doubles storage capacity

More Processing Power

Oracle Database Appliance 简单、可靠、平易近人的价格

Page 7: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 7

内建的虚拟化 可在单一系统内同时部署数据库与应用程序

Database runs in the ‘ODA Base’ domain to provide native disk performance Domains provide application

isolation Appliance Manager provides:

– VM Template and Domain management

DOM 0 VM Storage Repository

ODA Base • Appliance Manager • Grid Infrastructure • Database

Node 1

Domain U

Domain U

DOM 0 VM Storage Repository

ODA Base • Appliance Manager • Grid Infrastructure • Database

Domain U

Domain U

Domain U

Oracle Database Appliance

Domain U

Node 2

Page 8: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 8

Oracle x86 服务器 被广泛用于Oracle工程一体机

ZFS Storage Appliances

Storage Systems (with x86 Building Blocks)

Oracle Database Appliance

Oracle Exalytics in-Memory Database

Machine

Oracle x86 Systems (stand alone systems)

8-Socket Rack

4-Socket Rack

2-Socket Blade

2-Socket 2RU Rack

Business Ready Systems (with x86 Building Blocks)

Oracle Cloud (with x86 Building Blocks)

- Oracle On Demand

- On-Premise Cloud 2-Socket 1RU Rack

Big Data Appliance

Exadata Exalogic Oracle Virtual Cloud Appliance

Page 9: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 9

Oracle x86 – 专为性能优化 Oracle软件在Oracle x86上运行更佳

Single system management tool for all Oracle products

Oracle Solaris features available only

for Oracle x86

Oracle software developed,

integrated, and tested on Oracle x86

Oracle Linux features available only for

Oracle x86

- Hardware, middleware, database, and applications

- Improves system administration productivity, easier life cycle, more effective fault analysis

- Advanced fault diagnosis

- Better system management linkage impacting performance of IaaS

- Storage firmware enhancements

- Deep bug fixes and hardening of firmware to improve performance of Oracle database and applications

Page 10: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 10

Oracle Linux 接近11,000 个企业用户; 两位数的年增长率

Oracle Linux is one of the top 3 distributions, growing more than 80 percent year-over-year in 2012, which outpaced the overall Linux server operating system market growth (1).

(1) Source: Gartner, Market Share, All Software Markets, Worldwide, 2012 – March 29, 2013

Page 11: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 11

Oracle Linux

Oracle Linux is binary compatible to Red Hat Enterprise Linux Provides two kernel options for customers to choose from:

– The Unbreakable Enterprise Kernel (default) – Red Hat compatible Kernel – provides a simple migration path for existing Red Hat

customers

Oracle Linux holds the record for TPC benchmarks on x86_64 systems. Oracle Linux leads in scalability and benchmarks with support for:

– Up to 4096 CPUs – Up to 16TB Memory

我们提供——

Page 12: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 12

Oracle数据库在Oracle Linux上表现优异

Oracle Linux is the only Linux tested and certified with Oracle Database It is used in Oracle Engineered Systems Integrated features and joint develop optimize Oracle Linux for Oracle

database. – Database Smart Flash Cache – Data Integrity – Advanced Security Features

Oracle Database Transparent Data Encryption and Redaction Oracle Audit Vault and Database Firewall

Oracle pre-install and Oracle Validated solutions to simplify Database deployments

联合开发带来超乎寻常的结果

Page 13: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 13

SuperCluster Oracle速度最快、扩展性最强的工程一体机

CO

MPL

ETE

Compute

Storage

Software

Networking

+

+

• The best system for running databases and applications in memory

• Ideal for consolidation and cloud

• Best for IBM/HP and SPARC refreshes and new deployments

Page 14: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 14

DIY之服务器

Page 15: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 15

国内传统用户典型的配置

服务器 + 存储 + 网络 集群配置,无单点故障 DIY

Oracle组件 Oracle优化解决方案

Page 16: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 16

Oracle SPARC 服务器

T5 – Up to 128 cores / 1024 threads – Up to 4TB memory

M6 – Up to 384 cores / 3072 threads – Up to 32TB memory

M10 – Up to 1024 cores / 2048 threads – Up to 32TB memory – Modular design, 4 sockets per BB

更好的性能,更好的性价比

Page 17: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 17

SPARC T5 ——最快的OLTP数据库服务器

SPARC T5-8 with Oracle

IBM Power 780 with DB2

IBM Power 780 3-node cluster

with DB2

IBM Power 595 with DB2

IBM x3850 X5 with DB2

Processor Model (CPUs/Cores/Threads)

3.6 GHz SPARC T5 (8/128/1024)

4.14 GHz Power 7 (2/8/32)

3.86 GHz Power 7 (24/192/768)

5.0 GHz Power 6 (32/64/128)

2.40 GHz Intel Xeon E7-8870 (4/40/80)

tpmC 8,552,523 1,200,011 10,366,254 6,085,166 3,014,684

Response Time (s) (New Order / 90th%)

0.41 0.694 2.1 1.69 0.5

Price / tpmC $0.55 USD $1.38 USD $1.38 USD $2.81 USD $0.59 USD

tpmC / CPU 1,069,065.4 600,005.5 431,927.3 190,161.4 753,671

TPC-C公测指标对比

• P7+ 机型始终拒不参测,是否因为性能提升羞于见人? • 参测P780最高可配置16个CPU,但实际却只用2个CPU测单机性能,且通过TurboCore技术再关闭16核

中的8核以提高主频,并试图诱骗用户基于此来线性推算满配性能。 • 参测P780最高可配置128核,仅用2台就可以达到256核,但实际却用3台半配来作集群,是否意味着做

集群的效果还要好过把P780配置得更高? • IBM测试所得的响应时间比Oracle T5-8差很远,分别差出69%与4.1倍。

http://www.tpc.org/tpcc/results/tpcc_results.asp?orderby=hardware

Page 18: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 18

SPARC T5 ——最快的中间件服务器 SPECjEnterprise2010公测指标对比

http://www.spec.org/jEnterprise2010/results/jEnterprise2010.html

Oracle Oracle Cisco IBM

Java EE Server 1 x SPARC T5-8 with Oracle DB

5/8 SPARC T5-8 with Oracle DB

2 x Cisco UCS B440 M2 with Oracle DB

1 x IBM Power 780 with DB2

CPU Chip / Core / GHz (Total)

8 chips, 128 cores, 3.6 GHz SPARC T5

5 chips, 80 cores, 3.6 GHz SPARC T5

8 chips, 80 cores, 2.4 GHz Xeon E7-4870

8 chips, 64 cores, 3.86 GHz POWER7

Ejobs 57,442.17 36,571.36 26,118.67 16,646.34

Ejobs / CPU 7180.27 7314.27 3264.83 2080.79

• SPARC T5-8 服务器比同为 8 CPU的IBM Power 780要快3.5 倍。 • 即使采用IBM热衷使用的极不合理的线性推导,P780满配置性能也仅为T5-8的

58%不到。 • 结论:128核的Oracle T5-8远远强于128核的IBM P780

http://www.spec.org/jEnterprise2010/results/jEnterprise2010.html

IBM的最好成绩

Page 19: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 19

SPARC T5 ——最快的OLAP数据库服务器 TPC-H公测指标对比

IBM最害怕测TPC-H IBM测TPC-H用的数据库既不是Oracle,也不是DB2,居然是……Sybase

TPC-H@3TB

System Performance (QphH) Database Operating

System Type of CPU Total of cores

SPARC T5-4 Server 409,721 Oracle Database 11g R2 Enterprise Edition w/Partitioning

Oracle Solaris 11.1

Oracle SPARC T5- 3.6 GHz

64

SPARC T4-4 Server 205,792 Oracle Database 11g R2 Enterprise Edition w/Partitioning

Oracle Solaris 11 11/11

Oracle SPARC T4 - 3.0 GHz

32

IBM Power 780 Model 9179-MHB

192,001 Sybase IQ Single Application Server Edition v.15.4

AIX Version 7.1 IBM POWER7 - 4.10 GHz TurboCore

32 (8 8coreCPU)

Page 20: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 20

更好的性能来自优化的设计

16 S3 cores per T5 CPU, 16-128 Strands @ 3.6Ghz Dynamically threaded with hardware-optimized resource sharing, one

to eight strands per core Support for Critical Threads

– Logwriter, LMS for DB, up to 30% improvement in efficiency – Compiler threads, GC and priority mapping support for JAVA, up to 2x

improvement for app startup, Smooth GC 2 x8 Lane PCIe 3.0 @ 8GT/s per T5 CPU

为什么T5能够胜任各种数据库负载?

Page 21: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 21

最高128核的8路直联系统 第一个真正支持8路直联架构的CPU

Glueless 1-hop scaling to eight sockets – Glueless means no hub required to connect all

8 CPUs

A precise directory tracks all L3s in the system

– striped across all processors – stored in on-chip SRAMs – flexible for different socket counts

Higher BW efficiency than snoop-based protocols enables better scaling

– 50% more effective bandwidth than comparable snoopy implementation

T -

T5 T5

T5 T5

T5 T5

T5 T5

128 Cores System

Page 22: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 22

P780的CPU间连接方式

1 hop only happens in the same building block.

Many 2 and 3 hops between building blocks.

Serious performance impact to real world applications.

The overall performance of a fully configured P780 can NOT be calculated by simple multiplication.

Same to P770, P795

最高128 核, 与 T5-8 完全一致

Page 23: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 23

Oracle SPARC Processor Roadmap

Solaris 11.x Solaris 11.1 Solaris 11.x Solaris 11.x Solaris 12

Solaris 11

T4 +1x Throughput

+5x Thread Strength

M5 +6x Throughput

+1.5x Thread Strength

M6 +2x Throughput

>1x Thread Strength

In Test M & T Series +2x Throughput

+1.5x Thread Strength

T5 +2.5x Throughput

+1.2x Thread Strength

2011 2012 2013 2014 2015 2016

Delivered

Software in Silicon •Database Query •Decompression •Encryption •Application Data Integrity

• Java Optimization •Low Latency Clustering

2018

Oracle Numbers Optimization

M & T Series +1.3x Throughput

+1.5x Thread Strength

Solaris 12.x

2017 2019

Software in Silicon Enhancements

•Database Query+ •Java Optimization+ •Encryption+ •Low Latency Clustering+

Core Enhancements Increased Cache

Increased Bandwidth

Solaris 12.x

Next Gen Core

Planned SPARC

Page 24: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 24

DIY之操作系统

Page 25: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 25

Oracle Solaris 当关键任务遇见了云

Solaris 11

Highly Available, Secure Platform for Enterprise Apps

Predictive self healing ZFS data integrity Low overhead snapshots End to end encryption Application Clustering Compliance reporting DTrace observability

Large-scale Cloud Management

Zero overhead Server, Storage, Network virtualization Immutable zones Fast, fail safe

life cycle management Comprehensive cloud

management solution

Page 26: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 26

Solaris 针对 Oracle RDBMS 的优化 冰山一角

CPU

Full MT-hot kernel, scales to 100s of cores and 10,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 next gen database

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

File System Userland file system for DB, Oracle File Server support

I/O

uDAPL, RDSv1, RDSv3, SDP: Support for low-latency Infiniband protocols Direct I/O with concurrent writes Exclusive-IP zone support for RDSv3 to support DBaaS Dynamic reconfiguration for IB HCAs

Page 27: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 27

Solaris 针对 Oracle RDBMS 的优化 冰山一角

Observability Enhanced observability for segmentation faults Read-out of libdtrace by next gen database

Reliability and Availability

Dynamic reconfiguration notifications for DB for resources rebalancing FMA callback for bad hardware

Performance Improved PGA performance Kernel lock acceleration for Oracle RAC Message Passing Co-processor Remote Memory Access (RMA)

Multi-tenancy Zones: Secure isolation, lowest latency virtualization

Security Transparent crypto off-load

Page 28: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 28

Solaris for SPARC 路线图

Silicon Direction Security: Enhanced

cryptography Oracle numbers Arithmetic

Acceleration Hardware Decompression In Memory Columnar

Database Acceleration Memory Versioning Low Latency Clustering

Solaris Direction End-to-End Analytics Distributed Service

Management Software Defined Networking Zero Downtime Patching Encryption Everywhere Hardware Scaling to 1000s TB

Performance • Reliability • Security • In-memory Database • Big Data

Page 29: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 29

DIY之存储

Page 30: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 30

Oracle全线存储产品

Page 31: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 31

Application Engineered Storage

OISP ADO HCC

Dynamic and automatic database-

storage tuning

Advanced and dynamic database (data) optimization

Superior database, data warehousing

compression

Page 32: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 32

Oracle 混合列压缩

Data is organized and compressed by column – Dramatically better compression – Not recommended for OLTP

Speed-optimized Query Mode for data warehousing

– 10X compression typical Space-optimized Archival Mode for

infrequently accessed data – 15X to 50X compression typical

Works great with partitioning, backup, etc.

Page 33: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 33

混合列效果的蝴蝶效应

10x less storage 10x better disk bandwidth 10x more data in Flash Cache 10x more data in database memory 10x smaller test, development databases 10x smaller backup

Page 34: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 34

Oracle DB: 运用 Hot Backup Mode High Level Sequence

1. DPM/3 agent puts DB in

archivelog mode, then into Hot Backup mode. Scheduled or on-demand.

2. Transaction completes, buffers flushed

3. DB tells DPM/3 data is consistent.

4. DPM/3 agent tells FS to make a clone

5. On clone completion, DPM/3 agent returns DB to normal operation

FS Copy Services

• Clones • Volume Copies

FS DPM/3 Agent

• Requests Hot Backup • Responds to FS @ Sync

Point

Oracle DB Instance

Logs, Tablespace, Clones etc.

Page 35: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 35

DIY之整合 服务器

Page 36: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 36

服务器整合的目标

15% Average Utilization 75% Average Utilization

Page 37: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 37

整合并共享预留处理能力

Many Smaller Servers Consolidated and shared headroom

70%

Single Larger Server

Overload

Overload

Overload

Overload

15%

40% 10% 5% 5%

5%

Distributed headroom

• One app per server leads to overload or extra headroom • Consolidate many apps to share and reduce headroom

Svr. A

Svr. B

Page 38: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 38

LDOM

Freely available on T and M series Can be setup like hardware domain

– Share least hardware resource – Independent OS

High efficiency Hard partition for licensing Flexible and secure live migration between hosts Fully dynamic resource management of CPU,

memory, virtual I/O, and crypto accelerators on running virtual machines

Automatic CPU dynamic resource management places resources where they are needed the most

Redundant virtual networks and disks for higher availability

在一台SPARC服务器上整合多达 128 个虚拟机

Page 39: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 39

LDOM

LDOMs always have their dedicated CPU and memory

LDOMs can have dedicated I/O or share I/O (Virtual I/O)

Allocate CPU by core or thread, can do DR, can do policy governed automatic DR

Allocate memory in 4MB granularity, can DR in a running domain on 256MB boundaries

Can do DR on Virtual IO devices

灵活

Page 40: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 40

LDOM – 安全的在线迁移

Live Migration on the same or different generations of supported SPARC T-Series and M-Series systems

– SPARC M5, M6, T5, T4, – SPARC T3, UltraSPARC T2 Plus, UltraSPARC T2

On-chip crypto accelerators deliver secure, wire-speed encryption for live migration

– No additional hardware required – Eliminates requirement for dedicated network

More secure, more flexible

消除应用停机窗口

Shared Storage

Page 41: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 41

Solaris Zone

Global Zone and Zones Share OS running instance Same OS kernel Support legacy containers

– Brand Zone – Solaris 10 in Solaris 11 – Solaris 9/8 in Solaris 10 – Migrate old software onto

modern hardware Whole core Zone treated as

Hard partition for licensing

随处可见

Page 42: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 42

Solaris Zone Is like a virtualized OS Environment Each Zone can be administered independently

– Provides a virtual console for each Zone – Details of System Topology and allocation can be kept hidden from a Zone

Full resource containment and control – CPU, memory, IP, network data flow, file system, disk, etc.

No performance overhead – Up to 8192 Zones

Great for Software fault isolation Great for Security isolation

– Processes in one Zone cannot see or affect processes in other Zones

Page 43: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 43

Solaris Zone 方便CPU资源的隔离或共享

dedicated-cpu; capped-cpu; cpu-shares with FSS scheduler

Page 44: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 44

Solaris Zone

Zones are – Easy to create / delete / backup / restore / … – Easily cloneable (ZFS integration) – Mobile – Start or Reboot in seconds

Zones allow – RAW disk I/O – ZFS management delegation – Observability with DTrace within a Zone too

Boot environment management within a Zone

可管理性

Page 45: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 45

LDOMs 配合 Zones Oracle Works With Oracle

Page 46: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 46

互为补充的技术 OVM for SPARC

– 1 thread granularity – Hardware level – Works with Hypervisor – Every LDOM needs its own OS instance – Different OS versions or kernels are

allowed in different LDOMs – Live migration – Available on T series, M series – FREE

Zone – 1 thread granularity or CPU share or share

CPU – OS Level – Have resource control – Share maintenance window – Share OS kernel instances – Hardware independent – Available on Solaris 10/11 – Native performance – FREE

LDOM and Zone can be used together

Page 47: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 47

DIY之整合 存储

Page 48: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 48

数据库数据的多样性 不同的数据读写特征,不同的响应时间需求……

仅控制数据存储介质就足够吗? – 当多个不同业务并发作业时,当大数据量同时迸发时……

– 大部分Cache被谁使用?Cache里的数据是否最应该在Cache里?

– 大部分磁阵控制器的CPU时间片被谁使用?是否用在了最关键的数据上?

– 通道队列中最重要的数据是否得到了最及时的处理与响应?

Data Type

Storage Class

LUN Performance Profile

Priority Access Bias I/O Bias

Control files SSD or FC High / Premium Mixed Mixed

Database Index SSD High Mixed Mixed

Database Tables SATA Medium Mixed Mixed

Temporary files SATA Medium Mixed Mixed

Online Redo Log Files FC High Sequential Write

Archive Log Files SATA Low Sequential Write

Page 49: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 49

如果不做应对…… 不同业务、不同应用、不同数据库可能无法共享同一存储

同一业务、应用、数据库中的某些重要性很低的操作可能对另外一些重要性高的操作造成明显的负面影响

因为——在多个不同业务并发作业、大数据量同时迸发时,存储的处理资源有可能被优先级低的数据大量占据,导致关键作业的响应时间得不到保证,服务质量下降明显

Page 50: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 50

QoS What Axiom 600 Has

Page 51: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 51

Application Profiles

Pre-tested optimal provisioning and QoS settings include

– QoS Level (I/O Priority) – Access and IO Bias – RAID level/Thin Provisioning – Caching behavior and read-ahead

Most application types ship pre-built with every FS

– Oracle Database / OLTP – Archive / ILM – Business Analytics / OLAP – E-mail: Microsoft Exchange – Business Applications: CRM, ERP,

HR

Oracle Database / OLTP Example

Data Type Recommended Storage Class Priority Access

Bias I/O

Bias Control Files SSD/10K Premium -

High Mixed Mixed

Database Index SSD Premium -

High Mixed Mixed

Database Tables SSD/10K/7.2K Premium -

Medium Mixed Mixed

Temp Files 7.2K Medium Mixed Mixed

Online redo Log Files 10K High Sequential Write

Archive Log Files 7.2K Low Sequential Write

Page 52: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 52

Oracle Automatic Storage Management FS Application Profiles pre-built for ASM Integrated cluster file system and volume manager with Oracle DB Simplifies storage provisioning, array migration, and consolidation Distributes data evenly after storage configuration for max performance

Page 53: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 53

Heat Map LUN Granularity to Sub-LUN Granularity

LUN 1 @ Fat Disk LUN 2 @ SSD LUN 3 @ Perf. Disk

Hot – Frequent access

Warm – Semi-frequent access

Cold – Infrequent access LUN

DREAM

REALITY

Page 54: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 54

Market Leading | QoS+ Adapts to Lowest Cost & Highest Performance by Business Priority

QoS+: Oracle's patented Quality of Service for Storage, a policy-based virtualization management feature incorporating business priority and performance optimization, is now fused

with sub-LUN automatic tiering into one simple management framework.

Performance and Capacity Flash

Performance Disk

Capacity Disk

Domain “n”

$/IO

P

Run Pin Learn & Hold Adjust Rate Throttle

Domain “n” T0

T1

T2

$/TB

Page 55: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 55

The FS1 Solution: QoS+

Automate Sub-LUN Tiering across all tiers of storage and RAID levels with the most cost-effective granularity (640k blocks)

– Competitors do this, but some at < 1/1000th the granularity

Offer controls to the user regarding data movement: Frequency, and Speed. – FS is extremely flexible and has unique “Fast Learn” mode

Preferentially move data by Business Value, and frequency of reference (QoS+) – Nobody has this except Oracle.

Optimize data layout based on user control and measured read/write ratio (bias) – Oracle, and Compellent (DELL) have this

Organize resource pools into storage domains – Only Oracle, Hitachi have this.

Page 56: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 56

DIY之高可靠性

Page 57: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 57

T5 System RAS RAS Design Everywhere

S11 FMA • Diagnosis engine on SP • Auto reconfigure on failure • Soft Error Rate Discrimination (SERD) • Bad page retirement • OS and SP watchdogs • FMA Component hot-upgradeable T5 Processor • L1$ Tag, Status & Data • Parity protection • Retry on error • L2$/L3$ Data • SEC/DED protection • Cache-line Sparing • L2$/L3$ Tags • SEC/DED protection • Inline Correction • Cache-line Sparing • L2$/L3$ Status & Directory • SEC/DED protection • Inline Correction • Architectural RegistersL2 Cache • SEC/DED protection • Precise Trap and Hypervisor Correction

and Retry

Hypervisor • Enables software partitioning (Ldoms)

virtualization and failure containment • Processor support for error clearing,

correction and collection

System • Diagnosis to the FRU level on first fault Power and Cooling • Advanced Power Management • Redundant hot-swap fans • Redundant hot-swap AC/DC • Dual grid power System I/O • PCI-Express end-to-end CRC • PCI Express link retry • Hot-plug low profile PCI Express cards • Redundant, hot-plug boot disks • Alternate connections between M5 and IO

Controllers

Memory • SDRAM Soft Errors • ECC Protection and Correction • Extended ECC Protection • 4-bit Correction • Pin Steering • Channel Interconnect • CRC protection/Message Retry • Lane Sparing

Solaris Hypervisor

System Memory

L3 Cache L2 Cache

L1 Cache Core

** Post-RR

Page 58: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 58

Oracle Solaris Cluster Mission-Critical Cloud Infrastructures

Multi-site stretched/ campus cluster

Local data center cluster

Multi-site, multiple clusters

Oracle Solaris Cluster delivers: Faster, automatic failover for key business applications Managed switchover of resources among servers or sites Safe, automated recovery from site failure

> > >

If you need:

Mission-critical service level

No downtime for maintenance

Business Continuity

Page 59: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 59

企业级高可靠性 • Monitors health of the cluster components

− Servers, Storage, Network − OS, Virtual Machines − Applications

• Tolerates any failure − Exploits HW redundancy − Robust software algorithms

• Heartbeats, Membership • Cluster Configuration • Quorum • Fencing • Resource Group Manager

• Recovers cluster infrastructure and applications

Page 60: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 60

LDOMs 与 Solaris Cluster 配合

Setup cluster with 2 or more LDOMs – Cluster software installed in LDOMs – HA for DB or App running in LDOMs

Setup cluster to take LDOMs as data services

– Cluster software installed in Primary Domain

– HA for Guest Domain – Support domain migration

Oracle Works With Oracle

Page 61: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 61

Solaris Zones 与 Solaris Cluster 配合 Oracle Works With Oracle

Setup cluster in Global Zone HA for Zone / Flying Zone HA for Data Services in Zone Zone Cluster

Delegate cluster administration tasks to DB/App administrator

Page 62: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 62

企业级可靠性 2.5x Faster Failure Detection and Recovery

Page 63: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 63

总结

Page 64: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 64

Whole Red Stack

多样选择,满足不同的需求与预算 原厂设计、整合、测试、安装、维护 独有的功能与性能特点 每一环节都为Oracle数据库优化 每一层次都为相互配合优化 大量性能指标纪录

– 公测!实测!并非由低配线性推导得出 明确的产品路线图 Simplify IT

Oracle 独有的“全红堆栈”

Page 65: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 65

Page 66: Run Oracle on Oracle...(with x86 Building Blocks) Oracle Database Appliance Oracle Exalytics in-Memory Database Machine (stand alone systems) 8-Socket Rack 4-Socket Rack 2-Socket Blade

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 66