Need advice about which tool to choose?Ask the StackShare community!


+ 1

+ 1
Add tool

CockroachDB vs Oracle: What are the differences?

Key Differences between CockroachDB and Oracle

CockroachDB and Oracle are both popular database management systems, but they have several key differences:

1. Architecture: CockroachDB is built upon a distributed and horizontally scalable architecture, while Oracle follows a traditional client-server architecture. This means that CockroachDB can handle high volumes of data and traffic more efficiently by distributing the data across multiple nodes, whereas Oracle relies on a single server for data storage.

2. Scalability: CockroachDB is designed to scale out easily by adding more nodes to the cluster, allowing it to handle increasing workloads as the data grows. On the other hand, Oracle requires more complex scaling methods, such as adding more servers or partitioning the data, which can be time-consuming and challenging.

3. Consistency Model: CockroachDB uses a strict linearizable consistency model, which ensures that every read operation returns the most up-to-date value. Oracle, on the other hand, offers several consistency levels, including eventual consistency, offering flexibility but potentially sacrificing strict consistency.

4. ACID Compliance: CockroachDB guarantees full ACID compliance, ensuring the reliability and integrity of the data. Oracle also supports ACID properties, but the level of support may vary depending on the configuration and settings.

5. Deployment Options: CockroachDB supports both on-premises and cloud-based deployments, allowing flexibility in choosing the infrastructure. Oracle is traditionally deployed on-premises, although it also offers cloud solutions through Oracle Cloud.

6. Cost: CockroachDB is an open-source database, which means it is free to use for most use cases. Oracle, on the other hand, is a commercial database that requires licensing, making it more costly for organizations.

In summary, CockroachDB and Oracle differ in their architectural design, scalability options, consistency models, ACID compliance, deployment options, and cost.

Decisions about CockroachDB and Oracle
Daniel Moya
Data Engineer at Dimensigon · | 4 upvotes · 412.6K views

We have chosen Tibero over Oracle because we want to offer a PL/SQL-as-a-Service that the users can deploy in any Cloud without concerns from our website at some standard cost. With Oracle Database, developers would have to worry about what they implement and the related costs of each feature but the licensing model from Tibero is just 1 price and we have all features included, so we don't have to worry and developers using our SQLaaS neither. PostgreSQL would be open source. We have chosen Tibero over Oracle because we want to offer a PL/SQL that you can deploy in any Cloud without concerns. PostgreSQL would be the open source option but we need to offer an SQLaaS with encryption and more enterprise features in the background and best value option we have found, it was Tibero Database for PL/SQL-based applications.

See more

We wanted a JSON datastore that could save the state of our bioinformatics visualizations without destructive normalization. As a leading NoSQL data storage technology, MongoDB has been a perfect fit for our needs. Plus it's open source, and has an enterprise SLA scale-out path, with support of hosted solutions like Atlas. Mongo has been an absolute champ. So much so that SQL and Oracle have begun shipping JSON column types as a new feature for their databases. And when Fast Healthcare Interoperability Resources (FHIR) announced support for JSON, we basically had our FHIR datalake technology.

See more

In the field of bioinformatics, we regularly work with hierarchical and unstructured document data. Unstructured text data from PDFs, image data from radiographs, phylogenetic trees and cladograms, network graphs, streaming ECG data... none of it fits into a traditional SQL database particularly well. As such, we prefer to use document oriented databases.

MongoDB is probably the oldest component in our stack besides Javascript, having been in it for over 5 years. At the time, we were looking for a technology that could simply cache our data visualization state (stored in JSON) in a database as-is without any destructive normalization. MongoDB was the perfect tool; and has been exceeding expectations ever since.

Trivia fact: some of the earliest electronic medical records (EMRs) used a document oriented database called MUMPS as early as the 1960s, prior to the invention of SQL. MUMPS is still in use today in systems like Epic and VistA, and stores upwards of 40% of all medical records at hospitals. So, we saw MongoDB as something as a 21st century version of the MUMPS database.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CockroachDB
Pros of Oracle
    Be the first to leave a pro
    • 44
    • 33
    • 15
      High Availability
    • 5
    • 5
      Hard to maintain
    • 4
    • 4
      Hard to use
    • 3
      High complexity

    Sign up to add or upvote prosMake informed product decisions

    Cons of CockroachDB
    Cons of Oracle
      Be the first to leave a con
      • 14

      Sign up to add or upvote consMake informed product decisions

      What is CockroachDB?

      CockroachDB is distributed SQL database that can be deployed in serverless, dedicated, or on-prem. Elastic scale, multi-active availability for resilience, and low latency performance.

      What is Oracle?

      Oracle Database is an RDBMS. An RDBMS that implements object-oriented features such as user-defined types, inheritance, and polymorphism is called an object-relational database management system (ORDBMS). Oracle Database has extended the relational model to an object-relational model, making it possible to store complex business models in a relational database.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use CockroachDB?
      What companies use Oracle?
      See which teams inside your own company are using CockroachDB or Oracle.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with CockroachDB?
      What tools integrate with Oracle?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to CockroachDB and Oracle?
      The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
      Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.
      MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
      FoundationDB is a NoSQL database with a shared nothing architecture. Designed around a "core" ordered key-value database, additional features and data models are supplied in layers. The key-value database, as well as all layers, supports full, cross-key and cross-server ACID transactions.
      Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
      See all alternatives