Oracle Database vs CockroachDB

Oracle Database fits teams whose applications depend on Oracle features, and CockroachDB fits teams that need distributed SQL under its license terms. Compare licensing, data control, exit and the self-hosted PostgreSQL route before you renew.

On this page

Oracle Database vs CockroachDB: which fits your workload

Oracle Database fits estates that already depend on Oracle features, PL/SQL and Oracle-managed operations, and CockroachDB fits teams that need a distributed SQL database and can accept its license terms. If a renewal, license change or residency review has pushed you to compare them, the decision turns on four questions: application compatibility, edition features, license eligibility, and whether the workload truly needs multi-node distributed SQL. Start with an inventory of every schema object, stored procedure, scheduled job and database driver the application uses, and mark each one that depends on Oracle-specific behavior. Oracle's licensing manual, now published under the name Oracle AI Database for release 26, is the reference for edition features, but confirm each feature against the edition you would actually buy or run.

Edition features and license eligibility are where most surprises appear. Oracle's manual lists Free, Standard Edition 2, Enterprise Edition and Enterprise Edition on Engineered Systems, and it states that features such as Global Data Services and Automatic SQL Plan Management are not available in Standard Edition 2. On the CockroachDB side, versions from 24.3.0 onward fall under the CockroachDB Software License. The Enterprise Free license is free only for businesses with less than $10M in annual revenue, counting the parent company and all affiliates, and it must be renewed every year. Free and Trial clusters are throttled after 7 days without telemetry, while paid Enterprise licenses are never throttled. Ask legal and finance to confirm revenue eligibility and renewal obligations, as the licensing FAQ sets them out, before any production decision.

Confirm that you need multi-node distributed SQL before comparing the two. Many workloads that look distributed run well on one primary with a standby, and a single-node deployment of either product may meet the availability target with less operating effort. Neither product is the right answer when your application relies on Oracle packages that cannot be ported, when your team needs to maintain a source code base it can audit, or when a residency review rules out the hosting options you would need. On that last point, confirm deployment options with each vendor in writing. Cockroach Labs has stated in a September 15, 2026 blog post that new versions of its source code will no longer be published to the public repository, which should factor into any long-term plan. If none of these criteria clearly favors one product, a scoped compatibility assessment is the sensible next step.

Oracle Database vs CockroachDB capabilities, side by side

This table compares how Oracle Database and CockroachDB are licensed, packaged, hosted and made available as source code. Read each cell as a starting point for your own review, because edition limits, trial terms and cloud prices change, so confirm them against each vendor's current documentation and your contract. The main takeaway is that the two products differ most in licensing model and source availability, which affects how easily you could later run the software yourself.

CapabilityOracle DatabaseCockroachDB
License basisCommercial license under Oracle's licensing metrics, set out in the Software Investment Guide.CockroachDB Software License for version 24.3.0 onward, plus patch fixes for 23.1 to 24.2.
Editions or license tiersFree, Standard Edition 2, Enterprise Edition, EE on Engineered Systems, and cloud database services.Enterprise Free, Enterprise Trial and paid Enterprise, plus CockroachDB Cloud Standard and Mission Critical.
Where it runsOn-premises and Oracle Cloud Infrastructure, including Base Database Service and Exadata Database Service.Self-hosted in your own infrastructure, or CockroachDB Cloud operated by Cockroach Labs.
Feature limitsStandard Edition 2 lacks Global Data Services and Automatic SQL Plan Management; check other edition gaps.Free and Trial clusters throttle after 7 days without telemetry, limiting open SQL transactions to 5.
Free and trial termsReview the Free edition's terms in the licensing manual before any planned use.Enterprise Trial lasts 30 days. Free throttles 30 days after expiration, Trial 7 days; paid Enterprise is never throttled.
Pricing structureSet by edition and licensing metric. Ask Oracle for a written quote based on your deployment.Cloud per vCPU-hour: Standard $0.092, Mission Critical $0.162 (CockroachDB pricing page). Paid self-hosted Enterprise needs a quote.
Source availabilityProprietary commercial software; confirm access and redistribution terms in your Oracle agreement.CockroachDB Software License. Announced September 15, 2026: new versions will not be published to the public repository.
SQL compatibility, replication and recoveryConfirm in Oracle's documentation for your release and the edition you plan to buy.Confirm in CockroachDB's documentation for your version before relying on any compatibility claim.

