lab_code: demo_301
title_en: TiDB Cluster Sizing and Data Migration
title_zh: TiDB 集群容量预估和数据迁移
title_ja: TiDB クラスタのサイズ設定とデータ移行
title_ko: TiDB 클러스터 용량 추정 및 데이터 마이그레이션
description_en:
  This hands-on lab demonstrates how to estimate the size of a TiDB
  cluster and migrate data from MySQL to TiDB. Specifically, we will cover how to
  estimate the capacity of a TiDB cluster, create a TiDB cluster using TiUP, and migrate
  data from MySQL to TiDB using TiDB Data Migration. This lab is a practical workshop
  that allows you to learn how to size a TiDB cluster and migrate data from MySQL
  to TiDB in one go.
description_zh:
  本实验演示了如何估算 TiDB 集群的容量并将数据从 MySQL 迁移到 TiDB。具体来说，我们将介绍如何估算 TiDB 集群的容量、使用
  TiUP 创建 TiDB 集群以及使用 TiDB Data Migration 将数据从 MySQL 迁移到 TiDB。这是一个实践性的研讨会，让您一次性学习如何估算
  TiDB 集群的容量并将数据从 MySQL 迁移到 TiDB。
description_ja:
  このハンズオン演習では、TiDB クラスタの容量を見積もり、MySQL から TiDB へデータを移行する方法を示します。具体的には、TiDB
  クラスタの容量を見積もる方法、TiUP を使用して TiDB クラスタを作成する方法、および TiDB Data Migration を使用して MySQL から
  TiDB へデータを移行する方法について説明します。この演習は、TiDB クラスタの容量を見積もり、MySQL から TiDB へデータを移行する方法を一度に学ぶことができる実践的なワークショップです。
description_ko:
  이 실습에서는 TiDB 클러스터의 용량을 추정하고 MySQL에서 TiDB로 데이터를 마이그레이션하는 방법을 보여줍니다.
  특히, TiDB 클러스터의 용량을 추정하는 방법, TiUP을 사용하여 TiDB 클러스터를 생성하는 방법, 그리고 TiDB Data Migration을
  사용하여 MySQL에서 TiDB로 데이터를 마이그레이션하는 방법에 대해 설명합니다. 이 실습은 TiDB 클러스터의 용량을 추정하고 MySQL에서
  TiDB로 데이터를 마이그레이션하는 방법을 한 번에 배울 수 있는 실습적인 워크샵입니다.
splash_image_en: https://lab-static.pingcap.com/quick-demo/demo_501_en.png
splash_image_zh: https://lab-static.pingcap.com/quick-demo/demo_501_en.png
splash_image_ja: https://lab-static.pingcap.com/quick-demo/demo_501_en.png
splash_image_ko: https://lab-static.pingcap.com/quick-demo/demo_501_en.png
lab_level: Intermediate
category_en:
  - Foundational Capability
  - Data Migration
category_zh:
  - 基础能力
  - 数据迁移
category_ja:
  - 基礎能力
  - データ移行
category_ko:
  - 기초 능력
  - 데이터 마이그레이션
authors:
  - Yule Hu (CEG)
  - Todd Bao (CEG)
delivery_type: Instructor-Led
tidb_environments:
  - TiDB Self-Managed
tidb_versions:
  - 8.1.1
  - 8.5.1
target_audience:
  - Architect
  - DBA
  - DevOps
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 100
credit_redeemable: false
employee_only: true
estimated_duration_minutes: 90

requirements:
  - type: CloudStack

topology:
  - role: monitor
    node_count: 1
    ssh_user: ec2-user
    web_ssh: true
  - role: pd
    node_count: 1
  - role: kv
    node_count: 3
  - role: db
    node_count: 2
  - role: mysql
    node_count: 1

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-monitor.sh

features:
  enable_content_explain: false
