Why Use Oracle VM for Oracle Databases? Revera Presentation

44
WHY SHOULD I USE OVM For Oracle Databases By Francisco Munoz Alvarez – Oracle Professional Services Manager

description

Presentation about results of internal benchmarks done by Revera in NZ regarding the performance of an Oracle Database runing in bare metal vs virtualized environments.

Transcript of Why Use Oracle VM for Oracle Databases? Revera Presentation

Page 1: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHY SHOULD I USE OVMFor Oracle Databases

By Francisco Munoz Alvarez – Oracle Professional Services Manager

Page 2: Why Use Oracle VM for Oracle Databases? Revera Presentation

Some Certifications• 8/9i/10g/11g OCP, RAC OCE, AS OCA, E-

Business OCP , SQL /PLSQL OCA , OVM Implementation Specialist, Oracle 7 OCM

• ITIL Certified

• Highlights• Oracle 7 , Oracle 11gR2 and OVM 3.1 and 3.2

Beta Tester

• Blog: http://oraclenz.wordpress.com

• Twitter: fcomunoz

Current Positions• Oracle ACE Director

• NZOUG President

• LAOUC President

• CLOUG President

• IOUC LA Spokesperson

• Revera – Oracle Professional Services Manager

Francisco Munoz Alvarez

Page 3: Why Use Oracle VM for Oracle Databases? Revera Presentation

TODAY’S AGENDA

Why use Virtualisation

OVM Overview

Benchmarks

Conclusion

Why Revera

Questions

Page 4: Why Use Oracle VM for Oracle Databases? Revera Presentation

BEFORE START

REVERA is a IaaS leader provider in NZ with many

different options and solutions available to fulfil any type

of requirement.

The results on this presentation makes only reference

regarding Oracle Database performance when running

on a virtual environment.

Page 5: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHY USE VIRTUALISATION

Consolidation of workload

Hardware independence

Enhanced high availability & DR options

Better utilisation of overall CPU & RAM, ability to redistribute

Overall significantly better value and better utilisation of

resources

Page 6: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHAT IS OVM

Oracle VM is an enterprise-proven server virtualization

solution comprised of Oracle VM Server for x86, Oracle VM

Server for SPARC and Oracle VM Manager that is scalable,

and a low-cost server virtualization solution for both Oracle

and non-Oracle workloads that makes enterprise

applications easier to deploy, manage, and support.

Page 7: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHAT IS OVM (Cont)

Because OVM is build by Oracle all Oracle products deployed in Oracle VM such as the Oracle Database, Oracle Fusion Middleware, Oracle Applications, and Oracle Real Application Clusters and many others are fully supported and certified.

OVM helps customers improve server utilization, achieve higher availability and achieve better performance while reducing costs.

Page 8: Why Use Oracle VM for Oracle Databases? Revera Presentation

THE ARCHITECTURE

OVM Server– Based on the underlying Xen

hypervisor technology

– Management Linux Kernel

with support of Devices

(JeOS)

– IO, Networking, etc

VM– Guest OS with applications

running on domU

Page 9: Why Use Oracle VM for Oracle Databases? Revera Presentation

MORE VALUE Key Benefits

– Application Aware Virtualization

– High Available and Scalable

– Easy and Efficient Centralized Management

– Fast Deployment and Standardization

– Application Driven Virtualization

– Soft and Hard Partitioning

– Support for Leading Enterprise Operation Systems

– Dynamic Resource Scheduling

– Integration with OEM12c

– Build by Oracle to Oracle and non-Oracle environments

– Only x86 server virtualization solution fully certified by Oracle and can be used with all Oracle Software

– Single Vendor Support, One call to Oracle; no finger pointing at another vendor

Page 10: Why Use Oracle VM for Oracle Databases? Revera Presentation

BENCHMARKEnvironment Preparation

Page 11: Why Use Oracle VM for Oracle Databases? Revera Presentation

SOME NOTES ON THE TESTING

Performed in a lab environment, not on our actual Prod

environment

The trends are representative, but the numbers reflect the lab gear

available at the time

When we build VM service offerings they are tuned for general

purpose IaaS workloads & use cases most common across

customers

We can tune for specific use cases, as this presentations will show

Page 12: Why Use Oracle VM for Oracle Databases? Revera Presentation

