ArangoDB VS H2

Compare ArangoDB vs H2 and see what are their differences.

ArangoDB

🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions. (by arangodb)

H2

H2 is an embeddable RDBMS written in Java. (by h2database)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ArangoDB H2
18 11
13,352 4,053
0.2% 0.6%
9.9 9.1
8 days ago 13 days ago
C++ Java
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ArangoDB

Posts with mentions or reviews of ArangoDB. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-01.
  • System Design: Databases and DBMS
    12 projects | dev.to | 1 May 2024
    ArangoDB
  • Ask HN: When is pure functional programming beneficial?
    2 projects | news.ycombinator.com | 11 Jul 2023
    ... or working in an environment or on a problem for which functional patterns apply.

    Suppose you are writing a "CRUD" app that writes to a relational database, how do you apply functional programming to that? The whole point of an application like that is that it makes side effects.

    In some cases you can break those problems down into functional pieces. Consider Python drivers for a product like

    https://www.arangodb.com/

    One major problem is that you want drivers that work synchronously and asynchronously, the structure of the average api call is something like

       def query(parameters):
  • Graph Databases vs Relational Databases: What and why?
    6 projects | dev.to | 29 Mar 2023
    First, you need to choose a specific graph database platform to work with, such as Neo4j, OrientDB, JanusGraph, Arangodb or Amazon Neptune. Once you have selected a platform, you can then start working with graph data using the platform's query language.
  • PRQL a simple, powerful, pipelined SQL replacement
    19 projects | news.ycombinator.com | 29 Dec 2022
    Some databases like ArangoDB (https://www.arangodb.com/) allow you to use Javascript instead of SQL.

    However, using a type-unsafe, turing-complete language introduces type unsafety and turing-complete problems to the query layer; the usual problems we know and love, such as infinite loops, runtime type errors, exceptions, and the like.

    Personally, I'm looking forward to a WASM runtime for databases -- so we can run webassembly on the database. This COULD be carefully designed to be statically checked and, possibly, make it really hard to write runaway loops.

  • What Is Going on with Neo4j?
    1 project | news.ycombinator.com | 8 Dec 2022
    When it comes to graphdb's, my favorite is still ArangoDB, definitely worth checking out if you are looking for alternatives.

    https://www.arangodb.com

  • Ask HN: Why are we so fragmented in databases options?
    2 projects | news.ycombinator.com | 26 Oct 2022
    Personally my favorite db for pet projects is

    https://www.arangodb.com/

    I think you hear very little about it because ADB users see it as a "secret weapon" to crush their competitors with. I've done large ontology work (MESH and other health ontologies) and IoT work (keep several years of sensor readings for sensors in my house) and workflow systems (select interesting HN articles or jobs I want to apply to) and it has never let me down. I haven't run a real instance serving customers in the cloud though.

    For the last few years every eng manager I have worked with has been a fan of

    https://www.postgresql.org/

    In the early 2000s I thought it overpromised and underdelivered and called it CrashGreSlow but after MySQL got bought by Oracle the pgsql team has worked hard to improve it I think it is great today. It supports all kinds of advanced features such as stored procs, full-text search, JSON equivalent fields, etc.

  • Have you ever used ArangoDb? Why? Why not?
    1 project | dev.to | 25 Aug 2022
    Hi! I recently came across ArangoDb and used in some POCs, but I really want to know if someone here already used it in a Real World environment or even if chose to not use in a production environment. So... have you ever used ArangoDb? Why? Why not?
  • System Design: The complete course
    31 projects | dev.to | 16 Aug 2022
    For mutual friends, we can build a social graph for every user. Each node in the graph will represent a user and a directional edge will represent followers and followees. After that, we can traverse the followers of a user to find and suggest a mutual friend. This would require a graph database such as Neo4j and ArangoDB.
  • Database of Databases
    6 projects | dev.to | 23 Jun 2022
    ArangoDB
  • Using graphQL+gRPC+Golang to Create a Bike Rental Microservices, with persistence on ArangoDB.
    4 projects | dev.to | 2 Jun 2022
    This a NOSQL database built for high availability and high scalability, a perfect fit for implementing persistence in microservices. ArangoDB is an open source native multi-model database that supports graph, document and key-value data models allowing users to freely combine all data models in a single query. Dive deeper into this database and its features here.

H2

Posts with mentions or reviews of H2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-18.
  • H2 Database – CVE getting flagged by automated scans
    2 projects | news.ycombinator.com | 18 Jul 2023
    The URL should point to a particular comment, but HN removes fragments: https://github.com/h2database/h2database/issues/3686#issueco...
  • “Our paying customers need X, when will you fix it?”
    5 projects | news.ycombinator.com | 15 Jul 2023
    This sounds very much like the idiocy of "infosec" lunkheads who know nothing about what they're "fixing" but if an automated system tells them a CVE exists, they've absolutely got to have it "patched". They don't look into what the claims of the CVE are, or whether their specific use case is vulnerable. They don't know, they don't care, they're not even programmers. All they know is a box needs ticking.

    A similar thing happened with h2database - a "security researcher" found that if you do something you're told not to do, then bad things happen.. but they demanded and got a CVE allocated anyway. Anyone who looks at it realises it's bullshit, but the mere existence of a CVE is all that matters to these idiots.

    What the h2database developer said about it: https://github.com/h2database/h2database/issues/3686#issueco...

    > I struggle to understand why I should feel the slightest shred of sympathy for "major corporations" that are using a volunteer-developed open-source project. Feel free to get your corporation to pay someone to deal with this, or pay for a similar commercial library.

  • SQLite Internals: How the Most Used Database Works
    4 projects | news.ycombinator.com | 19 Dec 2022
    > ...than it would be to learn the exact syntax and quirks and possibly bugs of someone else's implementation...

    Yup. Also, having deep knowledge of the language is required.

    SQLite's grammar is neat. Creating a compatible parser would make a fun project. Here's a pretty good example: https://github.com/bkiers/sqlite-parser (Actual ANTLR 4 grammar: https://github.com/bkiers/sqlite-parser/blob/master/src/main... )

    Postgres, which tries to be compliant with the latest standards, however...

    SQL-2016 is a beast. Not to mention all the dialects.

    I'm updating my personal (soon to be FOSS) grammar from ANTLR 3 LL(k) to ANTLR 4 ALL().

    I've long had a working knowledge of SQL-92, with some SQL-1999 (eg common table expressions).

    But the new structures and extensions are a bit overwhelming.

    Fortunately, ANTLR project has ~dozen FOSS grammars to learn from. https://github.com/antlr/grammars-v4/tree/master/sql

    They mostly mechanically translate BNFs to LL(k) with some ALL(). Meaning few take advantage of left-recursion. https://github.com/antlr/antlr4/blob/master/doc/left-recursi...

    Honestly, I struggled to understand these grammars. Plus, not being conversant with the SQL-2016 was a huge impediment. Just finding a succinct corbis of test cases was a huge hurdle for me.

    Fortunately, the H2 Database project is a great resource. https://github.com/h2database/h2database/tree/master/h2/src/...

    Now for the exciting conclusion...

    My ANTLR grammar which passes all of H2's tests looks nothing like any of the official or product specific BNFs.

    Further, I found discrepancy between the product specific BNFs and their implementations.

    So a lot of trial & error is required for a "real world" parser. Which would explain why the professional SQL parsing tools charge money.

    I still think creating a parser for SQLite is a great project.

  • Database of Databases
    6 projects | dev.to | 23 Jun 2022
    H2 - Free, Embedded & Open source
  • 🎀 Spring Boot 2.7.0 Released
    7 projects | dev.to | 21 Jun 2022
    H2 2.1
  • How is the market for Kotlin developers where you live?
    10 projects | /r/Kotlin | 2 Mar 2022
    H2 for mocking relational database connections
  • Ask HN: Who wants to be hired? (December 2021)
    7 projects | news.ycombinator.com | 1 Dec 2021
  • Best Database option for a Swing application
    1 project | /r/learnjava | 25 Oct 2021
    It's open-source and written in Java, so you can even create custom procedures and register them straight in your application!
  • Reliable WebSockets-based pub/sub with Spring Boot
    5 projects | dev.to | 9 Apr 2021
    Firstly, let's set up a basic Spring Boot application. We can use the Spring Initializr with Spring Data JPA, H2 Database, Lombok added. H2 Database will provide us with a simple database, and Spring Data JPA will allow us to easily interact with it using Hibernate. Lombok will make it easier to write concise and readable classes.
  • Why are tar.xz files 15x smaller when using Python's tar compared to macOS tar?
    2 projects | news.ycombinator.com | 14 Mar 2021
    Sorting chunks by similarity: commonly used tools don't do that. Most archive tools only sort by file type.

    I wrote a tool that chunks the data (into variable-sized blocks, to re-sync if there are multiple files that have different length prefixes, but that's another story), and then sorts the chunks by LSH (locality sensitive hash). LSH is used by search engines to detect similar text. It can compress directories that contain multiple version of e.g. source code very well (e.g. trunk, branches). https://github.com/h2database/h2database/blob/master/h2/src/...

    I discussed this approach with a researcher in this area in January 2020. AFAIK there is active research in this area, specially to compress DNA sequences. But he also wasn't aware of papers or research in this area for general-purpose data compression.

    So, I think this area is largely uncharted. I would be interested (as a hobby side project) to help, if somebody is interested.

What are some alternatives?

When comparing ArangoDB and H2 you can also consider the following projects:

MongoDB - The MongoDB Database

MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.

Neo4j - Graphs for Everyone

HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.

indradb - A graph database written in rust

MariaDB4j - MariaDB Embedded in Java JAR

skytable - Skytable is a modern scalable NoSQL database with BlueQL, designed for performance, scalability and flexibility. Skytable gives you spaces, models, data types, complex collections and more to build powerful experiences

Flyway - Flyway by Redgate • Database Migrations Made Easy.

Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

JetBrains Xodus - Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub.

RavenDB - ACID Document Database

Chronicle Map - Replicate your Key Value Store across your network, with consistency, persistance and performance.