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

DBMS > H2 vs. Solr vs. Sphinx vs. TerarkDB

System Properties Comparison H2 vs. Solr vs. Sphinx vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonSolr  Xexclude from comparisonSphinx  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.A widely used distributed, scalable search engine based on Apache LuceneOpen source search engine for searching in data from different sources, e.g. relational databasesA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSSearch engineSearch engineKey-value store
Secondary database modelsSpatial DBMSSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score42.91
Rank#24  Overall
#3  Search engines
Score5.98
Rank#56  Overall
#5  Search engines
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitewww.h2database.comsolr.apache.orgsphinxsearch.comgithub.com/­bytedance/­terarkdb
Technical documentationwww.h2database.com/­html/­main.htmlsolr.apache.org/­resources.htmlsphinxsearch.com/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperThomas MuellerApache Software FoundationSphinx Technologies Inc.ByteDance, originally Terark
Initial release2005200620012016
Current release2.2.220, July 20239.6.0, April 20243.5.1, February 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoApache Version 2Open Source infoGPL version 2, commercial licence availablecommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJavaC++C++
Server operating systemsAll OS with a Java VMAll OS with a Java VM inforuns as a servlet in servlet container (e.g. Tomcat, Jetty is included)FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeyesyes infoDynamic Fields enables on-the-fly addition of new fieldsyesschema-free
Typing infopredefined data types such as float or dateyesyes infosupports customizable data types and automatic typingnono
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.noyesno
Secondary indexesyesyes infoAll search fields are automatically indexedyes infofull-text index on all search fieldsno
SQL infoSupport of SQLyesSolr Parallel SQL InterfaceSQL-like query language (SphinxQL)no
APIs and other access methodsJDBC
ODBC
Java API
RESTful HTTP/JSON API
Proprietary protocolC++ API
Java API
Supported programming languagesJava.Net
Erlang
Java
JavaScript
any language that supports sockets and either XML or JSON
Perl
PHP
Python
Ruby
Scala
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
C++
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJava pluginsnono
Triggersyesyes infoUser configurable commands triggered on index changesnono
Partitioning methods infoMethods for storing different data on different nodesnoneShardingSharding infoPartitioning is done manually, search queries against distributed index is supportednone
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyesnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnospark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reducenono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDoptimistic lockingnono
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyesyesyes infoThe original contents of fields are not stored in the Sphinx index.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardyesnono

More information provided by the system vendor

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

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

More resources
H2SolrSphinxTerarkDB
DB-Engines blog posts

Elasticsearch replaced Solr as the most popular search engine
12 January 2016, Paul Andlinger

Enterprise Search Engines almost double their popularity in the last 12 months
2 July 2014, Paul Andlinger

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

SOLR hosts May Day amid ongoing contract negotiations
13 May 2024, Daily Northwestern

(SOLR) Technical Pivots with Risk Controls
28 April 2024, Stock Traders Daily

SOLR-led walkout demands better conditions for Compass workers
27 February 2024, Daily Northwestern

Best Practices from Rackspace for Modernizing a Legacy HBase/Solr Architecture Using AWS Services | Amazon Web ...
9 October 2023, AWS Blog

Top 5 stock gainers and losers: SOLR.V, GRSL.V, ANON.C
21 November 2023, Equity.Guru

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Googles Newest Challenger
11 January 2024, Free Press Journal

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

Beyond the Concert Hall: 5 Organizations Making a Difference in Classical Music in 2018 | WQXR Editorial
22 December 2018, WQXR Radio

provided by Google News

A Chinese company is making the cloud 200x faster · TechNode
3 July 2017, TechNode

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here