How Oracle Database and CockroachDB charge, and what drives the bill

Oracle Database is licensed by edition and metric, while CockroachDB combines a free license tier, a paid Enterprise license and per-vCPU-hour cloud pricing. The cards below set out the published structure and the points where a bill or a running cluster can change unexpectedly.

Oracle editions and licensing

Oracle's licensing manual lists Free, Standard Edition 2 (SE2), Enterprise Edition (EE), EE on Engineered Systems (EE-ES), Base Database Service and Exadata Database Service. SE2 and EE are offered on-premises and on Oracle Cloud Infrastructure, and some features, such as Global Data Services and Automatic SQL Plan Management, are not available in SE2. No price or licensing metric is given here. Check the metric for each edition in Oracle's Software Investment Guide, then ask for a written quote that names every edition and option you expect to need.

Oracle licensing manual

CockroachDB Enterprise Free

The Enterprise Free license is free for businesses with less than $10M in annual revenue, counting the parent company and all affiliates. You must renew it every year, so the eligibility check repeats annually. Every CockroachDB version from 24.3.0 onward falls under the CockroachDB Software License, so read the licensing FAQ before you standardize on the free tier. Have finance confirm affiliate revenue for the whole group, and record the renewal date in your license calendar.

CockroachDB licensing FAQ

CockroachDB Cloud per-vCPU pricing

CockroachDB Cloud Standard is listed at $0.092 per vCPU-hour, and Mission Critical is listed at $0.162 per vCPU-hour. The pricing page's example, about $203 a month for 2 vCPUs and 100 GB, is illustrative only. Model your own vCPU count, storage and hours against the published rates, and confirm with Cockroach Labs which charges apart from vCPU-hours apply before you compare the total with Oracle Base Database Service or Exadata Database Service costs.

CockroachDB pricing page

Cloud trial credit

New Cloud organizations receive a 30-day trial with $400 in credit. Use the trial to run Standard or Mission Critical against your own schema and query patterns, and record the vCPU-hours your workload consumes. Trial credit does not show steady-state cost, so project the monthly bill from measured usage rather than from the trial period alone. Confirm with Cockroach Labs what happens to clusters and data when the trial ends or the credit runs out, and what you must provide to continue.

Throttling as a risk

Throttling sets no price, but it can stop a workload. Free and Trial clusters are throttled after 7 days without sending telemetry, and throttling limits open SQL transactions to 5. Free licenses throttle 30 days after expiration and Trial licenses 7 days after expiration, while paid Enterprise licenses are never throttled. Map each cluster to its license type, confirm that telemetry flows from every Trial cluster, and test your application against a limit of 5 open transactions before any production use.

Which product fits which scenario

This table matches common scenarios to the option that fits better, and names the condition that changes the answer. Read each row as a starting point, then confirm the edition features, revenue eligibility and license terms in the last column against current vendor documentation before you decide. The main takeaway is that licensing thresholds and throttling rules often decide the choice as much as feature fit does.

