YugabyteDB explained
|
YugabyteDB |
Author: | Kannan Muthukkaruppan, Karthik Ranganathan, Mikhail Bautin |
Developer: | Yugabyte, Inc. |
Latest Release Version: | 2.20 (Stable) 2.19 (Development) |
Latest Release Date: | |
Programming Language: | C++ |
Operating System: | Linux RedHat 7.x and derivatives, MacOS |
Platform: | Bare Metal, Virtual Machine, Docker, Kubernetes and various container management platforms |
Language: | English |
Genre: | RDBMS |
License: | Apache 2.0 |
Yugabyte, Inc. |
Type: | Private |
Industry: | Software |
Founder: | Kannan Muthukkaruppan, Karthik Ranganathan, Mikhail Bautin |
Hq Location: | Sunnyvale, California, USA |
Key People: | Kannan Muthukkaruppan (Co-Founder & President, Product Development) Karthik Ranganathan (Co-Founder & CTO) Mikhail Bautin (Co-Founder &<br>Software Architect) Bill Cook (CEO) |
Services: | Commercial database management systems |
YugabyteDB is a high-performance transactional distributed SQL database for cloud-native applications, developed by Yugabyte.[1]
History
Yugabyte was founded by ex-Facebook engineers Kannan Muthukkaruppan, Karthik Ranganathan, and Mikhail Bautin. At Facebook, they were part of the team that built and operated Cassandra and HBase[2] [3] for workloads such as Facebook Messenger and Facebook's Operational Data Store.[4]
The founders came together in February 2016 to build YugabyteDB.[5] [6]
YugabyteDB was initially available in two editions: community and enterprise. In July 2019, Yugabyte open-sourced previously commercial features and launched YugabyteDB as open-source under the Apache 2.0 license.[7]
Funding
In October 2021, five years after the company's inception, Yugabyte closed a $188 Million Series C funding round to become a Unicorn start-up with a valuation of $1.3Bn[8]
+ Funding Rounds |
Series | Date Announced | Amount | Investors |
---|
A | 10 Feb 2016 | $8M | Lightspeed Venture Partners, Jeff Rothschild[9] [10] |
A | 12 Jun 2018 | $16M | Lightspeed Venture Partners, Dell Technology Capital[11] [12] |
B | 09 Jun 2020 | $30M | Wipro Ventures, Lightspeed Venture Partners. Dell Technology Capital. 8VC [13] [14] |
B | 03 Mar 2021 | $48M | Wipro Ventures. Lightspeed Venture Partners. Greenspring Associates, Dell Technology Capital, 8VC[15] [16] |
C | 28 Oct 2021 | $188M | Wells Fargo Strategic Capital, Sapphire Ventures, Meritech Capital Partners, Lightspeed Venture Partners, Dell Technology Capital, 8VC[17] [18] [19] | |
Architecture
YugabyteDB is a distributed SQL database that aims to be strongly transactionally consistent across failure zones (i.e. ACID compliance].[20] [21] Jepsen testing, the de facto industry standard for verifying correctness, has never fully passed, mainly due to race conditions during schema changes.[22] In CAP Theorem terms YugabyteDB is a Consistent/Partition Tolerant (CP) database.[23] [24] [25]
YugabyteDB has two layers,[26] a storage engine known as DocDB and the Yugabyte Query Layer.[27]
DocDB
The storage engine consists of a customized RocksDB combined with sharding and load balancing algorithms for the data. In addition, the Raft consensus algorithm controls the replication of data between the nodes. There is also a Distributed transaction manager and Multiversion concurrency control (MVCC) to support distributed transactions.[28]
The engine also exploits a Hybrid Logical Clock[29] that combines coarsely-synchronized physical clocks with Lamport clocks to track causal relationships.[30]
The DocDB layer is not directly accessible by users.
YugabyteDB Query Layer
Yugabyte has a pluggable query layer that abstracts the query layer from the storage layer below.[31] There are currently two APIs that can access the database:
YSQL[32] is a PostgreSQL code-compatible API[33] [34] based around v11.2. YSQL is accessed via standard PostgreSQL drivers using native protocols.[35] It exploits the native PostgreSQL code for the query layer[36] and replaces the storage engine with calls to the pluggable query layer. This re-use means that Yugabyte supports many features, including:
- Triggers & Stored Procedures
- PostgreSQL extensions that operate in the query layer
- Native JSONB support
YCQL[37] is a Cassandra-like API based around v3.10 and re-written in C++. YCQL is accessed via standard Cassandra drivers[38] using the native protocol port of 9042. In addition to the 'vanilla' Cassandra components, YCQL is augmented with the following features:
- Transactional consistency - unlike Cassandra, Yugabyte YCQL is transactional.[39]
- JSON data types supported natively[40]
- Tables can have secondary indexes[41]
Currently, data written to either API is not accessible via the other API, however YSQL can access YCQL using the PostgreSQL foreign data wrapper feature.[42]
The security model for accessing the system is inherited from the API, so access controls for YSQL look like PostgreSQL,[43] and YCQL looks like Cassandra access controls.[44]
Cluster-to-cluster replication
In addition to its core functionality of distributing a single database, YugabyteDB has the ability to replicate between database instances.[45] [46] The replication can be one-way or bi-directional and is asynchronous.One-way replication is used either to create a read-only copy for workload off-loading or in a read-write mode to create an active-passive standby. Bi-directional replication is generally used in read-write configurations and is used for active-active configurations, geo-distributed applications, etc.
Migration tooling
Yugabyte also provides YugabyteDB Voyager, tooling to facilitate the migration of Oracle and other similar databases to YugabyteDB.[47] [48] This tool supports the migration of schemas, procedural code and data from the source platform to YugabyteDB.
See also
External links
Notes and References
- Web site: YugabyteDB System Properties . DB-Engines . 30 December 2021.
- Web site: Karthik Ranganathan . Dataversity . 30 December 2021.
- Book: Proceedings of the 2011 ACM SIGMOD International Conference on Management of data . Association For Computer Machinery . 2011 . 10.1145/1989323.1989438 . 15 January 2022. Borthakur . Dhruba . Rash . Samuel . Schmidt . Rodrigo . Aiyer . Amitanand . Gray . Jonathan . Sarma . Joydeep Sen . Muthukkaruppan . Kannan . Spiegelberg . Nicolas . Kuang . Hairong . Ranganathan . Karthik . Molkov . Dmytro . Menon . Aravind . Apache hadoop goes realtime at Facebook . 1071 . 9781450306614 . 207188340 .
- Web site: YugaByte Raises $8M in Series A Funding . 30 December 2021. FINSMES. 2 November 2017 .
- Web site: Yugabyte CTO outlines a PostgreSQL path to distributed cloud . VentureBeat . 26 July 2021 . 31 December 2021.
- Web site: Yugabyte expands its fully managed enterprise cloud service with $188M . 30 December 2021. VentureBeat. 28 October 2021 .
- Web site: Yugabyte Expands Multi-Region Database Capabilities and Enterprise-Grade Security with YugabyteDB 2.5 . businesswire.com . 12 November 2020 . 30 November 2024.
- Web site: Another cloud native SQL database unicorn: Yugabyte raises $188M Series C funding at $1.3B valuation . ZDNet . 12 January 2022.
- Web site: YugaByte Raises $8M in Series A Funding . Finsmes. 2 November 2017 .
- Web site: YugaByte Receives $8M Series A Round . VC News Daily . 12 January 2022.
- Web site: YugaByte raises $16 Million to combine SQL and NoSQL in a single database . Technologies.org . 12 January 2022.
- Web site: YugaByte's new database software rakes in $16 million so developers can move to any cloud . TechCrunch . 12 June 2018 . 12 January 2022.
- Web site: Another globally distributed cloud native SQL database on the rise: Yugabyte Raises $30 million in Series B Funding . ZDNet . 12 January 2022.
- Web site: Yugabyte raises $30M for its cloud-native distributed SQL database . SiliconAngle . 9 June 2020 . 12 January 2022.
- Web site: Yugabyte raises $48M for open source SQL database alternative . VentureBeat . 3 March 2021 . 12 January 2022.
- Web site: Yugabyte Raises $48 Million Funding Round to Accelerate Distributed SQL Enterprise Adoption and Fuel Global Expansion . YahoonFinance . 12 January 2022.
- Web site: Yugabyte's latest funding round values the distributed SQL system at $1.3bn . The Register . 12 January 2022.
- Web site: Another cloud native SQL database unicorn: Yugabyte raises $188M Series C funding at $1.3B valuation . ZDNet . 12 January 2022.
- Web site: High-performance database startup Yugabyte raises $188M in new funding round . Silicon Angle . 28 October 2021 . 12 January 2022.
- Web site: ACID Transactions . Devopedia . 18 August 2019 . 12 January 2022.
- Web site: ICT Solutions for local flexibility markets . Academia de Studii Economice din Bucuresti . Proceedings of the IE 2020 International Conference . 15 January 2022.
- Web site: YugaByte DB 1.3.1 . 30 December 2021. Jepsen.io.
- Web site: YugaByteDB: A Distributed Cloud Native Database for a Highly Scalable Data Store . Open Source Foru . 14 September 2020 . 15 January 2022.
- Web site: Yugabyte Design Goals . Yugabyte.com . 15 January 2022.
- A Generic and Extensible Core and Prototype of Consistent, Distributed, and Resilient LIS . 2020 . 10.3390/ijgi9070437 . free . Galić . Zdravko . Vuzem . Mario . ISPRS International Journal of Geo-Information . 9 . 7 . 437 . 2020IJGI....9..437G .
- Web site: Yugabyte Layered Architecture . Yugabyte . 15 January 2022.
- Web site: Hirsch . Orhan Henrik . Scalability of NewSQL Databases in a Cloud Environment . Norwegian University of Science and Technology . NYNU Open . 15 January 2022.
- Web site: Budholia . Akash . NewSQL Monitoring System . San Jose State University Scholar Works . 15 January 2022.
- Web site: Hybrid Clock . Martin Fowler . 30 December 2021.
- Web site: Distributed Transactions without Atomic Clocks . Yugabyte . 15 January 2022.
- Web site: Yugabyte DB 2.0 Ships Production-Ready Distributed SQL Database for Going Cloud Native . Integration Developer News . 15 January 2022.
- Web site: Yugabyte Structured Query Language (YSQL) . Yugabyte . 15 January 2022.
- Web site: Yugabyte Meets Developer Demand for Comprehensive PostgreSQL Compatibility with YugabyteDB 2.11 . BusinessWire . 23 November 2021 . 15 January 2022.
- Web site: PostgreSQL Compatibility in YugabyteDB 2.0 . Yugabyte. 17 September 2019 .
- Web site: Client Drivers for YSQL . Yugabyte.
- Web site: Why We Built YugabyteDB by Reusing the PostgreSQL Query Layer . Yugabyte . 24 April 2020 . 15 January 2022.
- Web site: Yugabyte Cloud Query Language (YCQL) . Yugabyte . 15 January 2022.
- Web site: Client drivers for YCQL . Yugabyte.
- Web site: ACID Transactions . Yugabyte.
- Web site: YCQL JSONB Data Type . Yugabyte . 15 January 2022.
- Web site: YCQL Secondary Indexes . Yugabyte . 15 January 2022.
- Web site: YugabyteDB: Postgres foreign data wrapper . Gruchalski . 8 November 2021 . 15 January 2022.
- Web site: YSQL Access Control . Yugabyte . 15 January 2022.
- Web site: YCWL access Controls . Yugabyte . 15 January 2022.
- Web site: Yugabyte Expands Multi-Region Database Capabilities and Enterprise-Grade Security with YugabyteDB 2.5 . Business Wire . 12 November 2020 . 15 January 2022.
- Web site: xCLuster Replication . Yugabyte . 15 January 2022.
- Web site: Yugabyte simplifies SQL database migration with YugabyteDB Voyager . siliconANGLE . 24 January 2023 . 15 March 2023.
- Web site: Yugabyte chomps into cloud migration . Techzine. 2 February 2023 . 15 March 2023.