Oracle VM provides cost-effective virtualization by reducing licensing expenses and offering a versatile range of configurations. It features high scalability, compatibility with multiple operating systems, and seamless integration with Oracle products, making it an ideal choice for enterprises.

| Author info | Rating | Review Summary |
|---|---|---|
| Consulting Manager (EMEA) at Violin Memory | 4.0 | I tested Oracle database performance on Violin hardware, comparing bare metal, VMware, and Oracle VM. VMware delivered slightly better performance and significantly less variance than Oracle VM, making me prefer it for this specific setup. |
This is a very simple post to show the results of some recent testing that Tom and I ran using Oracle SLOB on Violin to determine the impact of using virtualization. But before we get to that, I am duty bound to write a paragraph of text featuring lots of long sentences peppered with industry buzz words. Forgive me, it’s just the way I’m wired.
It is increasingly common these days to find database environments running in virtual machines – even large, business critical ones. The driver is the trend to commoditize I.T. services and build consolidated, private-cloud style solutions in order to control operational expense and increase agility (not to mention reduce exposure to Oracle licenses). But, as I’ve said in previous posts, the catalyst has been the unblocking of I/O as legacy disk systems are replaced by flash memory. In the past, virtual environments caused a kind of I/O blender effect whereby I/O calls become increasingly randomized – and this sucked for the performance of disk drives. Flash memory arrays on the other hand can deliver random I/O all day long because… well, if you don’t know the reasons by now can I just recommend starting at the beginning. The outcome is that many large and medium-sized organisations are now building database-as-a-service platforms with Oracle databases (other database products are available) running in virtual machines. It’s happening right now.
Phew. Anyway, that last paragraph was just a wordy way of telling you that I’m often seeing Oracle running in virtual machines on top of hypervisors. But how much of a performance impact do those hypervisors have? Step this way to find out.
When it comes to running Oracle on a hypervisor using Intel x86 hardware (for that is what I have available), I only know of three real contenders:
Hyper-V has been an option for a couple of years now, but I’ll be honest – I have neither the time nor the inclination to test it today. It’s not that I don’t rate it as a product, it’s just that I’ve never used it before and don’t have enough time to learn something new right now. Maybe someday I’ll come back and add it to the mix.
In the meantime, it’s the big showdown: VMware versus Oracle VM. Not that Oracle VM is really in the same league as VMware in terms of market share… but you know, I’m trying to make this sound exciting.
This is going to be an Oracle SLOB sustained throughput test. In other words, I’m going to build an Oracle database and then shovel a massive amount of I/O through it (you can read all about SLOB here and here). SLOB will be configured to run with 25% of statements being UPDATEs (the remainder are SELECTs) and will run for 8 hours straight. What we want to see is a) which hypervisor configuration allows the greatest I/O bandwidth, and b) which hypervisor configuration exhibits the most predictable performance.
This is the configuration. First the hardware:

Violin Memory 6616 flash Memory Array
This is the configuration. First the hardware
And the software:
Each VM is configured with 20 vCPUs and is using Linux Device Mapper Multipath and Oracle ASMLib. ASM is configured to use one single +DATA disgroup comprising 8 ASM disks (LUNs from Violin) with external redundancy. The database parameters and SLOB settings are all listed on the SLOB sustained throughput test page.
First let’s see what happens when we don’t use a hypervisor at all and just run OL6.5 on bare metal:
Ok so we’re looking at 1519 MB/sec of read throughput and 320 MB/sec of write throughput. Crucially, the lines are nice and consistent – with very little deviation from the mean. By dividing the amount of time spent waiting on db file sequential read(i.e. random physical reads) with the number of waits, we can calculate that the average latency for random reads was 438 microseconds.
VMware is configured to use Raw Device Mapping (RDM) which essentially gives the benefits of raw devices… read here for more details on that. Here are the test results:
Average read throughput for this test was 1133 MB/sec and write throughput averaged at 237 MB/sec. Average read latency was 596 microseconds. That’s an increase of 36%.
In comparison to the bare metal test, we see that total bandwidth dropped by around 25%. That might seem like a lot but remember, we are absolutely hammering this system. A real database is unlikely to ever create this level of sustained I/O. In my role at Violin I’ve been privileged to work on some of the busiest databases in Europe – nothing is ever this crazy (although a few do come close).
Oracle VM is based on the Xen hypervisor and therefore uses Xen virtual disks to present block devices. For this test I downloaded the Oracle Linux 6 Update 5 template from Oracle’s eDelivery site. You can see more about the way this VM was configured here. Here are the test results:
This time we see average read bandwidth of 1052MB/sec and average write bandwidth of 222MB/sec, with the average read latency at 607 microseconds, which is 39% higher than the baseline test.
Meanwhile, total bandwidth dropped by 31%. That’s slightly worse than VMware, but what’s really interesting is the deviation. Look at how ragged the lines are on the OVM test! There is a much higher degree of variance exhibited here than on the VMware test.
This is only one test so I’m not claiming it’s conclusive. VMware does appear to deliver slightly better performance than OVM in my tests, but it’s not a huge difference. However, I am very much concerned by the variance of the OVM test in comparison to VMware. Look, for example, at the wait event histograms for db file sequential read:
Wait Event Histogram
-> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
-> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
-> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
-> Ordered by Event (idle events last)
% of Waits
Oracle VM
db file sequential read
3834
95.6
4.1
0.1
0.1
0.0
0.0
0.0
0.0
The OVM tests show occasional results in the two highest buckets, meaning once or twice there were waits in excess of 1 second! However, to be fair, OVM also had more millisecond waits than VMware.
Anyway, for now – and for this setup at least – I’m sticking with VMware. You should of course test your own workloads before choosing which hypervisor works for you…
Thanks as always to Kevin for bringing Oracle SLOB to the community.
| Product | Mindshare (%) |
|---|---|
| Oracle VM | 7.2% |
| VMware vSphere | 18.2% |
| Hyper-V | 17.4% |
| Other | 57.2% |
| Company Size | Count |
|---|---|
| Small Company | 32 |
| Midsize Company | 14 |
| Large Company | 33 |
| Company Size | Count |
|---|---|
| Small Company | 277 |
| Midsize Company | 147 |
| Large Company | 332 |
Oracle VM is primarily used in enterprise environments for server virtualization and managing Oracle databases. It enables cost-effective deployment, especially on Linux platforms, assisting with licensing compliance through hard partitioning. Known for high availability and centralized management, it supports live migration and is commonly integrated into ERP, database, and cloud infrastructures. While valued for stability and easy management, it could improve in areas like automatic migration, role-based access control, and more robust backup functionalities.
What are the key features of Oracle VM?Oracle VM is a strategic choice for industries relying on Oracle databases and enterprise solutions, offering robust support for applications and internal development processes. Industries benefit from its high availability, licensing compliance features, and integration with existing Oracle environments.
Ambulance Victoria, Australian Finance Group (AFG), Avnet Technology Solutions, CERN, cloudKleyer, Danish Tax Authority (SKAT), Data Intensity, Dubai World, Engineers Australia, Enkitec, Groupe FLO, Guerra S.A. Implemento, s Rodovišrios, Interactive One, IT Convergence, Jesta Digital, Johns Hopkins University Applied Physics Laboratory, KT, Kyoto Prefecture, Lawrence Livermore National Laboratory / National Ignition Facility, Multinet Pakistan, National Australia Bank (NAB), Navis LLC, Overhead Door, Overstock.com, Paragon Data, Parks Victoria, Pella, Sunway Shared Services, St. Louis Metro, Terminales Ro de la Plata S.A., University of Massachusetts, Versace,