ScenarioBetter fitWhyWhat to confirm
Oracle-dependent application with Oracle-specific features in useOracle DatabaseMoving off Oracle-only features means rewriting or retesting application logic.Which features the application uses, and whether Standard Edition 2 includes them, since some are excluded, such as Global Data Services.
Need to run on Oracle Cloud InfrastructureOracle DatabaseOracle offers Standard Edition 2 and Enterprise Edition on both on-premises and Oracle Cloud Infrastructure.Which service offering you need: Base Database Service Standard Edition, an Enterprise Edition tier or Exadata Database Service.
Organization under 10M USD annual revenue, counting parent and affiliatesCockroachDB Enterprise Free licenseThe Enterprise Free license is free of charge for businesses below that annual revenue threshold.Total revenue of the parent company and all affiliates, and that the license is renewed every year.
Production team that cannot accept throttling after trial or free periodsCockroachDB paid Enterprise license, or Oracle Database on a paid licensePaid CockroachDB Enterprise licenses are never throttled, while Free and Trial clusters are.A paid license is in place before go-live. Free clusters throttle 30 days after expiration, Trial clusters 7 days after.
Residency rule that requires self-hostingEither, deployed on your own infrastructureBoth products can run self-hosted, so the decision moves to edition and license terms.Whether the chosen edition is permitted in that location, and whether Trial licenses, which require telemetry, are allowed under the rule.
Team that wants the lowest license exposureNeither. Consider an open-source option such as PostgreSQLCockroachDB's new source code will no longer be published to its public repository, and the existing repository will stop being maintained.Your counsel's reading of the CockroachDB Software License and Oracle's terms, including the licensing metrics in Oracle's Software Investment Guide.

Where your data sits and what leaving each product involves

Oracle Database and CockroachDB differ in where you can run them and in the conditions attached to each license. The cards below list the points to confirm with each vendor before you commit to a deployment, a renewal or an exit plan.

Oracle deployment choices

Oracle Database can run on-premises, on Oracle Cloud Infrastructure, in Base Database Service (Standard Edition virtual machines or Enterprise Edition tiers) or in Exadata Database Service. Each option can place data, backups and operator access in a different location, so residency differs by choice. Confirm data residency for each option in Oracle's documentation, then map the answer to your regulator's rules before you size the deployment.

Base Database Service page

CockroachDB Trial telemetry

CockroachDB Trial licenses require telemetry, so a pilot or test cluster on a Trial license sends usage data to Cockroach Labs as a condition of the license. That matters for teams with residency rules or egress controls. Before the pilot starts, confirm what the telemetry contains, including whether query text, table names or row values are included, and whether the data can be routed through your own network controls.

CockroachDB licensing FAQ

Throttling and transaction caps

Free and Trial clusters are throttled when they stop sending telemetry, and the throttle caps open SQL transactions. An application that opens many transactions at once, such as a batch job running beside an API, may reach that cap under load. Load-test your peak concurrency against the cap, and confirm with Cockroach Labs how throttling is applied before any workload depends on it.

Days without telemetry
7 days
Open SQL transactions
5

Free license renewal

The Enterprise Free license is free only for businesses below an annual revenue threshold, counting the parent company and all affiliates, and it must be renewed every year. A self-service Enterprise Trial runs for 30 days, so pilots need a plan for conversion. Confirm with Cockroach Labs how your group's affiliates are counted, and put the yearly renewal on the operations calendar before a free deployment becomes production.

Annual revenue threshold
$10M

Source repository changes

In a September 15, 2026 blog post, Cockroach Labs said new versions of CockroachDB source code will no longer be published to its public repository, and the existing repository will no longer be maintained. For patching, new fixes would reach you only through the vendor. For a fork, any copy would start from the last published code, and its own maintainers would carry every later security fix.

Source code blog post

Confirm export and replication paths

No dump, replication or export path is confirmed in this comparison for Oracle Database or CockroachDB, so the exit path stays open until each vendor confirms it. Ask both vendors for the supported dump and replication options, including how they handle schemas, sequences, large objects and change data. Test one option on a copy of your largest table and record how long the restore takes.

How to choose: the decision path from workload to license position

The path starts with an inventory of each workload and its current license position. The first branch asks whether the workload relies on Oracle-only features, such as Global Data Services or Automatic SQL Plan Management, which Standard Edition 2 does not include. If so, confirm the edition and license metric with Oracle. If not, ask whether the workload needs multi-node distributed SQL. If it does not, evaluate self-hosted PostgreSQL first. If it does, check whether annual revenue, including affiliates, is under 10M USD. Under that threshold, CockroachDB Enterprise Free applies, but it must be renewed yearly and clusters are throttled when telemetry stops. Otherwise, get a written quote for a paid Enterprise license or Cockroach Cloud. Every path ends with testing YugabyteDB and PostgreSQL against the workload.

