DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Hive vs. MongoDB vs. Spark SQL vs. Trino

System Properties Comparison Hive vs. MongoDB vs. Spark SQL vs. Trino

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameHive  Xexclude from comparisonMongoDB  Xexclude from comparisonSpark SQL  Xexclude from comparisonTrino  Xexclude from comparison
Descriptiondata warehouse software for querying and managing large distributed datasets, built on HadoopOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureSpark SQL is a component on top of 'Spark Core' for structured data processingFast distributed SQL query engine for big data analytics. Forked from Presto and originally named PrestoSQL
Primary database modelRelational DBMSDocument storeRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document store
Key-value store
Spatial DBMS
Search engine
Time Series DBMS
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score59.76
Rank#18  Overall
#12  Relational DBMS
Score421.08
Rank#5  Overall
#1  Document stores
Score18.04
Rank#33  Overall
#20  Relational DBMS
Score4.99
Rank#65  Overall
#36  Relational DBMS
Websitehive.apache.orgwww.mongodb.comspark.apache.org/­sqltrino.io
Technical documentationcwiki.apache.org/­confluence/­display/­Hive/­Homewww.mongodb.com/­docs/­manualspark.apache.org/­docs/­latest/­sql-programming-guide.htmltrino.io/­broadcast
trino.io/­docs/­current
Social network pagesLinkedInTwitterYouTubeGitHub
DeveloperApache Software Foundation infoinitially developed by FacebookMongoDB, IncApache Software FoundationTrino Software Foundation
Initial release2012200920142012 info2020 rebranded from PrestoSQL
Current release3.1.3, April 20226.0.7, June 20233.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2Open Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoApache 2.0Open Source infoApache Version 2.0
Cloud-based only infoOnly available as a cloud servicenono infoMongoDB available as DBaaS (MongoDB Atlas)nono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
Starburst Galaxy offers a feature-rich user interface to connect all your data sources, manage your Trino clusters, and query your data.
Implementation languageJavaC++ScalaJava
Server operating systemsAll OS with a Java VMLinux
OS X
Solaris
Windows
Linux
OS X
Windows
Linux
macOS infofor devlopment
Data schemeyesschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yesyes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nono
Secondary indexesyesyesnodepending on connected data-source
SQL infoSupport of SQLSQL-like DML and DDL statementsRead-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like DML and DDL statementsyes
APIs and other access methodsJDBC
ODBC
Thrift
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
JDBC
RESTful HTTP API
Trino CLI
Supported programming languagesC++
Java
PHP
Python
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
Java
Python
R
Scala
Go
Java
JavaScript (Node.js)
Python
R
Ruby
Server-side scripts infoStored proceduresyes infouser defined functions and integration of map-reduceJavaScriptnoyes, depending on connected data-source
Triggersnoyes infoin MongoDB Atlas onlynono
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.yes, utilizing Spark Coredepending on connected data-source
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factorMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
nonedepending on connected data-source
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infoquery execution via MapReduceyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
depending on connected data-source
Foreign keys infoReferential integritynono infotypically not used, however similar functionality with DBRef possiblenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoMulti-document ACID Transactions with snapshot isolationnodepending on connected data-source
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyesdepending on connected data-source
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlAccess rights for users, groups and rolesAccess rights for users and rolesnoSQL standard access control
More information provided by the system vendor
HiveMongoDBSpark SQLTrino
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Trino is the fastest open source, massively parallel processing SQL query engine...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
High performance analtyics and data processing of very large data sets Powerful ANSI...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Performant analytics query engine for data warehouses, data lakes, and data lakehouses...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Trino is widely adopted across the globe as freely-available open source software....
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
33000+ commits in GitHub 8200+ stargazers in GitHub 1200+ pull requests merged in...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
Trino is an open source project and usage is therefore free. Commercial offerings...
» more
News

One busy week to go before Trino Fest 2024
6 June 2024

60: Trino calling AI
22 May 2024

Big names round out the Trino Fest 2024 lineup
8 May 2024

59: Querying Trino with Java and jOOQ
24 April 2024

A sneak peek of Trino Fest 2024
15 April 2024

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesStudio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
HiveMongoDBSpark SQLTrino
DB-Engines blog posts

Why is Hadoop not listed in the DB-Engines Ranking?
13 May 2013, Paul Andlinger

show all

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Design a data mesh pattern for Amazon EMR-based data lakes using AWS Lake Formation with Hive metastore ...
10 June 2024, AWS Blog

Apache Software Foundation Announces Apache Hive 4.0
30 April 2024, Datanami

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

ASF Unveils the Next Evolution of Big Data Processing With the Launch of Hive 4.0
2 May 2024, Datanami

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

provided by Google News

MongoDB Joins Digital Twin Consortium, Bringing AI and Real-Time Data Expertise
12 June 2024, Datanami

Real-time analytics and gen AI for data integration and fraud detection
11 June 2024, SiliconANGLE News

MongoDB Stock Sinks 20% As Company Lowers Sales Guidance
31 May 2024, Investor's Business Daily

MongoDB Options Trading: A Deep Dive into Market Sentiment - MongoDB (NASDAQ:MDB)
11 June 2024, Benzinga

Why MongoDB Stock Plunged Today
31 May 2024, The Motley Fool

provided by Google News

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Performance Insights from Sigma Rule Detections in Spark Streaming
1 June 2024, Towards Data Science

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Simba Technologies(R) Introduces New, Powerful JDBC Driver With SQL Connector for Apache Spark(TM)
17 March 2024, Yahoo Singapore News

provided by Google News

The Perfect AI Storage: Trino From Facebook And Iceberg From Netflix?
30 April 2024, The Next Platform

Starburst Brings Dataframes Into Trino Platform
7 September 2023, Datanami

Query big data with resilience using Trino in Amazon EMR with Amazon EC2 Spot Instances for less cost | Amazon ...
4 October 2023, AWS Blog

A look at Presto, Trino SQL query engines
9 August 2022, TechTarget

Trino: The Open-source Data Query Engine That Split from Facebook
30 March 2022, hackernoon.com

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here