DB-EnginesExtremeDB Active Replication featuresEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache Druid vs. Google Cloud Spanner vs. LokiJS

System Properties Comparison Apache Druid vs. Google Cloud Spanner vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataA 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.In-memory JavaScript DBMS
Primary database modelRelational DBMS
Time Series DBMS
Relational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.67
Rank#97  Overall
#50  Relational DBMS
#6  Time Series DBMS
Score2.81
Rank#95  Overall
#49  Relational DBMS
Score0.58
Rank#219  Overall
#35  Document stores
Websitedruid.apache.orgcloud.google.com/­spannergithub.com/­techfort/­LokiJS
Technical documentationdruid.apache.org/­docs/­latest/­designcloud.google.com/­spanner/­docstechfort.github.io/­LokiJS
DeveloperApache Software Foundation and contributorsGoogle
Initial release201220172014
Current release0.21.0, April 2021
License infoCommercial or Open SourceOpen Source infoApache license v2commercialOpen Source
Cloud-based only infoOnly available as a cloud servicenoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJavaScript
Server operating systemsLinux
OS X
Unix
hostedserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeyes infoschema-less columns are supportedyesschema-free
Typing infopredefined data types such as float or dateyesyesno
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.nonono
Secondary indexesyesyesyes infovia views
SQL infoSupport of SQLSQL for queryingyes infoQuery statements complying to ANSI 2011no
APIs and other access methodsJDBC
RESTful HTTP/JSON API
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
JavaScript API
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
Go
Java
JavaScript (Node.js)
Python
JavaScript
Server-side scripts infoStored proceduresnonoView functions in JavaScript
Triggersnonoyes
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesMulti-source replication with 3 replicas for regional instances.none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflowyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID infoStrict serializable isolationno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)no

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
Apache DruidGoogle Cloud SpannerLokiJS
DB-Engines blog posts

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

Experts Present a Primer on Apache Hudi at Data Summit Connect 2021
12 May 2021, Database Trends and Applications

news digest: CodeLogic's app dependency mapping solution, TPG to acquire Boomi from Dell, and Obviously AI's seed funding - SD Times
3 May 2021, SDTimes.com

Apache Druid Adds Ranger Integration
24 August 2020, iProgrammer

The Apache Software Foundation Announces Apache® DataSketches™ as a Top-Level Project
3 February 2021, GlobeNewswire

Wondering 'who moved my customer'? Try Smartico – European Gaming Industry News
12 May 2021, European Gaming Industry News

provided by Google News

Google upgrades Cloud Spanner's encryption capabilities
22 April 2021, SiliconANGLE News

Google Cloud and Workspace get new batch of cybersecurity features
28 April 2021, SiliconANGLE News

Google launches a new Cloud region in Warsaw
15 April 2021, VanillaPlus

Google launches new Cloud region in Warsaw
14 April 2021, Information Age

Ready to be a GCP architect? Try this quiz and see - TechTarget
16 April 2021, TechTarget

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

Fast, Lightweight Data Storage for Cordova Apps with LokiJS
26 January 2016, SitePoint

LinkedIn open-sources URL-Detector Java library, LokiJS 1.4, and Bulgaria's new open-source law—SD Times news digest: July 5, 2016
5 July 2016, SDTimes.com

JavaScript: from alert() to Machine Learning
3 September 2015, Pulse

Build Cross-Platform Android and iOS UIs with Xamarin Forms
26 February 2016, SitePoint

provided by Google News

Job opportunities

Director of Security and Operations
Meteor Development Group, San Francisco, CA

Software Developer
Marlabs, United States

Backend Engineer (Remote)
FluxNinja, San Francisco, CA

Cloud Data Engineer
Twitter, Los Angeles, CA

Solutions Consultant
Cloudera, New York, NY

Software Engineer III, Google Play
Google, Atlanta, GA

Hiring:: GCM Cloud Architect in Marwah, New Jersey
Conquest Tech Solutions, Inc, Remote

Google Cloud Infrastructure Engineer
Matrix Precise, Inc., Los Altos, CA

Manufacturing Software Development Engineer
Google, Sunnyvale, CA

Technology Alliance Director, Google Cloud
Striim, Inc., Palo Alto, CA

jobs by Indeed




Share this page

Featured Products

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

AllegroGraph logo

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

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here