Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
docs: upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
planetscale-actions-bot committed Sep 20, 2023
1 parent b2a50c6 commit ca333bf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/concepts/data-branching.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Before you can use the feature, you have to enable it in your database settings
3. Scroll to the option with the text "**Enable Data Branching®**"
4. Enable this option and click "**Save database settings**".

{% vimeo src="https://player.vimeo.com/video/830595378" caption="Demonstration of how to enable the Data Branching® feature" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830595378" caption="Demonstration of how to enable the Data Branching® feature" /%}

## Create a development branch with data & schema from the Base branch

Expand All @@ -37,7 +37,7 @@ Before you can use the feature, you have to enable it in your database settings

3. Once you've selected an option, click "**Create branch**" to create a new branch.

{% vimeo src="https://player.vimeo.com/video/830572488" caption="Demonstration of how to create a PlanetScale branch with data" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830572488" caption="Demonstration of how to create a PlanetScale branch with data" /%}

### FAQ

Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/deploy-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ date: '2023-08-18'

Deploy requests are an integral part of the [PlanetScale workflow](/docs/concepts/planetscale-workflow). Database branching, coupled with deploy requests, allows you to **deploy non-blocking schema changes to your production database with zero downtime**. You can also [undo deployments](#revert-a-schema-change) without losing any data that was written during that time.

{% vimeo src="https://player.vimeo.com/video/830571933" caption="Demonstration of how to make schema changes with deploy requests" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830571933" caption="Demonstration of how to make schema changes with deploy requests" /%}

## Create a deploy request

Expand Down Expand Up @@ -65,7 +65,7 @@ If you ever merge a deploy request, only to realize you need to undo it, PlanetS

You can revert a deployment for **up to 30 minutes** after the deploying. After the 30 minute period is up, the deployment becomes permanent, and you will no longer have the option to revert.

{% vimeo src="https://player.vimeo.com/video/830571822" caption="Demonstration of how to revert a schema change" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830571822" caption="Demonstration of how to revert a schema change" /%}

1. Select the deploy request you want to revert.
2. To revert the schema changes made with the deploy request, click "**Revert changes**" and confirm.
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/query-insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To view Insights for your database, head to the [PlanetScale dashboard](https://

Below is an overview of what you'll find on this page. If you'd like to see a practical example of how to use Insights to debug a performance issue, check out our [Announcing Insights blog post](/blog/introducing-planetscale-insights-advanced-query-monitoring).

{% vimeo src="https://player.vimeo.com/video/830571854" caption="This video shows an example Insights page. All explanations are covered in this doc." /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830571854" caption="This video shows an example Insights page. All explanations are covered in this doc." /%}

{% callout %}
On the free Hobby plan, query insights are limited to the previous 24 hours. To unlock the full seven days of
Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/what-is-planetscale.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Once you're ready to deploy schema changes from your development branch to produ

The final piece of the non-blocking schema change workflow is the ability to [revert a recently deployed schema change](/docs/concepts/deploy-requests#revert-a-schema-change) without losing any data that was written since deploying.

{% vimeo src="https://player.vimeo.com/video/830571822" caption="Demonstration of how to revert a schema change" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830571822" caption="Demonstration of how to revert a schema change" /%}

Despite all the safeguards we put in place, accidents can happen. If someone on your team deploys a schema change, only to realize afterward that it adversely affected the application, you can simply revert it in the PlanetScale dashboard with the click of a button. Perhaps the most impressive part is that when you revert, you won't lose any data that was written to your database during the time the updated schema was live. We keep track of it and apply it back to the original schema once you revert.

Expand All @@ -70,7 +70,7 @@ We generally recommend sharding when your database exceeds 250 GB of data. Shard

[PlanetScale Insights](/docs/concepts/query-insights) is our in-dashboard query performance analytics tool. What's unique about Insights is you can track performance down to the individual query level.

{% vimeo src="https://player.vimeo.com/video/830571854" caption="This video shows an example Insights page." /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830571854" caption="This video shows an example Insights page." /%}

At a glance, the interactive graph shows you query latency, queries per second, rows read, and rows written charted against time. You'll also see any deploy requests on the graph, so you can quickly see the impact of those changes.

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/connect-go-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ subtitle: Learn how to use Go with PlanetScale by exploring a demo Go API built
date: '2023-07-11'
---

{% vimeo src="https://player.vimeo.com/video/759188218" caption="Connect to PlanetScale with Go" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/759188218" caption="Connect to PlanetScale with Go" /%}

## Introduction

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/planetscale-quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you already have your PlanetScale database set up, you may find the [Connecti

This guide is split up so that you can either follow it in the [PlanetScale dashboard](#getting-started--planetscale-dashboard) or using the [PlanetScale CLI](#getting-started--planetscale-cli).

{% vimeo src="https://player.vimeo.com/video/830571983" caption="A video demo of everything covered in this guide" /%}
{% vimeo aspect="other" src="https://player.vimeo.com/video/830571983" caption="A video demo of everything covered in this guide" /%}

## Getting started — PlanetScale dashboard

Expand Down

0 comments on commit ca333bf

Please sign in to comment.