Decision path from workload inventory to a license position or test.

When self-hosted PostgreSQL fits better, and what running it involves

PostgreSQL in your own infrastructure fits better when the workload depends on neither Oracle-only features nor CockroachDB's distributed behavior, and the team wants license metrics and throttling out of the decision. Start with an inventory of what the workload uses. Oracle's licensing manual notes that features such as Global Data Services and Automatic SQL Plan Management are not available in Standard Edition 2, so any dependency on those or other Enterprise Edition features changes the picture. On the CockroachDB side, Free and Trial clusters that stop sending telemetry are throttled, and throttling limits open SQL transactions to 5, so a workload that needs more concurrency has a clear reason to look elsewhere. If you need a self-hosted distributed SQL option, evaluate YugabyteDB, but confirm its license terms and whether its behavior fits your workload before you commit to it.

Running PostgreSQL yourself means owning each operational layer. High availability requires a replication design with automatic failover, verified through failover drills, and a decision on which tool promotes a new primary. Backups need scheduled base backups, continuous WAL archiving to storage you control, and restore tests on a fixed schedule. Upgrades cover minor patches and major version moves, with extension compatibility checked each time. Monitoring should track replication lag, connection counts and vacuum health. Access control relies on PostgreSQL roles with least privilege, plus TLS and network rules for every client connection. Audit logging is typically handled with the pgaudit extension, which you should confirm meets your evidence requirements. Oracle-specific code, including PL/SQL packages, triggers and sequence usage, must be mapped to PostgreSQL equivalents before cutover. The sibling guide, Migrating from Oracle Database to PostgreSQL, covers that work in detail.

Cost has a one-time part and a recurring part. The one-time migration cost covers schema and PL/SQL conversion, data movement, testing, cutover and a parallel run. It rises with the volume of PL/SQL, the number of Oracle-specific features in use and the number of applications that connect. The recurring cost is staff time for patching, failover and backup testing, on-call and access reviews, plus infrastructure for compute, storage, replicas, backup storage and monitoring. Staff time falls as runbooks and automation mature and rises with the number of environments and audit demands. Infrastructure follows the high availability topology and backup retention you choose. When requesting a quote, ask for the availability topology, backup retention and restore testing frequency, audit logging scope, a PL/SQL inventory and who covers on-call. DeployOpen plans, implements and hardens this setup under a fixed scope agreed in writing before work starts.

What a move from Oracle Database or CockroachDB involves, step by step

