DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Kingbase vs. PostgreSQL vs. Sphinx vs. SurrealDB

System Properties Comparison Kingbase vs. PostgreSQL vs. Sphinx vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameKingbase  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSphinx  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionAn enterprise-class RDBMS compatible with PostgreSQL and Oracle and widely used in China.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLOpen source search engine for searching in data from different sources, e.g. relational databasesA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Search engineDocument store
Graph DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.50
Rank#257  Overall
#119  Relational DBMS
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score5.95
Rank#55  Overall
#5  Search engines
Score1.02
Rank#190  Overall
#33  Document stores
#18  Graph DBMS
Websitewww.kingbase.com.cnwww.postgresql.orgsphinxsearch.comsurrealdb.com
Technical documentationwww.postgresql.org/­docssphinxsearch.com/­docssurrealdb.com/­docs
DeveloperBeiJing KINGBASE Information technologies inc.PostgreSQL Global Development Group infowww.postgresql.org/­developerSphinx Technologies Inc.SurrealDB Ltd
Initial release19991989 info1989: Postgres, 1996: PostgreSQL20012022
Current releaseV8.0, August 202116.3, May 20243.5.1, February 2023v1.5.0, May 2024
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen Source infoGPL version 2, commercial licence availableOpen Source
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.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
  • PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageC and JavaCC++Rust
Server operating systemsLinux
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
macOS
Windows
Data schemeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesnoyes
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.yesyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes infofull-text index on all search fields
SQL infoSupport of SQLStandard with numerous extensionsyes infostandard with numerous extensionsSQL-like query language (SphinxQL)SQL-like query language
APIs and other access methodsADO.NET
gokb
JDBC
kdbndp
ODBC
PDI
PDO
Pro*C
psycopg2
QT
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Proprietary protocolGraphQL
RESTful HTTP API
WebSocket
Supported programming languages.Net
C
C++
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresuser defined functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by range, list and hash) and vertical partitioningpartitioning by range, list and (since PostgreSQL 11) by hashSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesyesSource-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.no
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardnoyes, based on authentication and database rules

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
3rd partiespgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

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

More resources
KingbasePostgreSQLSphinxSurrealDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

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

show all

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

show all

Recent citations in the news

Made in China 2025 is back, with a new name and a focus on database companies – The China Project
19 December 2022, The China Project

Opening preparation - Alekhine defense, Saemisch variation
18 April 2016, Chess.com

Backup & Recovery Solutions from China
4 August 2022, Хабр

provided by Google News

PostgreSQL is Now Faster than Pinecone, 75% Cheaper, with New Open Source Extensions
11 June 2024, PR Newswire

Timescale unveils high-performance AI vector database extensions for PostgreSQL
11 June 2024, SiliconANGLE News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

provided by Google News

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

5 Powerful Alternatives to Elasticsearch
25 April 2024, Insider Monkey

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

Royal Mail stamp prices could rise, warns Czech Sphinx
3 June 2024, Proactive Investors UK

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

provided by Google News

SD Times Open-Source Project of the Week: SurrealDB
10 May 2024, SDTimes.com

Meet Tobie Morgan Hitchcock, CEO & Co-Founder Of SurrealDB
25 April 2024, TechRound

Cloud, privacy and AI: Trends defining the future of data and databases
27 September 2023, Sifted

SurrealDB raises $6M for its database-as-a-service offering
4 January 2023, TechCrunch

Introducing SurrealDB: A Quantum Leap in Database Technology
11 September 2023, TechRound

provided by Google News



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

Milvus logo

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

Present your product here