THE ENVIRONMENT

Hardware– 3 DELL M610 with 96 GB

RAM and 2 hexa-core processors each

– OS: OEL 5.7 64 bit

– Hitachi Storage (Fiber Channel Storage Array)

Database– OEE 11.2.0.3

– SGA: 4864 MB

– Redo: 7 Groups of 150 MB each

Page 13: Why Use Oracle VM for Oracle Databases? Revera Presentation

THE SERVERS

VM’s– 4 vCPU’s each

– 6 GB RAM each

Virtualization Software– OVM 3.2.1.516

– Other Hypervisors

Bare metal– 12 CPU’s

– 96 GB RAM

Page 14: Why Use Oracle VM for Oracle Databases? Revera Presentation

BENCHMARK PRODUCTS

CPUmonitor 2.91

Swingbench 2.4

Page 15: Why Use Oracle VM for Oracle Databases? Revera Presentation

SETUP OF ENVIRONMENT

Page 16: Why Use Oracle VM for Oracle Databases? Revera Presentation

BENCHMARKThe Results

Page 17: Why Use Oracle VM for Oracle Databases? Revera Presentation

RESPONSE TIMES

Max and AVG Response Times (milliseconds)

Page 18: Why Use Oracle VM for Oracle Databases? Revera Presentation

Response Times

Max and AVG Response Times (milliseconds)

Page 19: Why Use Oracle VM for Oracle Databases? Revera Presentation

Response Times

AVG Response Times (milliseconds)

Page 20: Why Use Oracle VM for Oracle Databases? Revera Presentation

RESPONSE TIMES

AVG Response Times (milliseconds)

Page 21: Why Use Oracle VM for Oracle Databases? Revera Presentation

TRANSACTIONS PER MINUTE

AVG Transactions per minute

Page 22: Why Use Oracle VM for Oracle Databases? Revera Presentation

CPU WITH 200 SESSIONS

Page 23: Why Use Oracle VM for Oracle Databases? Revera Presentation

CPU WITH 400 SESSIONS

Page 24: Why Use Oracle VM for Oracle Databases? Revera Presentation

CPU WITH 800 SESSIONS

Page 25: Why Use Oracle VM for Oracle Databases? Revera Presentation

CPU WITH 800 SESSIONS

Page 26: Why Use Oracle VM for Oracle Databases? Revera Presentation

BENCHMARK/SCALINGWhat happen if we give more resources to the VM?

Page 27: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHEN SCALING

• Increasing VM resources on-demand when

achieving 400 concurrent sessions

• RAM from 6GB to 12 GB

• vCPUs from 4 to 8 Now let’s see

what’s happen

when giving more

resources to the

VM

Page 28: Why Use Oracle VM for Oracle Databases? Revera Presentation

Response Times

AVG Response Times (milliseconds)

35 29 27 30 30 29118 15 15 15 27

812

0

100

200

300

400

500

600

700

800

900

15 Users 50 Users 100 Users 200 Users 400 Users 800 Users

Response Time AVG BM Response Time AVG OVM

35

2927

30 3029

18

15 15 15

12

15

0

5

10

15

20

25

30

35

40

15 Users 50 Users 100 Users 200 Users 400 Users 800 Users

Response Time AVG BM Response Time AVG OVM

Page 29: Why Use Oracle VM for Oracle Databases? Revera Presentation

TRANSACTIONS PER MINUTE

AVG Transactions per minute

8102722

5476

10924

21685

30621

838

2755

5569

10881

19604

12541

0

5000

10000

15000

20000

25000

30000

35000

15 Users 50 Users 100 Users 200 Users 400 Users 800 Users

Transactions/min AVG BM Transactions/min AVG OVM

8102722

5476

10924

21685

30621

8382755

5569

10881

21854

29523

0

5000

10000

15000

20000

25000

30000

35000

15 Users 50 Users 100 Users 200 Users 400 Users 800 Users

Transactions/min AVG BM Transactions/min AVG OVM

Page 30: Why Use Oracle VM for Oracle Databases? Revera Presentation

CPU WITH 400 SESSIONS (2)

Page 31: Why Use Oracle VM for Oracle Databases? Revera Presentation

CPU WITH 800 SESSIONS (2)

Page 32: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHEN SCALING