A move off Oracle Database or CockroachDB runs in six stages, from inventory and license review through a pilot and cutover to a verified restore. Each stage ends with a written output that engineering, security, finance and compliance owners can review before the next stage starts.

  1. Inventory workloads, schemas and database code

    The database team and application owners list every database, schema, stored procedure, package, trigger, scheduled job and integration that depends on the source. For Oracle Database, flag PL/SQL, Oracle-specific data types, sequences, database links and any feature the licensed edition lacks, such as Global Data Services on Standard Edition 2. For CockroachDB, flag SQL extensions, session settings and client retry logic that exist only because of CockroachDB. Code volume, data size, the number of integrated applications and compliance evidence are the main effort drivers, so score each item. The output is a dependency register with a named owner for every application.

  2. Confirm the target and the license position

    Finance, legal and the database owner agree on the target platform and record the current license position for every deployment. For Oracle Database, pull the contract, order records and the licensing metric in use. Oracle's licensing manual points to its Software Investment Guide for metrics and does not state the Enterprise Edition metric, so confirm it with Oracle in writing. For CockroachDB, confirm the license on each deployment, because the Enterprise Free license is limited to businesses under $10M in annual revenue, counting affiliates, and must be renewed every year. The output is a decision record and a license memo that counsel has reviewed.

  3. Prove compatibility in a pilot

    Build the target in a non-production environment and load a representative copy of the data. Run the converted schemas, stored code and application test suites against it, and compare row counts, data types, character sets, time zone handling, sequence behavior and transaction outcomes with the source. Repeat performance tests at production-like volume, because a small data set hides plan and contention problems. The output is a pilot report with pass or fail results per application, and each accepted difference signed off by its application owner.

  4. Plan cutover with replication and rollback

    Choose replication or change data capture tooling that supports both the source and the target, and confirm that support with each vendor before the pilot ends. Write a cutover runbook with a freeze window, synchronization checks, reconciliation queries, application configuration changes and go or no-go criteria. Define the rollback path in advance: state when the point of no return is reached and how writes return to the source if the new platform fails. Rehearse the runbook at least once. The output is an approved runbook with a named decision owner for the go or no-go call.

  5. Retire the source and close license obligations

    Once the agreed stabilization period ends, stop scheduled jobs and replication, revoke accounts and connections, and decommission the source in production, test, disaster recovery and any cloud environment where it ran. Ask the vendor to confirm in writing that no subscription, support or metric obligation remains, and check for forgotten copies that still run. For CockroachDB, note that Cockroach Labs has said new source versions will no longer be published to its public repository, so keep your own copy of the installed packages and documentation you rely on. The output is a decommission log and written vendor confirmation that obligations are closed.

  6. Verify backups restore on the new platform

    Restore a backup taken on the new platform into a separate environment, then run reconciliation checks and application smoke tests against the restored data. Test point-in-time recovery if your recovery requirements depend on it, and confirm that the backup tool supports the target. Keep source backups readable until their retention period ends, or convert them, because older backup formats may not restore on the new platform. Confirm that encryption keys, access logs and retention settings produce the evidence your compliance team needs. The output is a signed restore test record reviewed by the compliance lead.

Oracle Database vs CockroachDB: what buyers ask before switching

Is CockroachDB free to use, and for which businesses?

CockroachDB's Enterprise Free license is free of charge for businesses with less than $10M in annual revenue, counting the parent company and all affiliates. You must renew it every year, so the eligibility check repeats annually. Free and Trial clusters are throttled after 7 days without sending telemetry, and a Free license throttles 30 days after it expires. Paid Enterprise licenses are never throttled. If your group is above the threshold, you need a paid Enterprise license, so finance and legal should confirm the revenue figure, including affiliates, before you plan around the free tier. Also confirm which license covers your exact version, since all versions from 24.3.0 onward fall under the CockroachDB Software License. Read the full terms in Cockroach Labs' licensing FAQ.

What does moving from Oracle Database to CockroachDB cost?

The cost depends on four components, and only some of them are one-time. A qualifying business can run CockroachDB under the Enterprise Free license with no license charge, while other businesses pay for an Enterprise license or a cloud subscription. Cockroach Labs' pricing page lists CockroachDB Cloud Standard at $0.092 per vCPU-hour, or about $203 a month for 2 vCPUs and 100 GB. The components are:

  • Licensing: free for qualifying businesses, otherwise an Enterprise or cloud subscription that recurs.
  • Infrastructure: nodes or cloud resources sized to the workload, which recur.
  • Engineering: schema and code conversion, testing, cutover and training, which are mostly one-time.
  • Parallel running: Oracle licenses and support kept active until cutover, which recurs until you switch them off.

Effort rises with the number of Oracle-specific features in use, the number of dependent applications, the data volume, and how little downtime you can accept. Check every figure against your own environment and your own contract.

What should a written quote for this migration include?

A written quote should tie its price to a defined scope, so ask for the items below before you compare numbers. Request:

  • An inventory of Oracle editions, options and features in use, including any Standard Edition 2 limits that affect the target design.
  • The schema, SQL and PL/SQL conversion method, and which logic moves into the application.
  • The data migration approach, cutover window, rollback plan and acceptance criteria.
  • Test scope, including transaction retry behavior and performance tests under production-like load.
  • Deliverables for hardening, backups, monitoring, documentation and handover.
  • Stated assumptions about the CockroachDB license tier, the revenue test and the deployment model.
  • Post-go-live support, upgrade and patch responsibilities.
  • A timeline with milestones, exclusions and change-request rules.

