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 > Google Cloud Spanner vs. IBM Db2 vs. SQLite vs. TimesTen vs. ToroDB

System Properties Comparison Google Cloud Spanner vs. IBM Db2 vs. SQLite vs. TimesTen vs. ToroDB

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonSQLite  Xexclude from comparisonTimesTen  Xexclude from comparisonToroDB  Xexclude from comparison
ToroDB seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
DescriptionA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Common in IBM host environments, 2 different versions for host and Windows/LinuxWidely used embeddable, in-process RDBMSIn-Memory RDBMS compatible to OracleA MongoDB-compatible JSON document store, built on top of PostgreSQL
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMSRelational DBMSDocument store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score111.41
Rank#10  Overall
#7  Relational DBMS
Score1.36
Rank#161  Overall
#75  Relational DBMS
Websitecloud.google.com/­spannerwww.ibm.com/­products/­db2www.sqlite.orgwww.oracle.com/­database/­technologies/­related/­timesten.htmlgithub.com/­torodb/­server
Technical documentationcloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2www.sqlite.org/­docs.htmldocs.oracle.com/­database/­timesten-18.1
DeveloperGoogleIBMDwayne Richard HippOracle, TimesTen Performance Software, HP infooriginally founded in HP Labs it was acquired by Oracle in 20058Kdata
Initial release20171983 infohost version200019982016
Current release12.1, October 20163.46.0  (23 May 2024), May 202411 Release 2 (11.2.2.8.0)
License infoCommercial or Open Sourcecommercialcommercial infofree version is availableOpen Source infoPublic DomaincommercialOpen Source infoAGPL-V3
Cloud-based only infoOnly available as a cloud serviceyesnononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC and C++CJava
Server operating systemshostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
server-lessAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
All OS with a Java 7 VM
Data schemeyesyesyes infodynamic column typesyesschema-free
Typing infopredefined data types such as float or dateyesyesyes infonot rigid because of 'dynamic typing' concept.yesyes infostring, integer, double, boolean, date, object_id
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.nononono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesyes infoSQL-92 is not fully supportedyes
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
C
C++
Java
PL/SQL
Server-side scripts infoStored proceduresnoyesnoPL/SQL
Triggersnoyesyesnono
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoonly with Windows/Unix/Linux VersionnonenoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)noneMulti-source replication
Source-replica replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual Consistency depending on configurationEventual Consistency
Immediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes infovia file-system locksyesyes
Durability infoSupport for making data persistentyesyesyesyes infoby means of logfiles and checkpointsyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine grained access rights according to SQL-standardnofine grained access rights according to SQL-standardAccess rights for users and roles

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 partiesNavicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
Google Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2SQLiteTimesTenToroDB
DB-Engines blog posts

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Cloud just fired a major volley at AWS as the cloud wars heat up
12 October 2023, TechRadar

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

provided by Google News

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

12 Most Popular Databases in 2024
6 June 2024, MarkTechPost

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

provided by Google News

Microsoft Research chief scientist has no issue with Windows Recall
6 June 2024, The Register

How to Work with SQLite Database in Python
8 June 2024, Analytics Insight

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

A Guide to Working with SQLite Databases in Python
21 May 2024, KDnuggets

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

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.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Present your product here