Oracle database licensing

Oracle Multitenant Licensing Compliance: Audit and Best Practices for Enterprises

Oracle Multitenant Licensing Compliance

Oracle Multitenant Licensing Compliance

Oracle licensing compliance is critical to avoiding unplanned costs and legal risks.

This article is aimed at CIOs, IT Asset Managers, and compliance officers. It focuses on remaining fully compliant with Oracle Multitenant licensing rules.

It covers common pitfalls (like accidentally exceeding the free PDB limits), how to prepare for Oracle audits, and best practices to govern your Oracle database environments so you can prevent costly compliance issues before they arise.

The Importance of Multitenant License Compliance

Non-compliance with Oracleโ€™s Multitenant licensing can lead to steep penalties and forced purchases. Oracle auditors often zero in on Multitenant usage, as itโ€™s easy to unknowingly violate the 3-PDB rule.

Compliance means sticking to that free PDB limit, matching your license metrics (ensuring NUP vs Processor licensing is applied correctly), and ensuring every Multitenant environment is properly licensed (development, testing, and disaster recovery instances included).

Read Oracle Multitenant Licensing Cost Optimization: Strategies for CIOs to Reduce Costs.

Common Non-Compliance Pitfalls

Understanding how organizations inadvertently fall out of compliance helps in preventing these mistakes.

Some common Multitenant licensing pitfalls include:

  • Exceeding PDB Limits: A DBA creates a 4th PDB in a CDB without realizing it triggers a license requirement. Since Oracle does not enforce the โ€œ3 PDBs freeโ€ limit in the software, this can happen easily during routine operations.
  • Cloned or Snapshot Environments: Developers might clone a production CDB for testing or QA, inadvertently doubling the number of PDBs and requiring additional licenses. Even non-production systems must be licensed if they exceed the free PDB count or use Multitenant (thereโ€™s generally no free pass for test environments in Oracleโ€™s eyes).
  • Mixing License Metrics: Oracle requires consistency in licensing metrics. For example, suppose processors license your Oracle Database EE on a server. In that case, you cannot license the Multitenant option on that same server by Named User Plus โ€“ it has to match (processor with processor, or NUP with NUP). Trying to mix metrics to save money is against Oracle policy and would be flagged in an audit.
  • Disaster Recovery Oversights: If you have standby databases (Data Guard, etc.) or any kind of DR copy of a CDB that uses Multitenant, that standby environment generally must also be licensed for the Multitenant option if itโ€™s ever opened or used beyond a very limited time. Relying on Oracleโ€™s โ€œ10-day ruleโ€ (which allows a passive failover database to run up to 10 days per year without a separate license) can be risky if the standby is opened for read/write or used more than allowed. Many companies forget to license DR servers for options, a common compliance gap.

By being aware of these scenarios, you can institute controls and policies to avoid falling into them.

Read Oracle Multitenant Licensing on AWS, Azure, and Oracle Cloud.

Preparing for Oracle Audits

Oracle audits (often conducted by Oracle License Management Services, LMS) are formal processes where Oracle requests data to verify compliance.

To prepare:

  • Maintain Accurate Records: Keep an up-to-date inventory of all Oracle database installations, noting which ones use Multitenant and how many PDBs are deployed in each.
  • Use Oracleโ€™s audit scripts internally: Oracleโ€™s audit tools (e.g., the LMS collection scripts) will reveal usage of features like Multitenant. Itโ€™s wise to run these internally on your servers periodically. For instance, query DBA_FEATURE_USAGE_STATISTICS or V$OPTION In each database, check if Multitenant is being used.
  • Schedule Internal Audits: Perform your Oracle license compliance audits at least annually. Review PDB counts per CDB, verify that you have licenses on file for any CDB with >3 PDBs, and ensure your documentation is current.
  • Know Your Contract: Understand your Oracle licensing agreements and any special clauses youโ€™ve negotiated. For example, if youโ€™re in an Unlimited License Agreement (ULA) or have a cloud agreement, know what rights you have โ€“ and when they expire โ€“ so you donโ€™t mistakenly fall out of compliance when terms change.

