DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > AlaSQL vs. CockroachDB vs. Dgraph vs. SQL.JS

System Properties Comparison AlaSQL vs. CockroachDB vs. Dgraph vs. SQL.JS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAlaSQL  Xexclude from comparisonCockroachDB  Xexclude from comparisonDgraph  Xexclude from comparisonSQL.JS  Xexclude from comparison
DescriptionJavaScript DBMS libraryCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Distributed and scalable native Graph DBMSPort of SQLite to JavaScript
Primary database modelDocument store
Relational DBMS
Relational DBMSGraph DBMSRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.51
Rank#256  Overall
#40  Document stores
#118  Relational DBMS
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score1.53
Rank#152  Overall
#15  Graph DBMS
Score0.63
Rank#241  Overall
#112  Relational DBMS
Websitealasql.orgwww.cockroachlabs.comdgraph.iosql.js.org
Technical documentationgithub.com/­AlaSQL/­alasqlwww.cockroachlabs.com/­docsdgraph.io/­docssql.js.org/­documentation/­index.html
DeveloperAndrey Gershun & Mathias R. WulffCockroach LabsDgraph Labs, Inc.Alon Zakai infoenhancements implemented by others
Initial release2014201520162012
Current release24.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoMIT-LicenseOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open 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.
Implementation languageJavaScriptGoGoJavaScript
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)Linux
macOS
Windows
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freedynamic schemaschema-freeyes
Typing infopredefined data types such as float or datenoyesyesyes
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 indexesnoyesyes
SQL infoSupport of SQLClose to SQL99, but no user access control, stored procedures and host language bindings.yes, wire compatible with PostgreSQLnoyes infoSQL-92 is not fully supported
APIs and other access methodsJavaScript APIJDBCGraphQL query language
gRPC (using protocol buffers) API
HTTP API
JavaScript API
Supported programming languagesJavaScriptC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
JavaScript
Server-side scripts infoStored proceduresnononono
Triggersyesnonono
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTyesnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTSynchronous replication via Raftnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integrityyesyesnoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infoonly for local storage and DOM-storageACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyes infoby using IndexedDB, SQL.JS or proprietary FileStorageyesyesno infoexcept by serializing a db to a file
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes
User concepts infoAccess controlnoRole-based access controlno infoPlanned for future releasesno

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
AlaSQLCockroachDBDgraphSQL.JS
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

Create a Marvel Database with SQL and Javascript, the easy way
2 July 2019, Towards Data Science

Multi faceted data exploration in the browser using Leaflet and amCharts
3 May 2020, Towards Data Science

provided by Google News

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

provided by Google News

Dgraph on AWS: Setting up a horizontally scalable graph database
1 September 2020, AWS Blog

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

Dgraph raises $3M for its open-source distributed graph database, hits 1.0 release
19 December 2017, TechCrunch

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

In Praise Of SQLite
28 July 2022, iProgrammer

10 Low-Code Rules for Serious Coders
21 November 2022, Embedded Computing Design

provided by Google News



Share this page

Featured Products

Milvus logo

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

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

Present your product here