Despite reams of legalese and countless blog/forum posts, basic Oracle RDBMS licensing still remains a mystery to many. While I won’t even begin to discuss components like Oracle Apps, hopefully this post may help you attain a basic understanding of Oracle, what you can license, and what it costs.
Editions
The first and most important thing to learn are the editions of Oracle RDBMS. These editions are:
- Oracle Express Edition (XE) – A free use version of Oracle which can use a single CPU (though it can be installed on a server with as many CPUs as you want), 1GB RAM, and 11GB data.
- Oracle Personal Edition (PE) – Single User, Single Machine development/deployment license which can use any SE1, SE, or EE feature with the exception of RAC and Management Packs.
- Oracle Enterprise Edition (EE) – Full featured edition of Oracle RDBMS which allows all core features along with the option to purchase add-on features (like Partitioning) and Management Packs (like the Diagnostics Pack).
- Oracle Standard Edition (SE) – A damped down of edition of Oracle which can run on a server with a maximum of four CPU sockets. It cannot take advantage of add-ons or Management Packs. It does, however, include Oracle RAC as long as all nodes combined have no more than 4 sockets.
- Oracle Standard Edition One (SE1) – A further reduced edition which shares the same features with SE but is limited to 2 CPU Sockets with no RAC option.
License Type
On top of knowing the editions, you also need to know about the type of license. The most common is a Processor based license, where your license count is based on the number of CPU Sockets/Cores and the CPU Type for EE or the number of CPU Sockets for SE and SE1.
The other type is a Named User License, where you buy a number of seats on the database instead of licensing it for unlimited users. Please remember if you are pursuing this type of license: non-human processes are also named users. So any application server, script, or even a scheduled job is a ‘named user’.
Enterprise Edition Core Factor
For Enterprise Edition and all of its add-ons and management packs, there is a concept called “core factor” which is applied for licensing purposes. This factor is based on the type of CPU you are using in your server. For instance, if you are using a SUN M5000 with SPARC VII processors, the core factor is 0.75. That means 4 Quad-Core CPUs (16 cores) would equal 16 * 0.75 = 12 licenses. You would purchase 12 EE licenses to cover the server, and then purchase 12 licenses of whatever add-ons or management packs you might be using.
If, on the other hand, you used SPARC VII+ processors, the core factor is 0.5. The same CPU setup would only require 8 licenses in that case.
For the most part, x86/x86_64 architecture CPUs are a 0.5 core factor. A small number of processors are 0.25, but there is a reason: they are not very suitable for running Oracle, generally System On A Chip (SOC) solutions with a very high amount of hyperthreading.
It will be interesting to know how much would few of EE options like RAC, Partitioning etc… would cost. Isn’t it? Let us see that.
Option |
Per user license |
Support license |
Processor license |
Support license |
Diagnostic pack |
150 $ |
33 $ |
7500 $ |
1650 $ |
Tuning pack |
100 $ |
22 $ |
5000 $ |
1100 $ |
12c Multitenancy |
350 $ |
77 $ |
17500 $ |
3850 $ |
Partitioning |
230 $ |
50 $ |
11500 $ |
2530 $ |
Compression |
230 $ |
50 $ |
11500 $ |
2530 $ |
RAC |
460 $ |
101 $ |
23,000 $ |
5060 $ |
Active dataguard |
230 $ |
50 $ |
11500 $ |
2530 $ |
These prices are additional on top of enterprise license that is purchased.
You can find the full core factor table here.
Special Cases
Two types of databases are exempt from licensing restrictions: RMAN Catalogs and Grid/Cloud Control Repositories. If one of these repositories is the only database on a server, that server does not have to be licensed. But if the server or those databases are used for any custom or other Oracle purpose, they must be licensed. Generally speaking it can be beneficial to put these databases on the same server. See this page under “Infrastructure Repository Databases” for details.
Add-Ons and Management Packs
Let’s get one thing out of the way: Standard Edition and Standard Edition One CAN NOT use any add-on or Management Pack features (except RAC for SE). That means you can’t even buy Diagnostics Pack for Oracle SE. The option does not exist. Based on licensing requirements, AWR/ASH/ADDM are completely off limits on an SE or SE1 database.
However, Enterprise Edition has options for add-ons like RAC, Partitioning, and Active DataGuard. These add-ons are extra cost and apply to any database on which they are used. For instance, if you want to use Enterprise Edition with Partitioning and RAC across four nodes, each of the four nodes must be fully licensed for EE, Partitioning, and RAC. If Oracle is running on it, you must license it.
Misconceptions
Your standby databases need to be licensed. I’ve heard a lot of mixed opinions on DataGuard and whether your standby database must be licensed. The definitive answer is YES. A DataGuard standby is running Oracle (in MOUNT mode), which means it must be fully licensed for all features.
This goes for Development, QA, and Testing servers as well. This one has a lot of misinformation surrounding it. While you can install Oracle on your PC and use it for your own development/deployment purposes with Oracle Personal Edition, you cannot have a dedicated production-cycle development or QA server without a license. If it is part of the development cycle, then it must be paid. The only way you can get around that is if it is single-machine, single-user, for personal development.
One other big misconception is Oracle on a virtual server, like an ESX environment. Oracle does not recognize soft partitioning of CPUs. If you host Oracle on a VM in ESX, you must license the entire ESX server. (Note, this article mentions that it is possible to work with Oracle on this).
Cost Cases
So let’s take a look at some costs. The license costs are:
- Enterprise Edition – $47,500 per unit (sockets * cores per socket * core factor)
- Standard Edition – $17,500 per unit (sockets)
- Standard Edition One – $5,800 per unit (sockets)
You can find the full cost list on Oracle’s site, which includes all licenses types, add-ons, and management package.
2 Node RAC + DataGuard + AWR/ASH
In this example we are going to set up a 2 node RAC cluster with DataGuard to a standby 2 node RAC cluster. We also want AWR/ASH for diagnostics. Each server (4 total) will have 2 Intel Xeon X7560 processors (8 core).
Our costs for Enterprise Edition would be (in list prices):
- 4 servers * 2 sockets per server * 8 cores per socket * 0.5 core factor = 32 units
- 32 Units Enterprise Edition ($47,500ea) = $1,520,000
- 32 Units RAC ($23,000ea) = $736,000
- 32 Units Diagnostics Pack ($5,000ea) = $160,000
Our grand total for this setup in EE would be $2,416,000. Hopefully you have a good discount!
Now, if we wanted to do the same thing in Standard Edition, we would have to make some exceptions. DataGuard does not work on SE, so we would have to use a third party software like DBVisit or homegrown scripts. Also, AWR/ASH don’t work in SE and can’t be added, so you might have to fall back to Statspack and adapt with excellent tools like Tanel Poder’s Snapper. In return for these trade-offs, let’s look at pricing:
- 4 servers * 2 sockets per server = 8 units
- 8 units Standard Edition ($17,500ea) = $140,000
The total price for two 2-node RAC clusters which 2 sockets per server (you can’t have more than 4 sockets in a single SE RAC cluster) is $140,000. Quite a big savings, and definitely enough leftover to buy some extra utilities.
Production, QA, and Development with Partitioning and AWR
In this example we’ll have three databases which must be licensed as they are part of the development production cycle. Each server is a SUN M5000 with 4 Quad-Core SPARC VII processors.
Enterprise Edition:
- 3 servers * 4 sockets per server * 4 cores per socket * 0.75 core factor = 36 units
- 36 units Enterprise Edition ($47,500ea) = $1,710,000
- 36 units Partitioning ($11,500ea) = $414,000
- 36 units Diagnostics Pack ($5,000ea) = $180,000
The grand total is $2,304,000.
If we were able to forego Partitioning and Diagnostics Pack, the requirement in Standard Edition would be:
- 3 servers * 4 sockets per server = 12 units
- 12 units Standard Edition ($17,500ea) = $210,000
Conclusion
Remember, a lot of this is up to you and your sales rep or third party reseller. Make sure you work out all the details and understand exactly what you can and can’t deploy. It is highly recommended that you keep an eye out for license use; the last thing you want is a licensing audit that you are not prepared for, with database installations ranging all over the environment. This paragraph also servers as a DISCLAIMER: This post is based on my personal knowledge and references available online and is not a substitute for actual information from Oracle Corporation. Please check with your sales rep on all licensing questions.
As you can see in these prices, it is VERY important that you buy what you need and nothing more. Instead of going the whole hog and getting Active DataGuard, Diagnostics and Tuning Packs, Partitioning, etc. on every single server, really take a look and see what your requirements are. You can save a huge amount of money that way.
Also note that there are special types of licensing structures out there such as site licenses. These are special deals worked out with Oracle in order to license your entire enterprise for a certain period, and can often save you a lot of money on licensing depending on your plans. If you decide to pursue this kind of agreement with Oracle, it is important to really work with your team to decide what you need and what you don’t, as well as anticipated business requirements for the near and long-term future.
Reference:
- http://www.oraclealchemist.com/news/a-few-words-on-oracle-licenses/
- http://www.orskl.com/what-is-the-cost-of-oracle-database-license-lets-find-out/
Awesome explained…. Thanks for sharing such a good knowledge on oracle licensing and Add-Ons
Thanks Sagar:)
Thanks for sharing great info.I recommend companies to use some LMS softwares like Lime/IQuate to keep check of Oracle licenses which can go out of hand pretty quick if the DBAs are not aware of the companies’ license terms.
http://www.lime-software.com/