Being well-prepared means that if Oracle does audit you, you can respond confidently with data and avoid panic. It also means youโ€™ll likely catch and fix issues before Oracle notices them.

Best Practices for License Governance

To ensure ongoing compliance, organizations should institute strong governance around Oracle Multitenant usage:

  • Restrict PDB Creation: Limit who can create new PDBs to prevent unintentional license breaches. Ideally, only a few senior DBAs who understand the rules should have permissions to add PDBs in production environments.
  • Automate Compliance Checks: Use scripts or tools to flag any CDB that exceeds license limits. For example, set up a monitoring script that sends an alert if a CDBโ€™s PDB count exceeds 3.
  • Educate Your DBAs: Ensure DBAs and architects understand the licensing implications of creating PDBs. Regular training and reminders can prevent mistakes born of ignorance.
  • Track License Entitlements: Maintain a central record of Oracle licenses owned and which systems they cover. If you assign a Multitenant license to a server, log it. This inventory should be kept in sync with changes in your environment.
  • Use Third-Party Reviews: Have independent licensing experts audit your deployments periodically to catch issues. An external review (e.g., by a licensing consultancy) might spot compliance gaps your team overlooked.
  • Simulate Audits: Perform mock audits internally to ensure you can account for all usage before Oracle does. Gather evidence (server lists, PDB counts, etc.) and see if you would pass โ€“ this exercise often highlights areas to tighten up.

In practice, good governance means making license compliance a part of operational procedures, not a one-time project. It should be baked into change management (e.g., any change affecting licensing requires a review).

Recommendations

  • Audit Your PDB Usage Regularly: Run Oracleโ€™s feature usage reports or LMS scripts to ensure no CDB exceeds 3 PDBs unless you have the Multitenant license. Schedule these checks quarterly or more often.
  • Lock Down Feature Usage: Disable or password-protect the creation of additional PDBs on systems that arenโ€™t licensed for Multitenant. Preventing the action is better than reacting after the fact.
  • Maintain License Inventory: Keep a detailed inventory of your Oracle Database and Multitenant option licenses, and map them to deployments. Update it whenever you spin up or decommission an Oracle instance.
  • Train Your Team: Educate all stakeholdersโ€”DBAs, architects, project managersโ€”about the Multitenant licensing rules. Make it part of the onboarding process for new DBAs. A well-informed team is less likely to create compliance issues.
  • Engage in Self-Audits: Donโ€™t wait for Oracle. Conduct your own internal audits and resolve any discrepancies proactively, whether by reducing usage or buying additional licenses to cover gaps.
  • Use Contract Benefits: If you have an Oracle ULA or other enterprise agreement, understand exactly what it covers. For instance, you may use Multitenant freely during a ULA, but plan for post-ULA licensing needs well before the ULA expires.
  • Third-Party Expertise: Consult Oracle licensing experts when in doubt. They can provide an outside perspective and help interpret ambiguous situations (like complicated cluster or DR setups) under Oracleโ€™s rules.
  • Prepare an Audit Response Plan: Have a clear plan for who will gather data and who will interface with Oracle if an official audit notice comes. Being organized in your response can make the process smoother.
  • Remediate Quickly: If you find a Multitenant compliance gap, address it immediatelyโ€”drop excess PDBs or procure the required licenses. Prompt action can prevent larger issues in an audit.
  • Document Everything: Keep records of your compliance efforts, such as internal audit results, communications about licensing, etc. If Oracle questions your compliance, showing your diligent management can favorably influence the outcome.

FAQ

Q1: How can I check if the Multitenant option is being used on a database?
A1: Query Oracleโ€™s views like V$OPTION or DBA_FEATURE_USAGE_STATISTICS. If they show โ€œMultitenantโ€ as TRUE or list multiple PDBs in use, then the Multitenant option is active on that database. Also, check how many PDBs exist in the CDB โ€“ if itโ€™s more than the allowed number (1 for pre-19c, 3 for 19c+), youโ€™re using Multitenant features.

