Apache Cassandra vs. H2 Database Engine

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
Cassandra
Score 7.5 out of 10
N/A
Cassandra is a no-SQL database from Apache.N/A
H2 Database
Score 8.0 out of 10
N/A
H2 Database Engine is an open source, embeddable database management system (RDMS) written in Java.N/A
Pricing
Apache CassandraH2 Database Engine
Editions & Modules
No answers on this topic
No answers on this topic
Offerings
Pricing Offerings
CassandraH2 Database
Free Trial
NoNo
Free/Freemium Version
NoNo
Premium Consulting/Integration Services
NoNo
Entry-level Setup FeeNo setup feeNo setup fee
Additional Details
More Pricing Information
Community Pulse
Apache CassandraH2 Database Engine
Top Pros
Top Cons
Features
Apache CassandraH2 Database Engine
NoSQL Databases
Comparison of NoSQL Databases features of Product A and Product B
Apache Cassandra
8.0
5 Ratings
9% below category average
H2 Database Engine
-
Ratings
Performance8.55 Ratings00 Ratings
Availability8.85 Ratings00 Ratings
Concurrency7.65 Ratings00 Ratings
Security8.05 Ratings00 Ratings
Scalability9.55 Ratings00 Ratings
Data model flexibility6.75 Ratings00 Ratings
Deployment model flexibility7.05 Ratings00 Ratings
Best Alternatives
Apache CassandraH2 Database Engine
Small Businesses
IBM Cloudant
IBM Cloudant
Score 7.9 out of 10
InfluxDB
InfluxDB
Score 8.6 out of 10
Medium-sized Companies
IBM Cloudant
IBM Cloudant
Score 7.9 out of 10
SQLite
SQLite
Score 9.2 out of 10
Enterprises
IBM Cloudant
IBM Cloudant
Score 7.9 out of 10
SQLite
SQLite
Score 9.2 out of 10
All AlternativesView all alternativesView all alternatives
User Ratings
Apache CassandraH2 Database Engine
Likelihood to Recommend
6.0
(16 ratings)
8.0
(2 ratings)
Likelihood to Renew
8.6
(16 ratings)
-
(0 ratings)
Usability
7.0
(1 ratings)
-
(0 ratings)
Support Rating
7.0
(1 ratings)
-
(0 ratings)
Implementation Rating
7.0
(1 ratings)
-
(0 ratings)
User Testimonials
Apache CassandraH2 Database Engine
Likelihood to Recommend
Apache
Apache Cassandra is a NoSQL database and well suited where you need highly available, linearly scalable, tunable consistency and high performance across varying workloads. It has worked well for our use cases, and I shared my experiences to use it effectively at the last Cassandra summit! http://bit.ly/1Ok56TK It is a NoSQL database, finally you can tune it to be strongly consistent and successfully use it as such. However those are not usual patterns, as you negotiate on latency. It works well if you require that. If your use case needs strongly consistent environments with semantics of a relational database or if the use case needs a data warehouse, or if you need NoSQL with ACID transactions, Apache Cassandra may not be the optimum choice.
Read full review
Open Source
For running application tests it's well suited. H2 [Database Engine] can replace the real-world database solution for them easily and removes the requirement to set up a a separate database instance just for running unit tests. For using in actual production application one needs to consider scale. H2 is suitable if application runs in single instance and database is located in same machine as a file where that application runs. This means the application shouldn't have a large user base. However it's easy to switch to an actual MySQL instance if the need arises, it's most likely only a configuration change and doesn't require new code.
Read full review
Pros
Apache
  • Continuous availability: as a fully distributed database (no master nodes), we can update nodes with rolling restarts and accommodate minor outages without impacting our customer services.
  • Linear scalability: for every unit of compute that you add, you get an equivalent unit of capacity. The same application can scale from a single developer's laptop to a web-scale service with billions of rows in a table.
  • Amazing performance: if you design your data model correctly, bearing in mind the queries you need to answer, you can get answers in milliseconds.
  • Time-series data: Cassandra excels at recording, processing, and retrieving time-series data. It's a simple matter to version everything and simply record what happens, rather than going back and editing things. Then, you can compute things from the recorded history.
Read full review
Open Source
  • Can run as an in-memory database.
  • Simple and quick to get started with, and is light weight (only 2MB).
  • SQL compliant so it compatible with most relational databases.
Read full review
Cons
Apache
  • Cassandra runs on the JVM and therefor may require a lot of GC tuning for read/write intensive applications.
  • Requires manual periodic maintenance - for example it is recommended to run a cleanup on a regular basis.
  • There are a lot of knobs and buttons to configure the system. For many cases the default configuration will be sufficient, but if its not - you will need significant ramp up on the inner workings of Cassandra in order to effectively tune it.
Read full review
Open Source
  • There's a warning in official FAQ "Is it Reliable?"-section which makes it seem like H2 is not yet a mature product.
  • If raw SQL queries are used there maybe be differences between MySQL & H2. ORM library should be used.
  • Support seems to be community-based only.
Read full review
Likelihood to Renew
Apache
I would recommend Cassandra DB to those who know their use case very well, as well as know how they are going to store and retrieve data. If you need a guarantee in data storage and retrieval, and a DB that can be linearly grown by adding nodes across availability zones and regions, then this is the database you should choose.
Read full review
Open Source
No answers on this topic
Usability
Apache
It’s great tool but it can be complicated when it comes administration and maintenance.
Read full review
Open Source
No answers on this topic
Support Rating
Apache
Sometimes instead giving straight answer, we ‘re getting transfered to talk professional service.
Read full review
Open Source
No answers on this topic
Alternatives Considered
Apache
We evaluated MongoDB also, but don't like the single point failure possibility. The HBase coupled us too tightly to the Hadoop world while we prefer more technical flexibility. Also HBase is designed for "cold"/old historical data lake use cases and is not typically used for web and mobile applications due to its performance concern. Cassandra, by contrast, offers the availability and performance necessary for developing highly available applications. Furthermore, the Hadoop technology stack is typically deployed in a single location, while in the big international enterprise context, we demand the feasibility for deployment across countries and continents, hence finally we are favor of Cassandra
Read full review
Open Source
While both can run as an in-memory database, H2 Database Engine was just so much easier for us to use since we primarily use the Java stack and H2 Database Engine is also built with Java.
Read full review
Return on Investment
Apache
  • I have no experience with this but from the blogs and news what I believe is that in businesses where there is high demand for scalability, Cassandra is a good choice to go for.
  • Since it works on CQL, it is quite familiar with SQL in understanding therefore it does not prevent a new employee to start in learning and having the Cassandra experience at an industrial level.
Read full review
Open Source
  • Doesn't take time from developers, once it's configs are set up for testing it works in everyone's development environments
  • Easy to integrate in application, no need to setup separate database software, no maintenance
  • No need to deal with infrastructure related issues/costs - database runs in same machine as the application that uses it.
Read full review
ScreenShots