Skip to content

Conversation

@xuanyu66
Copy link

@xuanyu66 xuanyu66 commented Sep 30, 2025

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot bot added first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. missing-translation-status This PR does not have translation status info. labels Sep 30, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @xuanyu66, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces two new essential documentation pages for TiDB Cloud, guiding users through the process of migrating MySQL-compatible databases to TiDB Cloud Essential. The documentation covers detailed steps for both full data migration (existing and incremental) and incremental-only migration, including critical prerequisites like binary log configuration, network setup, and privilege management, aiming to simplify and streamline the migration experience for various cloud and self-managed MySQL environments.

Highlights

  • New Migration Guide (Full & Incremental): A new document migrate-from-mysql-using-data-migration-essential.md has been added, providing a comprehensive guide for migrating MySQL-compatible databases (including Amazon Aurora MySQL, Amazon RDS, Azure Database for MySQL, Google Cloud SQL for MySQL, and self-managed MySQL) to TiDB Cloud Essential. This guide covers both existing data and continuous incremental replication.
  • New Migration Guide (Incremental Only): A companion document migrate-incremental-data-from-mysql-using-data-migration-essential.md has been added, specifically detailing the process for migrating only incremental data from MySQL-compatible sources to TiDB Cloud Essential.
  • Detailed Prerequisites: Both guides include extensive prerequisites, such as supported data sources and versions, binary log configuration for replication (log_bin, binlog_format, binlog_row_image, binlog_expire_logs_seconds), network connectivity setup (public endpoints, private links, TLS/SSL), and necessary user privileges for both source and target databases.
  • Step-by-Step Migration Process: The documents outline a clear 7-step process for setting up and executing a data migration job, from navigating the TiDB Cloud console to configuring connections, choosing migration types, selecting objects, prechecks, spec selection, and monitoring progress.
  • Specific Limitations and Troubleshooting: Each guide details specific limitations related to availability, maximum job count, filtered databases, and nuances of existing vs. incremental data migration, along with references to troubleshooting resources for precheck and migration errors.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Sep 30, 2025
@xuanyu66 xuanyu66 added area/tidb-cloud This PR relates to the area of TiDB Cloud. for-cloud-release This PR is related to TiDB Cloud release. labels Sep 30, 2025
@xuanyu66 xuanyu66 changed the title Add essential migration Add essential migration doc Sep 30, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces two new documentation files for migrating data to TiDB Cloud Essential clusters. My review focuses on improving clarity, consistency, and adherence to the documentation style guide. The feedback includes correcting links to ensure they point to the appropriate 'Essential' cluster documentation, standardizing terminology for supported data sources and connectivity methods across both documents, fixing minor formatting issues such as non-breaking spaces and hyphens, and enhancing the clarity of several instructions to improve the user experience.

xuanyu66 and others added 2 commits September 30, 2025 10:47
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@xuanyu66 xuanyu66 force-pushed the essential-migration branch from e84c9bc to a8035ba Compare January 12, 2026 06:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for migrating data from MySQL-compatible databases to TiDB Cloud Essential using the Data Migration feature. The documentation covers both full migration (existing + incremental data) and incremental-only migration scenarios.

Changes:

  • Added a comprehensive guide for migrating both existing and incremental data from MySQL-compatible databases to TiDB Cloud Essential
  • Added a focused guide for migrating only incremental data from MySQL-compatible databases to TiDB Cloud Essential
  • Updated the TOC to include the two new migration documents

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

File Description
tidb-cloud/migrate-from-mysql-using-data-migration-essential.md Main migration guide covering prerequisites, configuration, and step-by-step instructions for migrating existing and incremental data
tidb-cloud/migrate-incremental-data-from-mysql-using-data-migration-essential.md Focused guide for incremental-only data migration with specific limitations and prerequisites
TOC-tidb-cloud-essential.md Added entries for both new migration documents in the table of contents

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xuanyu66 xuanyu66 added the translation/no-need No need to translate this PR. label Jan 12, 2026
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label Jan 12, 2026
@hfxsd hfxsd self-assigned this Jan 12, 2026
@hfxsd hfxsd requested a review from zhangyangyu January 12, 2026 10:42
@hfxsd hfxsd changed the title Add essential migration doc cloud: add migration docs for TiDB Cloud Essential Jan 13, 2026
@hfxsd hfxsd requested a review from alastori January 13, 2026 12:15
@hfxsd hfxsd removed the for-cloud-release This PR is related to TiDB Cloud release. label Jan 13, 2026
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jan 13, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from hfxsd. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

#### Private link or private endpoint
If you use a provider-native private link or private endpoint, create a [Private Link Connection](/tidb-cloud/serverless-private-link-connection.md) for your source MySQL instance.
Copy link
Collaborator

@hfxsd hfxsd Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xuanyu66 xuanyu66 force-pushed the essential-migration branch 3 times, most recently from f38b730 to 7181f44 Compare January 14, 2026 07:17
@xuanyu66 xuanyu66 force-pushed the essential-migration branch from 7181f44 to 7c413b4 Compare January 14, 2026 07:31
xuanyu66 and others added 2 commits January 16, 2026 11:54
…ation-essential.md

Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tidb-cloud This PR relates to the area of TiDB Cloud. first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants