Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional fixes for 2.0 #2352

Merged
merged 1 commit into from
Sep 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/latest/comparisons/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ menu:

## Distributed SQL databases

Feature | [CockroachDB](cockroachdb/) | TiDB | Amazon Aurora | [MS Azure CosmosDB](azure-cosmos/) | [Google Cloud Spanner](google-spanner/) | Yugabyte DB
Feature | [CockroachDB](cockroachdb/) | TiDB | [Amazon Aurora](https://blog.yugabyte.com/comparing-distributed-sql-performance-yugabyte-db-vs-amazon-aurora-postgresql-vs-cockroachdb/) | [MS Azure CosmosDB](azure-cosmos/) | [Google Cloud Spanner](google-spanner/) | Yugabyte DB
--------|-----------------|------------|----------------|----------------|-------------|-----------
Horizontal write scalability (with auto sharding/rebalancing) | <i class="fas fa-check"></i> | <i class="fas fa-check"></i> | <i class="fas fa-times"></i> | <i class="fas fa-check">| <i class="fas fa-check"></i> | <i class="fas fa-check"></i>
Automated failover &amp; repair | <i class="fas fa-check"></i> | <i class="fas fa-check"></i> | <i class="fas fa-check"></i> | <i class="fas fa-check"> | <i class="fas fa-check"></i> | <i class="fas fa-check"></i>
Expand Down Expand Up @@ -43,7 +43,7 @@ Strongly-consistent secondary indexes | <i class="fas fa-times"></i> |<i class=
Multiple read consistency levels | <i class="fas fa-check"></i> | <i class="fas fa-check"></i> |<i class="fas fa-check"></i>| <i class="fas fa-check"></i> | <i class="fas fa-check"></i> | <i class="fas fa-check"></i>
Low, predictable p99 latencies | <i class="fas fa-times"></i> | <i class="fas fa-times"></i> |<i class="fas fa-times"></i>|<i class="fas fa-check"></i> | <i class="fas fa-check"></i> | <i class="fas fa-check"></i>
High data density| <i class="fas fa-times"></i> | <i class="fas fa-times"></i> |<i class="fas fa-times"></i>| <i class="fas fa-times"></i> | <i class="fas fa-times"></i> | <i class="fas fa-check"></i>
API | MongoDB QL | Proprietary KV, MongoDB QL | Cassandra QL | Proprietary KV, Document | Cassandra QL, MongoDB QL | YCQL w/ Cassandra QL roots
API | MongoDB QL | Proprietary KV, MongoDB QL | Cassandra QL | Proprietary KV, Document | Cassandra QL, MongoDB QL | Yugabyte Cloud QL w/ native document modeling
Open Source | <i class="fas fa-times"></i> | Apache 2.0 | Apache 2.0 | <i class="fas fa-times"></i> | <i class="fas fa-times"></i> | Apache 2.0

{{< note title="Note" >}}
Expand Down
2 changes: 1 addition & 1 deletion docs/content/latest/deploy/cdc/2dc-replication.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 2DC replication
linkTitle: Replicate between 2 data centers
description: Replicating between two data centers
description: Replicating between 2 data centers
beta: /faq/product/#what-is-the-definition-of-the-beta-feature-tag
menu:
latest:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/latest/deploy/cdc/two-data-centers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 2DC deployments
linkTitle: 2DC deployments
description: 2-data center deployment with change data capture
description: 2-data center deployments
beta: /faq/product/#what-is-the-definition-of-the-beta-feature-tag
menu:
latest:
Expand Down
22 changes: 11 additions & 11 deletions docs/content/latest/deploy/kubernetes/rook-operator.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
---
title: Rook Yugabyte DB operator
title: Rook operator
linkTitle: Rook operator
description: Rook Yugabyte DB operator
description: Rook operator
menu:
latest:
identifier: rook-operator
parent: deploy-kubernetes
weight: 624
isTocNested: true
showAsideToc: true
---

[Rook](https://rook.io) is an open source, cloud-native storage orchestrator for Kubernetes, providing the platform, framework, and support that can turn Yugabyte DB clusters into self-managing, self-scaling, and self-healing storage services. Rook automates storage-layer tasks, including deployment, bootstrapping, configuration, provisioning, scaling, upgrading, migration, disaster recovery, monitoring, and resource management.

The [Rook Yugabyte DB operator](https://rook.io/docs/rook/v1.1/yugabytedb.html) is a custom controller that uses Custom Resource Definition (CRD) to extend the Kubernetes API and automate deploying, scaling, and managing Yugabyte DB clusters. Based on the _desired state_ that you specified in the CRD, the Rook operator observes (watching for changes in state and health), analyzes (comparing current to desired state), and acts (applying changes to the cluster) to maintain the desired state. For details, see [Yugabyte DB Cluster CRD](https://rook.io/docs/rook/v1.1/yugabytedb-cluster-crd.html)
The [Rook operator](https://rook.io/docs/rook/v1.1/yugabytedb.html) is a custom controller that uses Custom Resource Definition (CRD) to extend the Kubernetes API and automate deploying, scaling, and managing Yugabyte DB clusters. Based on the _desired state_ that you specified in the CRD, the Rook operator observes (watching for changes in state and health), analyzes (comparing current to desired state), and acts (applying changes to the cluster) to maintain the desired state. For details, see [Yugabyte DB Cluster CRD](https://rook.io/docs/rook/v1.1/yugabytedb-cluster-crd.html)

## Before you begin

Expand Down Expand Up @@ -62,9 +64,9 @@ cluster/examples/kubernetes/yugabytedb

Make a copy of the sample CRD file (`cluster.yaml`) and modify it as needed. For details on the configuration options, see [Yugabyte DB CRD](https://rook.io/docs/rook/v1.1/yugabytedb-cluster-crd.html).

## Create a simple YugabyteDB cluster
## Create a simple Yugabyte DB cluster

1. Create your YugabyteDB cluster by running the following command:
1. Create your Yugabyte DB cluster by running the following command:

```bash
kubectl create -f cluster.yaml
Expand Down Expand Up @@ -92,8 +94,8 @@ kubectl exec -it yb-tserver-rook-yugabytedb-0 /home/yugabyte/bin/ysqlsh -- -h yb

For details on the YSQL API, see:

- [Explore Yugabyte SQL (YSQL)](https://docs.yugabyte.com/latest/quick-start/explore-ysql/#kubernetes) in the Quick Start section
- [Yugabyte Structured Query Language (YSQL)](https://docs.yugabyte.com/latest/api/ysql/)
- [Explore YSQL](../../../quick-start/explore-ysql/#kubernetes)
- [YSQL Reference](../../../api/ysql/)

## Cleanup

Expand All @@ -106,7 +108,7 @@ kubectl delete -f cluster.yaml
kubectl delete -f operator.yaml
```

Manually delete any Persistent Volumes that were created for this YugabyteDB cluster.
Manually delete any Persistent Volumes that were created for this Yugabyte DB cluster.

## Troubleshooting

Expand All @@ -116,15 +118,13 @@ If the cluster does not start, run following command to take a look at operator

```bash
kubectl -n rook-yugabytedb-system logs -l app=rook-yugabytedb-operator

```

### Review the Yugabyte DB logs

If everything is OK in the operator logs, check the YugabyteDB logs for YB-Master and YB-TServer.
If everything is OK in the operator logs, check the Yugabyte DB logs for YB-Master and YB-TServer.

```bash
kubectl -n rook-yugabytedb logs -l app=yb-master-rook-yugabytedb
kubectl -n rook-yugabytedb logs -l app=yb-tserver-rook-yugabytedb

```
13 changes: 8 additions & 5 deletions docs/content/latest/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,24 @@ showAsideToc: true
</div>
-->

Yugabyte DB is a high-performance distributed SQL database for powering global, internet-scale applications. Built using a unique combination of high-performance document store, , per-shard distributed consensus replication and multi-shard ACID transactions (inspired by Google Spanner), Yugabyte DB serves both scale-out RDBMS and internet-scale OLTP workloads with low query latency, extreme resilience against failures and global data distribution. As a cloud native database, it can be deployed across public and private clouds as well as in Kubernetes environments with ease.
Yugabyte DB is a high-performance distributed SQL database for powering global, internet-scale applications. Built using a unique combination of high-performance document store, per-shard distributed consensus replication and multi-shard ACID transactions (inspired by Google Spanner), Yugabyte DB serves both scale-out RDBMS and internet-scale OLTP workloads with low query latency, extreme resilience against failures and global data distribution. As a cloud native database, it can be deployed across public and private clouds as well as in Kubernetes environments with ease.

Yugabyte DB is developed and distributed as an [Apache 2.0 open source project](https://github.com/yugabyte/yugabyte-db/).

## What makes Yugabyte DB unique?

Yugabyte DB is a transactional database that brings together three must-have needs of cloud native microservices, namely SQL as a flexible query language, low-latency read performance and globally-distributed write scalability. Monolithic SQL databases offer SQL and low-latency reads but do not have ability to scale writes across multiple nodes and/or regions. Distributed NoSQL databases offer performance and write scalablility but give up on SQL semantics such as multi-key access, ACID transactions and strong consistency.
Yugabyte DB is a transactional database that brings together three must-have needs of cloud-native microservices, namely SQL as a flexible query language, low-latency read performance and globally-distributed write scalability.

- Monolithic SQL databases offer SQL and low-latency reads but do not have ability to scale writes across multiple nodes and/or regions.
- Distributed NoSQL databases offer performance and write scalablility but give up on SQL semantics such as multi-key access, ACID transactions and strong consistency.

Yugabyte DB feature highlights are listed below.

### 1. SQL and ACID transactions

- SQL [JOINs](../quick-start/explore-ysql/#3-joins) and [distributed transactions](../quick-start/explore-ysql/#4-distributed-transactions) that allow multi-row access across any number of shards at any scale.

- Transactional [document store](../architecture/concepts/docdb/) backed by self-healing, strongly consistent [replication](../architecture/concepts/docdb/replication/).
- Transactional [document store](../architecture/concepts/docdb/) backed by self-healing, strongly-consistent, synchronous [replication](../architecture/concepts/docdb/replication/).

### 2. High performance and massive scalability

Expand All @@ -48,7 +51,7 @@ Yugabyte DB feature highlights are listed below.

### 3. Global data consistency

- [Global data distribution](../explore/global-distribution/) that brings consistent data close to users through multi-region and multi-cloud deployments.
- [Global data distribution](../explore/global-distribution/) that brings consistent data close to users through multi-region and multi-cloud deployments. Optional two-region multi-master and master-slave configurations powered by CDC-driven asynchronous replication.

- [Auto-sharding & auto-rebalancing](../explore/auto-sharding/) to ensure uniform load across all nodes even for very large clusters.

Expand All @@ -64,7 +67,7 @@ Yugabyte DB feature highlights are listed below.

### 6. Built-in enterprise features

- Starting [v1.3](https://blog.yugabyte.com/announcing-yugabyte-db-v1-3-with-enterprise-features-as-open-source/), only open source distributed SQL database to have built-in enterprise features such as Distributed Backups, Data Encryption, and Read Replicas. Upcoming features such as Change Data Capture and 2 Data Center Deployments are also included in open source.
- Starting [v1.3](https://blog.yugabyte.com/announcing-yugabyte-db-v1-3-with-enterprise-features-as-open-source/), Yugabyte DB is the only open-source distributed SQL database to have built-in enterprise features such as Distributed Backups, Data Encryption, and Read Replicas. Upcoming features such as [Change Data Capture](../deploy/cdc/cdc-architecture/) and [2 Data Center Deployments](../deploy/cdc/two-data-centers/) are also included in open source.

## What client APIs are supported by Yugabyte DB?

Expand Down
4 changes: 2 additions & 2 deletions docs/content/latest/quick-start/binary/explore-ysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $ ./bin/ysqlsh --echo-queries
```

```
ysqlsh (11.2)
ysqlsh (11.2-YB-2.0.0.0-b0)
Type "help" for help.

postgres=#
yugabyte=#
```
4 changes: 2 additions & 2 deletions docs/content/latest/quick-start/docker/explore-ysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ $ docker exec -it yb-tserver-n1 /home/yugabyte/bin/ysqlsh -h yb-tserver-n1 --ec
```

```
ysqlsh (11.2)
ysqlsh (11.2-YB-2.0.0.0-b0)
Type "help" for help.

postgres=#
yugabyte=#
```
8 changes: 2 additions & 6 deletions docs/content/latest/quick-start/explore-ysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,11 @@ orders.sql products.sql reviews.sql users.sql
- Create a database.

```sql
postgres=> CREATE DATABASE yb_demo;
yugabyte=> CREATE DATABASE yb_demo;
```

```sql
postgres=> GRANT ALL ON DATABASE yb_demo to postgres;
```

```sql
postgres=> \c yb_demo;
yugabyte=> \c yb_demo;
```

- Insert sample data
Expand Down
4 changes: 2 additions & 2 deletions docs/content/latest/quick-start/kubernetes/explore-ysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ $ kubectl exec -it yb-tserver-0 /home/yugabyte/bin/ysqlsh -- -h yb-tserver-0 --
```

```
ysqlsh (11.2)
ysqlsh (11.2-YB-2.0.0.0-b0)
Type "help" for help.

postgres=#
yugabyte=#
```
6 changes: 5 additions & 1 deletion docs/content/latest/releases/v2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Released September 17, 2019.
docker pull yugabytedb/yugabyte:2.0.0.0-b16
```

## Release Highlight

[YSQL](../../api/ysql) is now generally available and is ready for production deployments. Details available in [Announcing Yugabyte DB 2.0 GA: Jepsen Tested, High-Performance Distributed SQL](https://blog.yugabyte.com/announcing-yugabyte-db-2-0-ga:-jepsen-tested,-high-performance-distributed-sql/ ).

## File Format Change

{{< note title="Note" >}}
Expand Down Expand Up @@ -121,7 +125,7 @@ There are two ways to address the above note.
[#2269](https://github.com/yugabyte/yugabyte-db/issues/2269)
* Load balancer should not be considered idle when tablet remote bootstrap.
[#2193](https://github.com/yugabyte/yugabyte-db/issues/2193)
* [YSQ]: Fix number of tablets created for system tables.
* [YSQL]: Fix number of tablets created for system tables.
[#2293](https://github.com/yugabyte/yugabyte-db/issues/2293)
* Reduce fan-out and use tablet invoker for writing data.
* SerializableReadWriteConflict needs better success probability.
2 changes: 1 addition & 1 deletion docs/content/v1.0/_index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Yugabyte DB Docs
description: Yugabyte DB Docs
headcontent: v1.2 — recommend upgrading to latest (v1.3)
headcontent: v1.0 — recommend upgrading to latest (v2.0)
type: list
image: /images/ybsymbol_original.png
weight: 1
Expand Down
2 changes: 1 addition & 1 deletion docs/content/v1.1/_index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Yugabyte DB Docs
description: Yugabyte DB Docs
headcontent: v1.2 — recommend upgrading to latest (v1.3)
headcontent: v1.1 — recommend upgrading to latest (v2.0)
type: list
image: /images/ybsymbol_original.png
weight: 1
Expand Down
2 changes: 1 addition & 1 deletion docs/content/v1.2/_index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Yugabyte DB Docs
description: Yugabyte DB Docs
headcontent: v1.2 — recommend upgrading to latest (v1.3)
headcontent: v1.2 — recommend upgrading to latest (v2.0)
type: list
image: /images/ybsymbol_original.png
weight: 1
Expand Down
2 changes: 1 addition & 1 deletion docs/content/v1.3/_index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Yugabyte DB documentation
description: Yugabyte DB documentation
headcontent: v1.3, the latest stable version
headcontent: v1.3 — recommend upgrading to latest (v2.0)
type: list
image: /images/ybsymbol_original.png
weight: 1
Expand Down