Q2: Does Oracle Database automatically restrict you to 3 PDBs if you donโ€™t have a license?
A2: No, the software does not enforce that limit. You could create a fourth PDB that would function normally but be out of compliance. Itโ€™s up to the customer to adhere to the licensing rules.

Q3: Do we need to license Multitenant for development or test environments?
A3: Yes, if those environments use more than the free PDBs (or Multitenant in versions where even 1 PDB required a license). Oracle generally requires any installed and running database options to be licensed, whether production or non-production. The only exception is if youโ€™re using Oracleโ€™s free developer license for personal, internal development โ€“ but thatโ€™s a very limited use case and not for multi-user test servers.

Q4: What are the consequences if Oracle finds weโ€™re using Multitenant without a license?
A4: Oracle will typically require you to purchase the necessary licenses retroactively and pay backdated support (from the time the usage began) on those licenses. This could amount to a significant, unbudgeted expense. In extreme cases, Oracle could terminate your license agreement. Still, typically they prefer to resolve by making you buy whatโ€™s needed (and sometimes with a penalty or at least a price due to the compliance issue).

Q5: Can Oracle audit our cloud environments (like AWS or Azure) for license compliance?
A5: Yes. If you use Oracle software under BYOL (bring your own license) in any public cloud, you are subject to the same audit rights as on-prem. Oracle can request information or that you run scripts on your cloud VMs or services. The cloud providers (AWS/Azure) generally wonโ€™t police Oracle usage for you โ€“ itโ€™s your responsibility.

Q6: How do I handle licensing for a standby database using Multitenant?
A6: Yes. A standby or DR database that is continuously running (even read-only) must be licensed for Multitenant. Oracleโ€™s 10-day rule (brief use of an unlicensed standby for failover testing) is limited. It should be carefully adhered to if your DR database is more than just a switched-off emergency copy; budget to license it.

Q7: Is it okay to temporarily exceed 3 PDBs and immediately reduce it?
A7: Even brief use beyond the limit technically requires a license. It might go unnoticed if it happens accidentally and is corrected immediately, but itโ€™s best not to risk it. Ideally, you should never exceed the limit without a license, even briefly, to stay safe.

Q8: Can I enforce the 3 PDB limit via some setting to avoid accidents?
A8: Oracle doesnโ€™t provide a direct setting to cap PDB count for licensing purposes. However, you could implement your own controls โ€“ for example, a startup trigger or script that prevents opening a fourth PDB, or simply rely on policy and monitoring to stop it. Oracle expects customers to manage this via administrative procedures.

Q9: What if we have licenses for some servers but not others? Can we move a Multitenant license around as needed?
A9: You can reassign a license from one server to another, but you canโ€™t split one license across two servers, and you shouldnโ€™t run concurrently on two servers with one license. Typically, Oracle licenses can be moved if the software is uninstalled from the original server (and after any contractually required delay). Check your agreement (usually a 30-day rule for reassignment) and ensure you donโ€™t exceed your total count at any time.

Q10: Should we inform Oracle if we discover a compliance issue ourselves?
A10: Many companies quietly fix compliance issues (reduce usage or buy licenses) rather than informing Oracle. Once Oracle is officially involved (e.g., through an audit or if you self-report), youโ€™ll likely be required to purchase licenses to cover past usage. Itโ€™s often wise to consult with licensing experts or legal counsel before self-reporting anything. If you can resolve it internally (and stay compliant going forward), thatโ€™s usually preferred to inviting a formal audit.

Read more about our Oracle License Management Services.

Do you want to know more about our Oracle License Management Services?

Please enable JavaScript in your browser to complete this form.
Name
Author
  • Fredrik Filipsson has 20 years of experience in Oracle license management, including nine years working at Oracle and 11 years as a consultant, assisting major global clients with complex Oracle licensing issues. Before his work in Oracle licensing, he gained valuable expertise in IBM, SAP, and Salesforce licensing through his time at IBM. In addition, Fredrik has played a leading role in AI initiatives and is a successful entrepreneur, co-founding Redress Compliance and several other companies.

    View all posts
Redress Compliance