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

Clickhouse

439
543
+ 1
85
Oracle

2.4K
1.8K
+ 1
113
Add tool

Clickhouse vs Oracle: What are the differences?

Introduction

This Markdown code provides the key differences between ClickHouse and Oracle and formats them for use in a website.

  1. Data Storage: ClickHouse is a columnar database that uses highly compressed storage formats to store data, resulting in efficient storage and faster query performance. On the other hand, Oracle is a row-based database that stores data in a row-by-row fashion, which may result in slower query performance compared to ClickHouse when dealing with massive amounts of data.

  2. Scalability: ClickHouse is designed for high-performance analytics and can easily scale horizontally by adding more servers to the cluster. It can handle billions to trillions of rows of data and can efficiently distribute query execution across the cluster. In contrast, Oracle is traditionally designed for vertical scalability, where additional hardware resources such as memory and CPU are added to a single server to handle increased workload. Horizontal scaling in Oracle requires additional licensing and setup complexities.

  3. Query Language: ClickHouse uses its own query language called ClickHouse SQL, which is similar to SQL but has some differences in syntax and functionality, especially when it comes to advanced analytical queries. Oracle, on the other hand, uses a more traditional implementation of SQL, which is widely used and supported in the industry.

  4. Cost: ClickHouse is an open-source project that is free to use, and there are no licensing costs associated with it. However, the cost of running ClickHouse in production may vary depending on factors like infrastructure, maintenance, and support. On the other hand, Oracle is a commercial database that requires a paid license, and the cost can be significant, especially for enterprise-level deployments.

  5. Availability and Durability: ClickHouse provides replication and fault-tolerance mechanisms to ensure high availability and durability of data. It supports replication across multiple nodes, ensuring data redundancy and fault tolerance. Oracle also provides various mechanisms for achieving high availability and durability, including Oracle Data Guard and Oracle Real Application Clusters (RAC).

  6. Data Processing Capabilities: ClickHouse is specifically designed for analytical workloads and excels at processing large volumes of data quickly. It supports advanced analytics and OLAP (Online Analytical Processing) queries efficiently. Oracle, being a full-fledged relational database, offers a wide range of data processing capabilities, including transaction processing, analytics, and online transaction processing (OLTP), making it suitable for a diverse range of workloads.

In summary, ClickHouse is a columnar database designed for high-performance analytics, providing efficient storage and query processing capabilities, while Oracle is a full-fledged relational database offering a broader range of data processing functionality but at a higher cost.

Decisions about Clickhouse and Oracle
Daniel Moya
Data Engineer at Dimensigon · | 4 upvotes · 492.3K 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
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Clickhouse
Pros of Oracle
  • 21
    Fast, very very fast
  • 11
    Good compression ratio
  • 7
    Horizontally scalable
  • 6
    Utilizes all CPU resources
  • 5
    RESTful
  • 5
    Open-source
  • 5
    Great CLI
  • 4
    Great number of SQL functions
  • 4
    Buggy
  • 3
    Server crashes its normal :(
  • 3
    Highly available
  • 3
    Flexible connection options
  • 3
    Has no transactions
  • 2
    ODBC
  • 2
    Flexible compression options
  • 1
    In IDEA data import via HTTP interface not working
  • 44
    Reliable
  • 33
    Enterprise
  • 15
    High Availability
  • 5
    Hard to maintain
  • 5
    Expensive
  • 4
    Maintainable
  • 4
    Hard to use
  • 3
    High complexity

Sign up to add or upvote prosMake informed product decisions

Cons of Clickhouse
Cons of Oracle
  • 5
    Slow insert operations
  • 14
    Expensive

Sign up to add or upvote consMake informed product decisions

What is Clickhouse?

It allows analysis of data that is updated in real time. It offers instant results in most cases: the data is processed faster than it takes to create a query.

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 Clickhouse?
What companies use Oracle?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Clickhouse?
What tools integrate with Oracle?

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

What are some alternatives to Clickhouse and Oracle?
Cassandra
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.
Elasticsearch
Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
MySQL
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.
InfluxDB
InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.
Druid
Druid is a distributed, column-oriented, real-time analytics data store that is commonly used to power exploratory dashboards in multi-tenant environments. Druid excels as a data warehousing solution for fast aggregate queries on petabyte sized data sets. Druid supports a variety of flexible filters, exact calculations, approximate algorithms, and other useful calculations.
See all alternatives