Ask whether the offer is fixed-scope, and what happens to price and timeline if the inventory changes.

Can our own team move from Oracle to CockroachDB?

Yes, an in-house team can run the move when a few conditions hold, but the work is rarely a simple export and import. The conditions are:

  • The Oracle estate is contained, with limited PL/SQL, few Oracle-only features and a clear list of dependent applications.
  • At least one engineer has run distributed SQL in production and understands serializable transactions and client retry logic.
  • The team can test each application against the target and has rehearsed cutover and rollback at least once.
  • Someone owns backups, upgrades and on-call after go-live.

Start with one non-critical service as a pilot. If any condition is missing, that gap is where an outside partner adds the most value. Confirm the feature mapping against current CockroachDB documentation before you commit to a design.

Is Oracle's license metric listed in public documentation?

No, Oracle's Database Licensing Information User Manual does not state the Enterprise Edition licensing metric, so you need to ask for it in writing. The manual covers the product now named Oracle AI Database, and lists the editions Free, Standard Edition 2 (SE2), Enterprise Edition (EE), EE on Engineered Systems, and the Base Database Service and Exadata Database Service offerings. For licensing metrics, it refers readers to Oracle's Software Investment Guide. Put these questions to Oracle in writing: which metric applies to your processors or users, how it counts your cores, how your contract treats licenses during a parallel run, which features your estate uses that SE2 does not include, and which terms apply to any cloud subscription. Your own contract may govern your position, so have procurement and your Oracle account team answer in writing. Read the Oracle Database Licensing Information User Manual first.

What does CockroachDB's move away from public source mean for patching?

Patching shifts from pulling public source to relying on Cockroach Labs' released builds. In a September 15, 2026 blog post, Cockroach Labs stated that new versions of its source code will no longer be published to the public repository, and that the existing repository will no longer be maintained. You therefore cannot depend on the public repository to see changes to new versions, build fixes yourself, or review changes line by line. Plan for these controls:

  • A written patch and security advisory policy, covering supported versions and notification timing.
  • Your own artifact repository holding the exact binaries you deploy, with checksums.
  • Staging tests of every patch release before production.
  • A written agreement on who applies emergency fixes, and how quickly, with Cockroach Labs.

Also confirm which license terms apply to any version you patch to.

Do we need an outside partner for an Oracle to CockroachDB move?

No, an outside partner is optional. Your team may cover planning, build, testing and operations on its own, but a partner helps when those skills are missing. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. CockroachDB is not open source under its current license, so confirm in writing whether a CockroachDB deployment falls inside any engagement before you assume it does. Most engagements are fixed-scope: scope, deliverables and timelines are agreed in writing before work starts. DeployOpen can prepare systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those.

How DeployOpen helps evaluate and run the database you choose

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted platforms inside your own infrastructure. For Oracle Database vs CockroachDB, the work starts with a written scope that fixes which database, edition and deployment model are evaluated, built and tested. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer.

How we scope

  • Written scope that names the Oracle AI Database edition, deployment target and in-scope workloads before any work starts.
  • Feature inventory of the Oracle edition in use, checked against the SQL and high availability features your workloads need.
  • Scope records the licensing terms of both products, including CockroachDB's Enterprise Free eligibility and yearly renewal.

How we build

  • Deployment of the database in your cloud accounts, data centers or air-gapped network, so data stays under your control.
  • Access control, audit logging and backup settings configured, then tested against the written scope.
  • Security testing of the deployment, covering network paths, database accounts, privileges and the applications that connect.

How we hand over

  • Architecture, configuration and backup and restore runbooks written for your own operations team.
  • Evidence prepared for your compliance assessment; DeployOpen does not issue audit reports or certifications.
  • A retest of findings after fixes, so you can confirm the agreed scope is met before go-live.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for the database you run.
  • Upgrade planning for Oracle release changes and CockroachDB license or version changes, reviewed against the scope.
  • Backup and restore testing on a schedule agreed in the retainer, with findings tracked to closure.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.