What is YugaByte DB?
YugaByte DB is a high-performance, cloud-native distributed SQL database. Here are the salient points about it:
- Has a pluggable query layer, and supports two distributed SQL APIs:
- YugaByte SQL (YSQL) - PostgreSQL-compatible fully relational API
- YugaByte Cloud QL (YCQL) - Semi-relational SQL-like API with documents/indexing support and Apache Cassandra QL roots
- Automated sharding, consensus replication and distributed transactions architecture based on the Google Spanner design
- Offers horizontal scalability, strong consistency, high availability
- Extremely resilient - can tolerate disk, node, zone and region failures automatically
- Supports geo-distributed deployments (multi-zone, multi-region, multi-cloud)
- Can be deployed in public clouds and natively inside Kubernetes
- Open source under the Apache 2.0 license
Read more about YugaByte DB in our Docs.
Get Started
- Install YugaByte DB
- Create a local cluster
- Connect and try out SQL commands
- Build an app using a PostgreSQL-compatible driver or ORM.
- Try a real-world app:
Cannot find what you are looking for? Have a question? Please post your questions or comments on our Community Slack or Forum.
Build Apps
YugaByte DB supports a number of languages and client drivers. Below is a brief list.
Language | ORM | YSQL Drivers | YCQL Drivers |
---|---|---|---|
Java | Spring/Hibernate | PostgreSQL JDBC | cassandra-driver-core-yb |
Go | Gorm | pq | gocql |
NodeJS | Sequelize | pg | cassandra-driver |
Python | SQLAlchemy | psycopg2 | yb-cassandra-driver |
Ruby | ActiveRecord | pg | yugabyte-ycql-driver |
C# | Not tested | Not tested | CassandraCSharpDriver |
C++ | Not tested | libpqxx | cassandra-cpp-driver |
C | Not tested | libpq | Not tested |
Architecture
Review detailed architecture in our Docs.
Need Help?
-
You can ask questions, find answers, help others on our Community Slack and Forum as well as Stack Overflow
-
Please use GitHub issues to report issues.
Contribute
As an open source project with a strong focus on the user community, we welcome contributions as GitHub pull requests. See our Contributor Guides to get going. Discussions and RFCs for features happen on the design discussions section of our Forum.
License
Source code in this repository is variously licensed under the Apache License 2.0 and the Polyform Free Trial License 1.0.0. A copy of each license can be found in the licenses directory.
The build produces two sets of binaries:
- The entire database with all its features are licensed under the Apache License 2.0
- The binaries that contain
-managed
in the artifact and help run a managed service are licensed under the Polyform Free Trial License 1.0.0.
By default, the build options generate only the Apache License 2.0 binaries.
Read More
- To see our updates, go to The Distributed SQL Blog.
- See how YugaByte DB compares with other databases.