As you can see, without OVM

you will have a full physical

server with underutilized

resources, but if using OVM,

you will be able to virtualize it to

host many Oracle DBs without

loss of performance and making

an efficient use of available

licenses.

Page 33: Why Use Oracle VM for Oracle Databases? Revera Presentation

OTHER INFO

• MANAGEMENT OF SGA MEMORY

• SGA of 4864 MB

• BM able to open 563 connections

• Other Hypervisors able to open 523 connections

• OVM able to open 567 connections

Page 34: Why Use Oracle VM for Oracle Databases? Revera Presentation

BENCHMARKConclusion

Page 35: Why Use Oracle VM for Oracle Databases? Revera Presentation

MYTHS or TRUE

• It is not safe to run Production Environments on OVM

• If using OVM your database will run slower

• Oracle do not support production DB on OVM

• OVM is more expensive than other Hypervisors

• Other Hypervisors run Oracle Database faster than OVM

Page 36: Why Use Oracle VM for Oracle Databases? Revera Presentation

CONCLUSION

• Oracle Database performs better at OVM

• OVM makes a better use of available resources

• OVM is more scalable and stable for Oracle DBs

• OVM allows better consolidation of loads in a virtual environment

• OVM uses less CPU than other HypervisorsPLUS a bonus:

Allow licensing

savings, extra HA and

is fully certified and

supported by Oracle.

Page 37: Why Use Oracle VM for Oracle Databases? Revera Presentation

BE CAREFULWhat happen if you do not really know about OVM

Page 38: Why Use Oracle VM for Oracle Databases? Revera Presentation

P2V

Normal Performance after P2V

Baremetal OVM

TPS MAX 27 21

TPS AVG 14 13

TPM MAX 924 866

TPM AVG 810 719

RT MAX 277 1526

RT AVG 35 111

TTC 53:32.0 1:30:47

RIPS 45,161 51,441

DGPS (MB) 3.40 3.80

Page 39: Why Use Oracle VM for Oracle Databases? Revera Presentation

PARAVIRTUALIZED VMs

Normal Performance of Paravirtualized VMs:

Baremetal OVM

TPS MAX 27 25

TPS AVG 14 14

TPM MAX 924 921

TPM AVG 810 816

RT MAX 277 837

RT AVG 35 44

TTC 53:32.0 35:02.3

RIPS 45,161 81,953

DGPS (MB) 3.40 6.10

Page 40: Why Use Oracle VM for Oracle Databases? Revera Presentation

REVERA VMs

Normal Performance of Revera VMs:

Baremetal OVM (Revera)

TPS MAX 27 25

TPS AVG 14 18

TPM MAX 924 933

TPM AVG 810 838

RT MAX 277 164

RT AVG 35 18

TTC 53:32.0 31:52.0

RIPS 45,161 93,542

DGPS (MB) 3.40 7.00

OVM (PV) OVM (Revera)

TPS MAX 25 25

TPS AVG 14 18

TPM MAX 921 933

TPM AVG 816 838

RT MAX 837 164

RT AVG 44 18

TTC 35:02.3 31:52.0

RIPS 81,953 93,542

DGPS (MB) 6.10 7.00

Page 41: Why Use Oracle VM for Oracle Databases? Revera Presentation

WHY REVERA

Oracle Platinum Partner

Biggest OVM farm in NZ

Dozens of templates customized to achieve the best performance and stability

Scalable Environment

The only OVM specialized partner in NZ

Constantly investing in Research

Over 2.0 Pb of storage and 2,500 VMs in operation

150 staff across four locations

5 data centers (small but perfectly formed)

CommVault’s biggest NZ customer

VMware Premier VSPP in NZ

Hitachi Data Systems biggest NZ customer

Page 42: Why Use Oracle VM for Oracle Databases? Revera Presentation

SELECTION OF UTILITY COMPUTE OPTIONS

Targeted at different use cases

All Utility Pricing scale up-scale down

Different Service Offerings focused at different use cases

Customers consume based on SLAs and capabilities, not

brand of hypervisor

Page 43: Why Use Oracle VM for Oracle Databases? Revera Presentation

THE PERFECT DUO

Page 44: Why Use Oracle VM for Oracle Databases? Revera Presentation

Thank YouAny Questions?